IBM Support

IZ97453: WSGEN FAILURE AT BUILD TIME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Error starting wsgen
    
    
    java.lang.ClassCastException:
    
    com.sun.xml.internal.bind.v2.model.impl.RuntimeAnyTypeImpl
    incompatible with
    .
    Stack Trace: com.sun.xml.internal.bind.v2.model.core.ClassInfo
     at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace$2.write(XmlSchemaGenerator.java:1049)
     at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Optional.write(Tree.
    java:182)
     at
    com.sun.xml.internal.bind.v2.schemagen.Tree$Group.write(Tree.jav
    a:252)
     at
    com.sun.xml.internal.bind.v2.schemagen.Tree.write(Tree.java:135)
     at
    com.sun.xml.internal.bind.v2.schemagen.Tree.write(Tree.java:138)
     at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace.writeClass(XmlSchemaGenerator.java:956)
     at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace.writeTo(XmlSchemaGenerator.java:671)
     at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator$Namesp
    ace.access$700(XmlSchemaGenerator.java:496)
     at
    com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator.write(
    XmlSchemaGenerator.java:478)
     at
    com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.generateSch
    ema(JAXBContextImpl.java:799)
     at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.generateTypes(
    WSDLGenerator.java:401)
     at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.generateDocume
    nt(WSDLGenerator.java:380)
     at
    com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator.doGeneration(W
    SDLGenerator.java:277)
     at
    com.sun.tools.internal.ws.wscompile.WsgenTool.buildModel(WsgenTo
    ol.java:283)
     at
    com.sun.tools.internal.ws.wscompile.WsgenTool.run(WsgenTool.java
    :124)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:117)
     at com.sun.tools.internal.ws.WsGen.main(WsGen.java:53)
     ... 5 more
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • Caused by: java.lang.ClassCastException:
    com.sun.internal.xml.bind.v2.model.impl.RuntimeAnyTypeImpl
    incompatible with
    com.sun.internal.xml.bind.v2.model.core.ClassInfo
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9 FP2
    .
    The exception was caused by a ClassCastException which has been
    fixed by adding the necessary class cast.
    .
    To obtain the fix:
    Install build 20110408 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ97453

  • 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

    2011-04-01

  • Closed date

    2011-06-06

  • Last modified date

    2011-07-09

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 July 2011