Bug: generate java objects generates error and does not terminate

During the build of java object generation...the following error occurs (below),
the generation progress dialog does not close,
and the process does not terminate.
Any suggestions?
Thank you.
Albert
va.lang.NullPointerException
     at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
     at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
     at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
     at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
     at java.lang.Thread.run(Thread.java:595)
ADF configuration: Release 3 (10.1.3)
ADF Business Components     10.1.3.36.73
CVS Version     Internal to Oracle JDeveloper 10g (client-only)
Java™ Platform     1.5.0_05
Oracle IDE     10.1.3.36.73
PMD     JDeveloper Extension 1.8
Struts Modeler Version     10.1.3.36.73
UML Modelers Version     10.1.3.36.73
Versioning Support     10.1.3.36.73
Other Configuration:
Os Name     Microsoft Windows Xp Home Edition
Version     5.1.2600 Service Pack 2 Build 2600
Os Manufacturer     Microsoft Corporation
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Schema:
Create Table Example.Questions
Qid Number Not Null,
Testid Number,
Question Varchar2(4000),
Answer Char(4) Default 'Zzzz' Not Null
Create Table Example.Testgenhistory
Testgenhistory_Testid Number Not Null,
Testid Number Not Null,
Requestor Varchar2(100),
Daterequested Date Default Systimestamp
Create Table Example.Testmaster
Testid Number Not Null,
Testname Varchar2(100),
Ownerrequestor Varchar2(100) Default '[email protected]' Not Null,
Testdatelastmodified Date
Create Table Example.Users
Requestor Varchar2(100) Not Null,
Adminauthority Number Default 0 Not Null
Alter Table Example.Questions
Add Constraint Questions_Pk Primary Key
Qid
Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Pk Primary Key
Testgenhistory_Testid
Enable
Alter Table Example.Testmaster
Add Constraint Testmaster_Pk Primary Key
Testid
Enable
Alter Table Example.Users
Add Constraint Users_Pk Primary Key
Requestor
Enable
Alter Table Example.Questions
Add Constraint Questions_Testmaster_Fk1 Foreign Key
Testid
References Myschema.Testmaster
Testid
) Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Users_Fk1 Foreign Key
Requestor
References Myschema.Users
Requestor
) Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Testmaster_Fk Foreign Key
Testid
References Myschema.Testmaster
Testid
) Enable
Create Index Example.Testmaster_Index1 On Example.Testmaster (Testid);
Create Sequence Example.Qidseq Increment By 1 Start With 1 Minvalue 1 ;
Create Sequence Example.Testidseq Increment By 1 Start With 1 Minvalue 1 ;

