NullPointerException when adding an object into a Vector Class

So here is the code:
package Image;
import java.io.Serializable;
import java.util.Vector;
public class Album implements Serializable{
private String name;
private String password;
Vector<ImageClass> allImages;
public Album( String name, String password, Vector<ImageClass> allImages) {
this.name = name;
this.password = password;
this.allImages = allImages;
public Album() {
public Vector<ImageClass> getAllImages() {
return allImages;
public void setAllImages(Vector<ImageClass> allImages) {
this.allImages = allImages;
public String getName() {
return name;
public void setName(String name) {
this.name = name;
public String getPassword() {
return password;
public void setPassword(String password) {
this.password = password;
public void addIC(ImageClass ic){
allImages.add(ic);
public ImageClass getIC(int pos){
ImageClass ic = allImages.get(pos);
return ic;
Now I got an NullPointerException when I call the getIC Method from another class of another package
Here is the part of code of that class.
private void SaveMenuItemActionPerformed(java.awt.event.ActionEvent evt) {                                            
ImageClass ic = new ImageClass();
ic.setTitle(ImageTextField.getText());
ic.setDescription(DescriptionTextArea.getText());
try {
ic.setReferenceNumber(Integer.parseInt(ReferenceTextField.getText()));
} catch (NumberFormatException nfe) {
JOptionPane.showMessageDialog(null, "Reference Number is not in a correct format");
try {
ic.setDate(new SimpleDateFormat("dd/MM/yyyy").parse(DateTextField.getText(), new ParsePosition(0)));
} catch (IllegalArgumentException iae) {
JOptionPane.showMessageDialog(null, "Date is not in correct format");
ic.setImageData(imageData);
if(a==null){
JOptionPane.showMessageDialog(this,"Please, create or open an Album");
}else{
a.addIC(ic);
try{
ObjectOutputStream oos;
FileOutputStream fos = new FileOutputStream(album, true);
oos = new ObjectOutputStream(fos);
oos.writeObject(a);
oos.flush();
oos.close();
}catch(FileNotFoundException fnfe){
fnfe.printStackTrace();
}catch(IOException ioe){
ioe.printStackTrace();
}

h1. The Ubiquitous Newbie Tips
* DON'T SHOUT!!!
* Homework dumps will be flamed mercilessly. [Feelin' lucky, punk? Well, do ya'?|http://www.youtube.com/watch?v=1-0BVT4cqGY]
* Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
h5. Ask a good question
* Don't forget to actually ask a question. No, The subject line doesn't count.
* Don't even talk to me until you've:
    (a) [googled it|http://www.google.com.au/] and
    (b) had a squizzy at the [Java Cheat Sheet|http://mindprod.com/jgloss/jcheat.html] and
    (c) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
    (d) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
    (e) referred to the JLS for "advanced" questions.
* [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
    - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
      - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
    - Often you discover your own mistake whilst forming a "Good question".
    - Often you discover that you where trying to answer "[the wrong question|http://blog.aisleten.com/2008/11/20/youre-asking-the-wrong-question/]".
    - Many of the regulars on these forums will bend over backwards to help with a "Good question",
      especially to a nuggetty problem, because they're interested in the answer.
* Improve your chances of getting laid tonight by writing an SSCCE
    - For you normal people, That's a: Short Self-Contained Compilable (Correct) Example.
    - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
    - Often you discover your own mistake whilst writing an SSCCE.
    - Often you solve your own problem whilst preparing the SSCCE.
    - Solving your own problem yields a sense of accomplishment, which makes you smarter ;-)
h5. Formatting Matters
* Post your code between a pair of &#123;code} tags
    - That is: &#123;code} ... your code goes here ... &#123;code}
    - This makes your code easier to read by preserving whitespace and highlighting java syntax.
    - Copy&paste your source code directly from your editor. The forum editor basically sucks.
    - The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
      - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
      - Indentation is essential to following program code.
      - Long lines (say > 132 chars) should be wrapped.
* Post your error messages between a pair of &#123;code} tags:
    - That is: &#123;code} ... errors here ... &#123;code}
    - OR: &#91;pre]&#123;noformat} ... errors here ... &#123;noformat}&#91;/pre]
    - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
        System.out.println("Your momma!); // <<<< ERROR 1
    - Note that error messages are rendered basically useless if the code has been
      modified AT ALL since the error message was produced.
    - Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
* The forum editor has a "Preview" pane. Use it.
    - If you're new around here you'll probably find the "Rich Text" view is easier to use.
    - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
    - To see how a posted "special effect" is done, click reply then click the quote button.
If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
h1. The pledge!
We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.

Similar Messages

  • Problem when adding java objects in a vector and passing thru web service

    Hi! I'm getting this error when I try to add a java object I created into a vector and passing it through a web service: java.lang.IllegalArgumentException: No Serializer found to serialize a 'testObj' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'
    This does not happen when I simply add strings or Integer objects into the vector. What am I missing?
    Thanks.

    just chek this
    http://forum.java.sun.com/thread.jspa?threadID=501189&messageID=2370914
    Edited by: garava on Jul 16, 2008 1:13 PM.
    It would be great if you could paste the wsdl part for that vector and just have a look for the complex typr cntent
    like for HashMap we have the following mapping
    <complexType name="HashMap">
      <sequence>
        <element name="item" minOccurs="0" maxOccurs="unbounded">
          <complexType>
            <sequence>
              <element name="key" type="anyType" />
              <element name="value" type="anyType" />
            </sequence>
          </complexType>
        </element>
      </sequence>
    </complexType>Since in Value it should again contain a mapping for the Object which you are trying to pass then only an appropriate serializer and deserilaizer would get generated. Hope this answers your query. For refernece
    http://www.theserverside.com/tt/articles/article.tss?l=Systinet-web-services-part-2
    [http://www.theserverside.com/tt/articles/article.tss?l=Systinet-web-services-part-2|For refernce tutorial]
    Thanks,
    Avadhoot Sawant.
    Edited by: garava on Jul 16, 2008 1:16 PM

  • Putting a Class Object into a Vector

    HI all
    I need to put a class object into another classes vector, then be able to read it and retrieve data.
    I can put the object into the vector but all i seem to be able to retrieve is data like Account@2343c2.
    Is this some sort of tag? How do i get to the data?
    thankz
    joey

    That's what you get when you print an object which does not have its own toString() method to do anything different - it picks up the Object class's toString method instead. For example:
    System.out.println(new Object());It sounds like you're doing something like this:
    Vector v = new Vector();
    v.add(new Account(42));If you were to do the following, you would see that sort of output:
    System.out.println(v.get(0));The appropriate way to do this would be something like the following:
       // Use a List reference instead of a Vector reference, and create
       // an ArrayList object in preference to a Vector object
       List list = new ArrayList();
       list.add(new Account(42));
       // Iterate through the list of accounts - use an
       // iterator because this prevents off-by-one errors
       // that arise with direct indexing.
       Iterator i = list.iterator();
       while(i.hasNext()) {
          // Cast the reference returned by the iterator from
          // Object to Account so that we can call account-specific
          // methods.
          Account current = (Account)i.next();
          // Call the method specific to the Account class (getBalance
          // is just an example that I made up).
          System.out.println(current.getBalance());
       }

  • How can I store a File object into a Vector and get it back

    hi there
    I need to store a number of File object into a Vector first, and later on I need to get each File object out and work with it.
    Vector mylist;
    File[] myfile;
    ....get a list of files from using File Chooser
    mylist = new Vetor();
    for (i=0;i<myfile.length;i++){
    mylist.add(myfile);
    ..how do I get them back? i try to do this way
    for (i=0;i<mylist.size(); i++)
    File tempfile = mylist.get(i);
    ..work with tempfile. but I got java.lang.object error: imcompatible types. what can I do?

    Vector mylist;
    File[] myfile;
    ....get a list of files from using File Chooser
    mylist = new Vetor();
    for (i=0;i<myfile.length;i++){
    mylist.add(myfile);
    ok try this: i don't reall understand what your trying to do though...
    File[] files;
    // get files
    Vector fileList = new Vector();
    for (int i = 0; i < files.length; i++)
      fileList.add(files);
    // to get them out.
    for (int i = 0; i < fileList.size(); i++)
    ((File)fileList.elementAt(i)).toString();
    // or
    // to get them out.
    for (int i = 0; i < fileList.size(); i++)
    File temp = (File)fileList.elementAt(i);
    System.out.println(temp.toString);

  • NullPointerException when adding object in a Collection

    Hello,
    I have this code:
    ----code----
    Group group = new Group("test");
    Collection col = null;
    col.add(group);
    ----code----
    The last line produces a NullPointerException.
    But group is a valid object.
    I don't understand why.
    Could you help me?
    Thanks
    Sylvain

    As a side note,
    If you are fairly new to Java, then its worth reading about the Collections API as you'll find yourself using it a lot. Its also a create example of how powerful interfaces are.
    In your code, try and make the compile time object a Collection and always pass the Collection interface around. (i.e. make the return type and parameter type of your methods Collection). This should let you do all the stuff you need e.g. getting objects out, putting them in and getting an iterator.
    Only tie the Colection to a particular implementation at Runtime, e.g.
    Collection c = new ArrayList();
    is a lot better than
    ArrayList c = new ArrayList();
    That way, if you decide later that a HashSet() is better than an ArrayList() for your purpose, you only need to change one line of code. HashSet still implements Collection so all your methods will still work.
    Hurrah for maintainable code!
    As you can tell, I like interfaces

  • Error adding BW object into a transport request

    Hi all, I'm modifying an OHD and when I'm trying to save into a new request I got the following error: "Attention!. The selected object is already locked by another transport request". And it shows me which is the TR that has the object locked, however, when I go to SE10 in order to check if the object its locked there, it is not!. Any ideas on how to solve this problem?
    Mauro

    Did you try unlocking from SE03 - enter that request which system warned and execute and try collecting the Object again in new request
    SE03 - Search for Objects in Requests/Tasks - enter IOBJ - Obj tech name - select Modifiable option and execute .. you will see the request numbers .. where this object is locked

  • Java.lang.NullPointerException when added LOV to column

    Hi,
    I am getting java.lang.NullPointerException error when opening web adi spreadsheet (before it is even formatted) since I added LOV to one of the columns. I did following update:
    UPDATE bne_interface_cols_b
    SET val_id_col = 'LOOKUP_CODE',
    val_mean_col = 'MEANING',
    val_desc_col = 'DESCRIPTION',
    val_type = 'TABLE',
    lov_type = 'POPLIST',
    val_obj_name = 'FND_LOOKUPS',
    val_addl_w_c = 'LOOKUP_TYPE = ''SOURCE'''
    WHERE interface_col_name = 'X_RELEASE_LOOKUP_CODE'
    AND application_id = 200
    AND interface_code = 'GENERAL_101_INTF';
    BNE log is showing following:
    CRITICAL ERROR BneAbstractXMLServlet.doRequest(), fatal exception: java.lang.NullPointerException
    CRITICAL ERROR java.lang.NullPointerException
         at oracle.apps.bne.repository.BneInterfaceCol.buildTableValidationQuery(BneInterfaceCol.java:684)
         at oracle.apps.bne.repository.BneInterfaceCol.getTableLovQuery(BneInterfaceCol.java:582)
         at oracle.apps.bne.repository.BneInterface.getTableLovQuery(BneInterface.java:771)
         at oracle.apps.bne.repository.BneIntegrator.getTableLovQuery(BneIntegrator.java:927)
         at oracle.apps.bne.repository.BneRenderableLayout.loadPopListData(BneRenderableLayout.java:1509)
         at oracle.apps.bne.repository.BneRenderableLayout.loadLayoutColumnData(BneRenderableLayout.java:665)
         at oracle.apps.bne.repository.BneRenderableLayout.loadLayoutHierarchyData(BneRenderableLayout.java:480)
         at oracle.apps.bne.repository.BneRenderableLayout.<init>(BneRenderableLayout.java:116)
         at oracle.apps.bne.repository.BneLayout.getRenderableLayout(BneLayout.java:2047)
         at oracle.apps.bne.integrator.document.BneOAExcelViewer.validateParameters(BneOAExcelViewer.java:593)
         at oracle.apps.bne.integrator.document.BneOAExcelViewer.getViewerBean(BneOAExcelViewer.java:234)
         at oracle.apps.bne.integrator.document.BneAbstractViewer.toXML(BneAbstractViewer.java:468)
         at oracle.apps.bne.integrator.document.BneViewerXMLService.handleRequest(BneViewerXMLService.java:177)
         at oracle.apps.bne.framework.BneAbstractXMLServlet.doRequest(BneAbstractXMLServlet.java:613)
         at oracle.apps.bne.framework.BneAbstractXMLServlet.doPost(BneAbstractXMLServlet.java:172)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:637)
    Anybody knows what the problem is? Is there any other table that has to be updated? I am on 11.5.10.
    Regards
    Piotr

    Why dont you try doing this from application.
    Enable the integrator 'Web ADI - Interface Columns Integrator' using below query :
    UPDATE bne.bne_integrators_b
    set enabled_flag = 'Y'
    where integrator_code = 'INTERFACE_COLS';
    commit;Next create a WEB ADI Form Function and do form function association. Then attach this form function to WEB ADI Menu and this integrator will be visible.
    Then call your custom integrator paiing application_id, interface_code and then populate the values/properties of individual column

  • Issues when adding new objects

    A few questions regarding changes in Toplink from 2.5 to the current version.
    Say I had object A which contains a collection of Bs and a collection of Cs.
    Now when I want to save A and Bs and Cs to the database as an insert.
    Is the following code correct ?
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new Vector(cCollection));
    uow.commit();
    This seemed to work in 2.5. According to the API java docs this should work even today.
    The reason I am asking is all of these -A, B and C are new objects. Should they be registered with registerNewObject();
    Is it incorrect to register a new object with cloning ?

    I forgot to add a couple of lines of code to that snippet
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new Vector(cCollection));
    cloneA.setBCollection(bCollectionClone);
    cloneA.setCCollection(cCollectionClone());
    uow.commit();
    A few questions regarding changes in Toplink from 2.5
    to the current version.
    Say I had object A which contains a collection of Bs
    and a collection of Cs.
    Now when I want to save A and Bs and Cs to the
    database as an insert.
    Is the following code correct ?
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new
    Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new
    Vector(cCollection));
    uow.commit();
    This seemed to work in 2.5. According to the API java
    docs this should work even today.
    The reason I am asking is all of these -A, B and C
    are new objects. Should they be registered with
    registerNewObject();
    Is it incorrect to register a new object with cloning

  • Losing work and freezing up in Captivate 4 when adding any objects or recording slide

    I've been using C4 for two months without any big issues until now. I can't record any new screens to my current file without the whole program crashing. In addition, I can't paste in the objects that make the project interactive without crashing.
    I've tried deleting all my temp files (the error window referenced temp files)
    disconnecting from the network
    rebooting a dozen times
    closing and reopening the program a dozen times
    moving my files off my desktop (the path to the file is short and on my local drive--as the forums suggest) and onto the network, then back again
    Nothing has worked.
    The project is only 50 slides, so it is not excessively large.
    I just tried opening an older file from  a previous project and copying and pasting objects within that file. It worked fine.
    This tells me the issue is likely with the current project and the way we built it from a previous project file ( we used the previous project as a template for the new one). It must have something in it that is slowing it down and creating errors.
    I don't know what to do except to rebuild the whole lesson in a new file. This has put me 3 days behind on a milestone that does not have any wiggle room.
    I got three screens edited in 4 hours yesterday.
    Can anyone tell me what the fix would be for this? Is the best practice to not use old projects as templates? Is the only fix to copy and paste slides into a new project file?
    Thanks in advance for any advice you can give.

    One more thing I forgot to mention, the day before this issue arose, I turned off the function to make backup project file. I did turn it back on when I started losing work with all the crashes.

  • AddRecord error when adding binary object

    Hi all,
    I am getting  a2i.core.StringException: AddRecord error when trying to add binary object in the repository using Java API. The code used is as below:
       //Adding values in binary table
       byte[] fileBuf = file;
       A2iFields fields = new A2iFields();
       fields.Add(new A2iField("Data ID", new Value(file)));
       fields.Add(new A2iField("Name",new      
                                Value("FileName.extn"));
       fields.Add(new A2iField("Original Name",new
                                Value("FileName.extn"));
       fields.Add(new A2iField("Data Group ID",new Value(1)));
       fields.Add(new A2iField("Data Size", new
                                        Value(file.length)));
       fields.Add(new A2iField("Original Location ID", new
                                             Value(999)));     
       fields.Add(new A2iField("Description",new Value("a
                                     short description ")));
       boolean hasOriginal = false;
       fields.Add(new A2iField("Has Original", new
                                    Value(hasOriginal)));
       String binaryTable = "<Table Name>";
       int recID = catalog.AddRecord(imageTable, fields, -1,
                                          -1);
       //Adding values in Products table
       A2iFields a2iFields = new A2iFields();
       a2iFields.Add(new A2iField("<Field1 Name>", new
                                   Value("<Value1>")));
       a2iFields.Add(new A2iField("<Field2 Name>", new
                                   Value("<Value2>")));
       a2iFields.Add(new A2iField("<Field3 Name>", new
                                   Value("<Value3>")));
       a2iFields.Add(new A2iField("<Field4 Name>", new
                                   Value("<Value4>")));
       a2iFields.Add(new A2iField( "<Field name for binary 
                          object>", new Value(recID)));
        int id = catalog.AddRecord("Products", a2iFields, 0,
                                   0);
    Best Regards,
    Jaydeep

    Hi Jaydeep,
    Have you got any solution for this problem ?
    We are also facing the same issue. Let us know if you can throw some light on this.
    Regards
    Vinay.

  • XmlInvalidOnCommitException when dragging ADF object into structure

    Hi all
    In the last couple of days I have been getting the following exception when I try to drug something from the component pallete to the structure or to the design window of JDeveloper
    oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Required Parameter 'Configuration' id midding from 'BC4JDataControl' [ node = BC4JDataControl ]
    <dataControlUsages>
    <BC4JDataControl id="TruckIOService" Package="truckio.model" FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" SupportsTransactions="true" SupportsFindMode="true" SupportsRangesize="true" SupportsResetState="true" SupportsSortCollection="true" Configuration="TruckIOServiceLocal" syncMode="Immediate" />
    <BC4JDataControl id="TruckIOService1" Package="truckio.model" FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" SupportsTransactions="true" SupportsFindMode="true" SupportsRangesize="true" SupportsResetState="true" SupportsSortCollection="true" syncMode="Immediate" />
    </dataControlUsages>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3355)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3266)
         at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2686)
         at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1519)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1549)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2719)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:575)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:555)
         at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:413)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:203)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.runTaskUnderTransaction(JDevTransactionManager.java:61)
         at oracle.adf.dt.managers.ApplicationManager.findOrCreateDataControlInApplication(ApplicationManager.java:572)
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:419)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:956)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:977)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1024)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1102)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:987)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFOperationModelProvider.<init>(ADFOperationModelProvider.java:27)
         at oracle.adfdtinternal.view.faces.binding.provider.DefaultADFModelProviderFactory.createModelProvider(DefaultADFModelProviderFactory.java:333)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFBindingsProviderInfo.getData(ADFBindingsProviderInfo.java:40)
         at oracle.adfdtinternal.view.common.binding.datatransfer.BaseADFDataInfo.getData(BaseADFDataInfo.java:35)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferData(ADFBindingUtils.java:1087)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferModelProvider(ADFBindingUtils.java:1111)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:63)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:89)
         at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(PerformOperationAction.java:39)
         at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
         at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoker.java:235)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    and sometimes the UI object gets created while sometimes not.
    Can anybody give me any info about what is wrong.
    I am using JDev 10.1.3.0.4 on SuSE Linux 10.1 with jdk 1.5.0.07
    Thanks in advance
    Thanassis

    Turns out that tthis was due to a problem with the database listener, some intermittent problem maybe with the firewall. I noticed the TSN error further up inthe list of error messages. I was able to run the app with the detail in either facet and appear to have no problem dragging int he structure window.

  • Error when adding an Object to the server via CMS

    I am trying to upload a new report to the server via CMS.
    I click on Objects > Browse for the report > Click Submit
    After a few seconds, I get the following error:
    There was an error while writing data back to the server: File Repository Server error : File system operation for frs://Input.reportingdb/a_068/047/000/12100/172659d5862b3e2.rpt on File Repository Server failed. If the problem persists, please contact your system administrator for event log information.
    I can see that the Input.reportingdb server is running
    I have tried restarting the physical server that CRE XI R2 is running on.
    I have restarted the Tomcat as well as all of the report servers via ccm.sh and enabled all of the report servers via ccm.sh

    Yes, the installation directory is:
    /opt/crystal/bobje
    The directory where the repository is located:
    data
    Here are the permissions:
    drwxr-xr-x  14 oracle oinstall    4096 Mar 24 16:10 data
    Here are the permissions of the subdirectory:
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 Auditing
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 cacheserver
    drwxrwxrwx   11 oracle oinstall  4096 Mar 26 09:50 frsinput
    drwxrwxrwx   60 oracle oinstall  4096 Mar 24 16:11 frsinput_bak
    drwxrwxrwx  259 oracle oinstall 12288 Mar 24 09:54 frsoutput
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 pageserver
    drwxrwxrwx    6 oracle oinstall  4096 Mar 24 09:54 procSched
    drwxrwxrwx    2 oracle oinstall  4096 Mar 24 12:07 reportingdb.cacheserver
    drwxrwxrwx    3 oracle oinstall  4096 Mar 24 12:07 reportingdb.pageserver
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 reportserver
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 wcs
    I have tried multiple times to re-start and re-enable the File Repository and get the error.
    Is there a way to reinstall ONLY the File Repository server?

  • Post-processing pipeline causes error when placing "SceneGrid" object into 3D scene

    Hi,
    first want to thank you guys for the great work with proscenium and the awesome features.
    I was going through the examples and found a bug. I tried a combination of the examples "TestLines" and "TestPPEncodeDecodeHDR".
    The post processing pipeline somehow manipulates the render sates/vertex program in a way it crashes as soon as it should perform the drawTriangles call for a "SceneGrid" object.
    It does not seem to be related to my particular post processing setup - I tried TestPPBloom and TestPPEncodeDecodeHDR from the examples. The post processing pipeline seems to work fine with a 3DS model (Teapot) .
      //add grid
      scene.addChild(new SceneGrid());
      //setup post-processing
      if(true) {
    instance.createPostProcessingColorBuffer();
    instance.colorBuffer.targetSettings.useHDRMapping = true;
    instance.colorBuffer.targetSettings.kHDRMapping = 4;
    var colorToPrimary:RenderGraphNode = new RenderGraphNodePPElement(instance.colorBuffer, null, RenderGraphNodePPElement.HDR_DECODE, "Decode HDR" );
    colorToPrimary.addStaticPrerequisite(instance.colorBuffer.renderGraphNode);
    instance.renderGraphRoot.clearAllPrerequisite( );
    instance.renderGraphRoot.addStaticPrerequisite(colorToPrimary);
    This gives me the following error:
    Error: Error #3607: Stream 2 is set but not used by the current vertex program.
              at flash.display3D::Context3D/drawTriangles()
              at com.adobe.scenegraph::Instance3D/drawTriangles()[D:\Depots\Proscenium\branches\rel\code\P roscenium\src\com\adobe\scenegraph\Instance3D.as:537]
              at com.adobe.scenegraph::PB3DCompute/compute()[D:\Depots\Proscenium\branches\rel\code\Prosce nium\src\com\adobe\scenegraph\PB3DCompute.as:332]
              at com.adobe.scenegraph::RenderGraphNodePPElement/render()[D:\Depots\Proscenium\branches\rel \code\Proscenium\src\com\adobe\scenegraph\RenderGraphNodePPElement.as:272]
              at com.adobe.scenegraph::Instance3D/render()[D:\Depots\Proscenium\branches\rel\code\Prosceni um\src\com\adobe\scenegraph\Instance3D.as:304]
              at com.adobe.scenegraph::BasicScene/enterFrameEventHandler()[D:\Depots\Proscenium\branches\r el\code\Proscenium\src\com\adobe\scenegraph\BasicScene.as:273]
    Thanks,
    Philipp
    Full Source Code:
    package
              import com.adobe.scenegraph.*;
              import com.adobe.scenegraph.loaders.*;
              import com.adobe.scenegraph.loaders.collada.*;
              import com.adobe.scenegraph.loaders.obj.*;
              import flash.display.*;
              import flash.display3D.*;
              import flash.events.*;
              import flash.geom.*;
              import flash.utils.*;
              public class TestLinesWithPostProcessing extends BasicScene
      override protected function initModels():void
      //add grid
                                  scene.addChild(new SceneGrid());
      //add teapot
    //                              var f:Function = function(event:Event):void { (event.target as ModelLoader).model.addTo(scene); }
    //                              var loader:OBJLoader = new OBJLoader("res/content/teapot.obj");
    //                              loader.addEventListener(Event.COMPLETE, f, false, 0, true);
      //setup post-processing
                                  if(true) {
                                            instance.createPostProcessingColorBuffer();
                                            instance.colorBuffer.targetSettings.useHDRMapping = true;
                                            instance.colorBuffer.targetSettings.kHDRMapping = 4;
                                            var colorToPrimary:RenderGraphNode = new RenderGraphNodePPElement(instance.colorBuffer, null, RenderGraphNodePPElement.HDR_DECODE, "Decode HDR" );
                                            colorToPrimary.addStaticPrerequisite(instance.colorBuffer.renderGraphNode);
                                            instance.renderGraphRoot.clearAllPrerequisite( );
                                            instance.renderGraphRoot.addStaticPrerequisite(colorToPrimary);
      override protected function resetCamera():void
                                  scene.activeCamera.identity();
                                  scene.activeCamera.lookat(new Vector3D(0, 5, -15), new Vector3D(0, 0, 0), new Vector3D(0, 1, 0));

    Hi John,
    Pls check in SXI_CACHE to verify that the BPM(active in Integration Repository) has the latest version active on the ABAP stack.(I am saying this because you mentioned that a mapping step was missing..is it not..)
    go to SXI_CACHE --> Integration Processes(double click), in the list that you get verify that the return code is 0.
    Thanks & Regards,
    Renjith.

  • I created a vector and added objects, but the vector is empty

    I created an object called a facility, it accepts 2 strings in the creator but stores the data as a string and a float. as you can see from the code below, i have tried to create a vector object to contain facilitys and named it entries. when i add objects to this vector, the vectors size does not change, and i cannot access elements of it via their index. but when i print the vector out i can see the elements? what is going on here. i am very confused. ps, if it helps i havent worked with vectors much before.
    FacilitysTest.java
    import java.util.*;
    public class FacilitysTest {
         public static void main (String [] args) {
         Facilitys entries = new Facilitys();
         entries.add("Stage","3.56");
         entries.add("kitchen","5.00");
         entries.add("heating","2");
    //     System.out.println(entries.firstElement() );
         System.out.println("printing out entries");
         System.out.println(entries);
         System.out.println();
         System.out.println("There are "+entries.size()+" entries");
         System.out.println();
         System.out.println("modifying entry 2");
         entries.setElementAt(new Facility("lighting","1.34"), 2);
         System.out.println(entries);
         System.out.println();
         System.out.println("deleting entry 1");
         entries.remove(1);
         System.out.println(entries);
    }the following is what happens when i run this code.
    the number (0,1,2) is taken from a unique number assigned to the facility and is not anything to do with the facilitys position in the vector.
    printing out entries
    Facility number: 0, Name: Stage , Cost/Hour: 3.56
    Facility number: 1, Name: kitchen , Cost/Hour: 5.0
    Facility number: 2, Name: heating , Cost/Hour: 2.0
    There are 0 entries
    modifying entry 2
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 >= 0
    at java.util.Vector.setElementAt(Vector.java:489)
    at FacilitysTest.main(FacilitysTest.java:17)
    Press any key to continue . . .
    Facilitys.java
    import java.util.*;
    public class Facilitys extends Vector {
         private Vector entries;
         public Facilitys( ) {
                 entries = new Vector();
        public void add( String name, String price ) {
             entries.add((new Facility( name, price) ));
        public Facility get(int index) {
              return ((Facility)entries.get(index));
         public float total() {
              float total = 0;
              for (int i = 0; i<entries.size();i++) {
                   total = total + ( (Facility)entries.get(i) ).getPricePerHour();
              return total;
        public String toString( ) {
            StringBuffer temp = new StringBuffer();
            for (int i = 0; i < entries.size(); ++i) {
                temp.append( entries.get(i).toString() + "\n" );
            return temp.toString();
    }

    are you reffering to where i have public class
    Facilitys extends Vector {
         private Vector entries;
         public Facilitys( ) {
                 entries = new Vector();
    That's correct. That's your problem.
    i added the extends Vector, because without it i got
    the following errors
    C:\Documents and Settings\george\My
    Documents\University\JavaCode\CM0112\FacilitysTest.jav
    a:14: cannot find symbol
    symbol : method size()
    location: class Facilitys
    System.out.println("There are "+entries.size()+"
    " entries");That's because you haven't implemented a size method in your class.
    ^
    C:\Documents and Settings\george\My
    Documents\University\JavaCode\CM0112\FacilitysTest.jav
    a:17: cannot find symbol
    symbol : method setElementAt(Facility,int)
    location: class Facilitys
    entries.setElementAt(new
    w Facility("lighting","1.34"), 2);That's because you haven't implemented setElementAt in your class.
    C:\Documents and Settings\george\My
    Documents\University\JavaCode\CM0112\FacilitysTest.jav
    a:21: cannot find symbol
    symbol : method remove(int)
    location: class Facilitys
         entries.remove(1);
    ^That's because you haven't implemented remove in your class.
    /Kaj

  • Adding objects into query Panel and no display report

    Hi Folks,
    I had an issue with WEBI .
    Iam running the report with few objects at first time , all objects are displayed in the  table format of report.
    I saved and closed the report .
    Later  i opened the report and edited the report by adding new objects into query panel and runing it.
    but this time  i did not find the new objects in display table in report as like DeskI.
    If we find the solution for this , it will be great help to me.
    Thanks
    Mahesh

    The objects will be in the data tab. Objects are not automatically added to your report in Webi, they are made available in the data panel, and you can choose which objects to add.

Maybe you are looking for

  • Posting goods receipt in migo getting the error

    hi when posting goods receipt in tc migo getting the error ' check table 169p: entry "cocode" does not exist". What does it mean? what is th e solution for this?

  • ISE Guest webauth error

    Using central web auth 802.1x on a 3560 to ISE.  I get to the web portal fine and was able to login with the guest account and change the password.  Now when I get redirected to the portal everytime I login I get "Your session has expired.  Please lo

  • Payment Terms - Only specify sales text for payment terms for customers !

    What is wrong with the format in the attached screen shot ? Do I have to Choose Customer & Vendor ?

  • Select single and select

    hi everybody what is the exact difference between select single vbeln  and select vbeln In what situations i should use these select single vbeln or select vbeln regards hridhayanjili.

  • In IS-Retail , what is the usage of ASSORTMENT ?

    Hi Gurus, I need clarification regarding the usage of ASSORTEMENTS in IS-RETAIL, currently i am dealing with a IS-Retail implementation project . kindly let me know the expert solutions for the same and also let me know in which areas it is used. poi