IBM Support

PM69118: Creating JAXB classes using the 'JAXB classes' wizard results in a NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: Attempts to create JAXB classes using the 'JAXB
    classes' wizard results in a NullPointerException
    Problem: To reproduce this problem, you right click on your
    scehma and select 'Generate ? JAXB classes'.  After filling out
    the wizard and selecting Finish, you get the following
    exception:
    
    Exception in thread 'main' java.lang.ClassNotFoundException:
    com.sun.tools.internal.xjc.Driver
        at
    com.sun.tools.xjc.ParallelWorldClassLoader.findClass(ParallelWor
    ldClassLoader.java:76)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
        at com.sun.tools.xjc.XJCFacade.main(XJCFacade.java:43)
    
    The 'Generate ? JAXB classes' wizard belongs to base Eclipse and
    requires additional libraries to be configured in the runtime to
    complete successfully.  A warning normally appears alerting you
    to this.  But if you have the JPA 2.0 feature pack installed on
    your WebSphere Application Server 7.0 then the warning does not
    appear.
    
    Local fix:
    The workaround is to use the RAD wizard to generate your JAXB
    classes when right clicking on your schema file.  This wizard is
    'Generate ? Java'.  Then select the 'Schema to JAXB Java
    classes' option.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Document is missing for the generation of JAXB classes.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM69118

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-18

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 December 2012