Hi Anuj,
Sorry for the reply delay. I didn't get a notification of reply on the post.
I am still able to get the error message dialog, along with the failure for the generation to terminate. (reproduced today 4/22/06 and others seem to be seeing it as well).
I can't identify anything specific in the steps.
Basically...
created a new application with ejb, adf, toplink
choose new project
choose toplink generate java objects
choose an existing validated database connection
select objects (all 4 tables in my little schema)
click through (...next...next...) to finish
locks up and dialog appears
I made a video of the steps, including verifying the database connection. If you want to see it, I'll email it to you.
here it is today (I've applied all updates available up to today):
ava.lang.NullPointerException
     at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
     at oracle.toplink.addin.log      .updateTask(POJOGenerationLoggingAdapter.java:42)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
     at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
     at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
     at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
     at java.lang.Thread.run(Thread.java:595)

Similar Messages

  • When I try to connect to iCloud, it says there is a server error and does not log me in. This happens every time. How can I circumvent this server error?

    When I try to connect to iCloud, it says there is a server error and does not log me in. This happens every time. How can I circumvent this server error?

    Try restarting your computer and your router.
    If there is a specific error code, take a look at this article.
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694

  • Filter criteria on added field in VF04 gives error and does not filter

    Hi!
    I have added a filed WBS to the output of VF04 using a exit. What I did was added the wbs filed to the table VKDFIF table and then used the exit ZXV6PU08 to get the values in the VF04 output. The display output for VF04 does bring in the values for the WBS field that I added . NOw when I want to do a filter on the field it pops out an error message :WBS element                    00000 does not exist. But when I fill in the selection criteria in the filetr screen in ranges i.e lower value and upper value it displays me the filtered value, its only when I enter values in the lower range only it pops out a message saying the value does not exist and it does not do the filter.
    Can anyone please tell why this is happening and how it can be fixed?
    Thanks

    Hi  Odysseas!
    I ahve a program which finds the user exit for any transaction and I used that for VF04 and choose the right exit applicable to your requirement. This will lead us to the user-exit , I chose V60P0001 form the list for my requirement and when you drill down it will take you to the desired program include zxv6pu08.
    I hope this would be helpful for you . PLease do let me know if you need any more information on this.
    Thanks

  • Disk Utility gives error and does not rebuild mirrored RAID

    After having a HDD fail on a mirrored RAID I replaced the HDD and attempted to rebuild. Disk Utility reports via Console that it can not find an Apple Boot partition to check size and then fails to repair the RAID. Details follow.
    Mac OS X v.10.4.8 Server
    Power Mac G3 (Blue & White)
    512MB RAM
    20GB ATA HDD – boot device on internal ATA bus
    4x 160GB ATA HDDs - setup in RAID scheme on Sonnet ATA/133 PCI card
    RAID configured using Mac OS X v.10.4.8's Disk Utility and is an Apple RAID version 2.
    RAID scheme <from "diskutil checkRAID" cmd>:
    Welcome to Darwin!
    [myserver:~] myadminuser% diskutil checkRAID
    RAID SETS
    Name: Mirror_2
    Unique ID: 5FF8AD5F-0892-482D-B430-C7069D63AFD2
    Type: Mirror
    Status: Online
    Device Node: disk3
    Apple RAID Version: 2
    # Device Node UUID Status
    0 disk0s3 1FB48B00-3E52-4C29-8F05-2ED8BDAE4544 Online
    1 disk6s3 BF2E69C6-698E-4D6A-A2A9-FE8CDAD8A7B1 Online
    Name: Mirror_1
    Unique ID: B448A09D-EC10-41EE-BA45-4D4071A88EA5
    Type: Mirror
    Status: Degraded
    Device Node: disk5
    Apple RAID Version: 2
    # Device Node UUID Status
    1 disk2s3 09AD5705-CF67-48B3-8E31-79983BD4781A Online
    0 disk4s3 23EB1952-8B18-4400-A6FE-22C2F707C097 Failed
    Name: StorageRAID1
    Unique ID: 2B8349AB-F553-4FD2-8440-C575791DA858
    Type: Stripe
    Status: Online
    Device Node: disk7
    Apple RAID Version: 2
    # Device Node UUID Status
    0 disk3 5FF8AD5F-0892-482D-B430-C7069D63AFD2 Online
    1 disk5 B448A09D-EC10-41EE-BA45-4D4071A88EA5 Online
    I configured this RAID scheme (two two drive mirrors striped together) according to this kbase document: http://docs.info.apple.com/article.html?artnum=304377
    As shown in the above "diskutil checkRAID" output I have a failed HDD. So I replaced the HDD with another 160GB cold spare. I added the new drive to the mirror "Mirror_1" also known as disk5 and hit rebuild. Received the normal message that all data on the new drive I was adding would be erased.
    I then receive the following error immediately in the Console Log:
    Rebuilding RAID "Mirror_1"
    2006-12-15 23:50:24.741 DiskManagementTool [375] WARNING: Could not find Apple Boot partition to check it's size, skipping disk5s-1s.
    Rebuilding RAID slice "disk4s3"
    Just to stem some confusion, the device ID disk4s3 has been used by the system for both the old failed HDD and the new replacement HDD.
    The result of this attempted rebuild is I end up with all the data from Mirror_1 on the new HDD but the new HDD is not successfully added to the RAID, therefore Mirror_1 is still degraded and my problem not resolved.
    I ran the appropriate rebuild cmd from both the GUI Disk Utility as described and from the CLI "diskutil repairMirror disk5 disk4s3" but no joy.
    Any help would be greatly appreciated. This volume houses a large amount of important data including user home directories so while some offline time may be required data loss would not be very acceptable.
    Thanks in advance and I will be happy to provide more information as necessary.

    I guess doing it in Terminal would fail too:
    diskutil repairMirror disk5 disk4

  • Raise form trigger failure does not terminate processing

    There is a field in my form, on which there is a when-validate-item trigger, which cheks that the value in the field should be selected from list of values(LOV). If not done that way, error message is displayed.
    This works fine, when I enter a value myself and navigate to the next field, it throws an error. This is fine.
    But, problem occurs when I enter a value in the field and without navigating to the next field, I press Save(commit).
    When this is done - Key commit is invoked, which inturn invokes when-validate-item and erros is displayed. But when
    I press the Ok button, the error is displayed again and again. I have to close down the form to get out of it.
    In case of error, I have displayed the error and raised form_trigger_failure.
    I do not understand why form_trigger_failure terminates processing when I navigate to next field and does not terminate processing when I directly press Save(Commit)?
    Regards,
    Balaji

    find the code in When validate item trigger below. I don't much of code in key commit. It does not do anything with the field in question.
    DECLARE
    l_lov_indicator VARCHAR2(20);
    BEGIN
         IF :abc.code IS NOT NULL THEN
              -- If global is not initialized, that means that the value in
              -- code is not fetched from List Of Values and an error
              -- (FRM-40815) is raised. This error is handled in on-error
              -- trigger in Aon block.
              l_lov_indicator := :GLOBAL.lov_indicator;
              -- If global is initialized, the value in code
              -- is fetched from List Of Values and everything is ok.
              -- Otherwise, an error message is displayed.
              IF l_lov_indicator = 'TRUE' THEN
                   ERASE('GLOBAL.lov_indicator');
              ELSE
                   ERASE('GLOBAL.lov_indicator');
              raise form_trigger_failure;
              END IF;
         END IF;
    END;

  • How to force OTT generating  java objects?

    I've read in an Oracle white paper that Oracle has an Object Type Translator (ott) utility that creates java objects from object type definitions in the database. In my installations of Oracle 8.1.7 and 9.2i my ott utility only supports output of C structures (though in ott.exe present such strings as "public void...", "throws SQLException..."). Does anyone know how to force ott.exe generating java objects?

    OTT can generate C structures or C++ classes from object definitions. You should look at JPublisher for Java classes.

  • I have a big problem with Lion and PGP. After upgrading from snow leopard to lion I cannot access my PGP drive which was generated under snow leopard. PGP does not start but gives a notion that lion cannot work with my PGP version. Solution?

    After upgrading from Snow Leopard to Lion I cannot access a PGP drive which was generated under snow leopard. PGP does not start. When I try to start I just receive a message that Lion cannot work with PGP. How can I now access important and confifential informatio which I have stored in PGP (snow leopard). Do I have to move back to snow leopard. If so, how can I do this? 

    If you have this product,
    http://www.symantec.com/business/support/index?page=content&id=TECH165159
    you have to go back to Snow Leopard.
    To re-install SL, back up your home directory, format and re-install.

  • Error : Contract does not match customer and item information[OSCI.ManufSN]

    I need to add Service Call from Service Contract through DIAPI. "Mfr. Serial no" is set as  "Unique serial no by" in system general settings.
    Creating two Customer Equipment Card from the cfl provided on Service Contract in Item Tab and Internal serial is blank in created Cutomer Equipment Card.
    One is terminated and other is active have the same ItemCode but different customers then while adding Service Contract I am paraller generating service call through DIAPI but the system is throughing error - "Contract does not match customer and item information [OSCL.IntrnalSN]"
    Thanks
    deepak gaur

    HI,
    Service Contract can be for a specific customer
    The contract type cound be (Coverage):
    1. including all items (Type Customer) in this case the dates of the coverage is defined in the head!
    2. Including specific serial numbers
    3. Including item groups
    The status every case should have to be Enabled/Approved  for valid contract (OCRT.Status = 'A').
    In case of Do not forget to set the valid from and valid to dates to define in the system the coverage. (header and items tab from/to dates)
    Now, If you create service all, the system will use the first possible Service Contract. IF you have more: you have to select the contract manually.
    Ex:
    1. One for customer including all items
    2. One for a specific serial number
    Best Regadrs,
    János

  • Is not abstract and does not override abstract method ERROR

    Hello. I'm new at all this, and am attempting to recreate a sample code out of my book (Teach Yourself XML in 24 Hours), and I keep getting an error. I appriciate any help.
    This is the Error that I get:
    DocumentPrinter is not abstract and does not override abstract method skippedEntity(java.lang.String) in org.xml.sax.ContentHandler
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
            ^This is the sourcecode:
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
    // A Constant containing the name of the SAX parser to use.
    private static final String PARSER_NAME = "org.apache.xerces.parsers.SAXParser";
    public static void main(String[] args)
       // Check to see whether the user supplied any command line arguments.  If not, print an error and exit.
       if (args.length == 0)
         System.out.println("No XML document path specified.");
         System.exit(1);
       // Create a new instance of the DocumentPrinter class.
       DocumentPrinter dp = new DocumentPrinter();
       try
         // Create a new instance of the XML Parser.
         XMLReader parser = (XMLReader)Class.forName(PARSER_NAME).newInstance();
         // Set the parser's content handler
        // parser.setContentHandler(dp);
         // Set the parsers error handler
         parser.setErrorHandler(dp);
         // Parse the file named in the argument
         parser.parse(args[0]);
       catch (Exception ex)
         System.out.println(ex.getMessage());
         ex.printStackTrace();
    public void characters(char[] ch, int start, int length)
       String chars ="";
       for (int i = start; i < start + length; i++)
         chars = chars + ch;
    System.out.println("Recieved characters: " + chars);
    public void startDocument()
    System.out.println("Start Document.");
    public void endDocument()
    System.out.println("End of Document.");
    public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
    System.out.println("Start element: " + localName);
    for (int i = 0; i < atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i));
    System.out.println(" Value: " + atts.getValue(i));
    public void endElement(String namespaceURI, String localName, String qName)
    System.out.println("End of element: " + localName);
    public void startPrefixMapping(String prefix, String uri)
    System.out.println("Prefix mapping: " + prefix);
    System.out.println("URI: " + uri);
    public void endPrefixMapping(String prefix)
    System.out.println("End of prefix mapping: " + prefix);
    public void ignorableWhitespace(char[] ch, int start, int length)
    System.out.println("Recieved whitespace.");
    public void processingInstruction(String target, String data)
    System.out.println("Recieved processing instruction:");
    System.out.println("Target: " + target);
    System.out.println("Data: " + data);
    public void setDocumentLocation(Locator locator)
    // Nada
    public void error(SAXParseException exception)
    System.out.println("Parsing error on line " + exception.getLineNumber());
    public void fatalError(SAXParseException exception)
    System.out.println("Fatal parsing error on line " + exception.getLineNumber());
    public void warning(SAXParseException exception)
    System.out.println("Warning on line " + exception.getLineNumber());

    Check to make sure that the arguments are consistent with your ContentHandler class. Probably the wrong type.
    I think you forgot to include the skippedEntity method, it seems to be missing. Even if an implemented class has a method that you are not using, you still have to include the method in your code even if it doesn't do anything.
    Message was edited by:
    ChargersTule1

  • Keytool error: java.lang.Exception: Keystore file does not exist:

    Hi All,
    While listing the keystore using the command keytool -list, I got the error message that
    keytool error: java.lang.Exception: Keystore file does not exist: C:\Documents and Settings\subramanian.arivalag\.keystore
    I noticed there is no file .keystore in the above mentioned directory. What's this .keystore file? Will it be created automatically or should we create manually?
    Already I created a keystore using -genkey command and received CA authority also.
    Kindly provide me more details about .keystore file and how to handle this error.

    If you specified a keystore filename when you created the keystore
    i.e. keytool -genkey -alias jboss-ssl -keyalg RSA -keystore my_name.keystore -validity 3650
    then you need to specify the same keystore when you export the cert
    i.e. keytool -export -alias jboss-ssl -keystore my_name.keystore –file my_name.cer

  • HT201412 My Ipad is not responding.  It has the small apple in the middle of the screen with the little "thinking" flower symbol surrounding it, and does not respond to restoring. We received an error message when trying to restore from itunes.

    My Ipad is not responding.  It has the small apple in the middle of the screen with the little "thinking" flower symbol surrounding it, and does not respond to restoring. We received an error message when trying to restore from itunes.

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • Previously used overdrive media console to download audio books now i get an error message when trying to sync to iphone 4 after upgrading to 10.5 itunes and 5.0 on iphone unable to download audiobook states cannot play on iphone and does not convert

    previously used overdrive media console to download audio books now i get an error message when trying to sync to iphone 4 after upgrading to 10.5 itunes and 5.0 on iphone unable to download audiobook states cannot play on iphone and does not convert

    previously used overdrive media console to download audio books now i get an error message when trying to sync to iphone 4 after upgrading to 10.5 itunes and 5.0 on iphone unable to download audiobook states cannot play on iphone and does not convert

  • TS1424 Error 42110 appears and cannot watch a movie I pay for rental. I can see it is downloading, but as I click on it to watch it, the error appears and does not let me watch it.

    Error 42110 appears and cannot watch a movie I pay for rental. I can see it is downloading, but as I click on it to watch it, the error appears and does not let me watch it.
    what can I do to resolve it?

    Hello kmb_cb_lb
    If you cannot get your rental to play, then report the issue to the iTunes Store to get it resolved or refunded.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G.

  • Under what conditions  ALL Objects exists and does not exists

    When does the ALL Objects exists in Database
    For Eg: ALL_TAB_COLUMNS , ALL_USERS etc
    When it does not exists
    For Eg : ALL_SEGMENTS which does not exist and only options are USER_SEGMENTS and DBA_SEGMENTS.
    There should be some rules for its existence and its non existence and under what conditions it exists and does not exists .
    Please explain.

    Its clearly stated in Oracle documentation.
    An ALL_ view displays all the information accessible to the current user, including information from the current user's schema as well as information from objects in other schemas, if the current user has access to those objects by way of grants of privileges or roles.
    A DBA_ view displays all relevant information in the entire database. DBA_ views are intended only for administrators. They can be accessed only by users with the SELECT ANY TABLE privilege. This privilege is assigned to the DBA role when the system is initially installed.
    A USER_ view displays all the information from the schema of the current user. No special privileges are required to query these views.
    Edit: formatted the post :)

  • Java applet works in windows and does not work in linux

    Hello, guys!
    I'm working with site which is located in vpn network at work.
    I use browsers firefox 3 and opera.
    When I want to open java applet using firefox or opera at first everything is fine then on the last stage of loading(judging by progress bar) applet hangs(progress bar hangs) and when I reload page firefox shows in the bottom bar: applet <applet's name> bail.
    In windows everything works both in ie6 and firefox 3.
    On both environments I have the jre 6 installed.
    please help!

    Ok, I installed ies4linux and jre 1.5.16. I can work with that but when I start applet screen goes black and window frames dissapear.
    To solve this problem(feature?) I disabled DirectX-based acceleration for Java 2D but that works for javacpl.exe and does not work for my applet.

Maybe you are looking for

  • Cant format/scandisk Zen nano p

    Hello I'm from Italy. I have a Zen Nano plus Giga since month and it worked well, till now. Today I disconnected it while transferring a file and the flash memory was corrupted. My firmware is .3.05e and I never tried to update it. I have Windows98-S

  • Input stream to pdf file generation in WDJ

    Hi Experts, I want to create a pdf file from some inputstream or string content in Webdynpro Java code. Can anyone please provide me some code snippet related to this. I tried below code: public class test {      public static void main(String[] args

  • Advantages and disadvantages of iCloud and Dropbox

    advantages and disadvantages of iCloud and Dropbox

  • Numbering - stuck (ID CS3)

    Hi!<br /><br />I'm stuck while trying to do a relatively simple thing with Paragraph styles. I've just imported a long text (book) into InDesign and now I'd like to set up the top level section headings to look like this:<br /><br />b Section <number

  • Firewire incompatibility w Video and external drive

    I recently purchased an iMac G5 for video editing and wanted to use my external drive mainly to store my iMovie projects. Obviously the video camera and the external drive are disturbing each other that much, that the external drive stops working whe