Skip to main content

IV15450: WSGEN FAILS WHILE GENERATING SCHEMA.


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: TException in thread "main"
    java.lang.ClassCastException:
    com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoIm
    pl$StringImplImpl cannot be cast to
    com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl
            at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace$2.write(XmlSchemaGenerator.java:1055)
            at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Group.write(Tree.jav
    a:240)
            at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Optional.write(Tree.
    java:170)
            at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Repeated.write(Tree.
    java:196)
            at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Group.write(Tree.jav
    a:240)
            at
    com.sun.xml.internal.bind.v2.schemagen.Tree.write(Tree.java:123)
            at
    com.sun.xml.internal.bind.v2.schemagen.$Namespace.writeClass(Xml
    SchemaGenerator.java:950)
            at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace.writeTo(XmlSchemaGenerator.java:666)
            at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace.access$700(XmlSchemaGenerator.java:484)
            at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator.write(
    XmlSchemaGenerator.java:466)
            at
    com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.generateSch
    ema(JAXBContextImpl.java:807)
            at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.generateTypes(
    WSDLGenerator.java:390)
            at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.generateDocume
    nt(WSDLGenerator.java:369)
            at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.doGeneration(W
    SDLGenerator.java:266)
            at
    com.sun.tools.internal.ws.wscompile.WsgenTool.buildModel(WsgenTo
    ol.java:275)
            at
    com.sun.tools.internal.ws.wscompile.WsgenTool.run(WsgenTool.java
    :111)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:57)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at
    com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:120)
            at com.sun.tools.internal.ws.WsGen.main(WsGen.java:42)
    .
    

Local fix

Problem summary

  • wsgen fails while generating schema.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR3
    7.0.0 SR2
    .
    Changes were made to handle null class cast exception .
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV15450

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-16

  • Closed date

    2012-04-24

  • Last modified date

    2012-09-02

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
6.0


Reference #:
IV15450


Modified date:
2012-09-02

Translate my page

Content navigation