IBM Support

PI24248: WSDLS CONTAINING EMPTY COMPLEX TYPE DEFINITIONS FAIL TO LOAD

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Attempts to synchronise with a WSDL result in objects being
    created in Architecture School Logical View but no schema
    content.  The JVM console shows a NullPointerException.
    
    If the schema contains a definition such as:
    
    <xsd:complexType name="someType">
                    <xsd:blah/>
                </xsd:complexType>
    
    WORKAROUND:
    
    Add a definition for the element as shown:
    
                <xsd:complexType name="someType">
                    <xsd:blah>
              <xsd:element maxOccurs="1" minOccurs="0"
    name="something" type="xsd:string"/>
                    </xsd:blah>
                </xsd:complexType>
    
    ERROR MESSAGE:
    
    [18/08/2014 17:26:15.648] com.ghc.utils.GHException:
    java.lang.NullPointerException
    [18/08/2014 17:26:15.650] at
    com.ghc.schema.spi.xsd.internal.XSDTransformer.X_transform(XSDTr
    ansformer.java:224)
    [18/08/2014 17:26:15.650] at
    com.ghc.schema.spi.xsd.internal.XSDTransformer.transform(XSDTran
    sformer.java:212)
    [18/08/2014 17:26:15.650] at
    com.ghc.a3.soap.wsdl.WSDLSchemaSource.createSchema(WSDLSchemaSou
    rce.java:365)
    [18/08/2014 17:26:15.650] at
    com.ghc.schema.ExternalSchemaSource$1.run(ExternalSchemaSource.j
    ava:307)
    [18/08/2014 17:26:15.651] at
    com.ghc.schema.ExternalSchemaSource.processRefresh(ExternalSchem
    aSource.java:161)
    [18/08/2014 17:26:15.651] at
    com.ghc.schema.ExternalSchemaSource.refreshSchema(ExternalSchema
    Source.java:102)
    [18/08/2014 17:26:15.651] at
    com.ghc.schema.AbstractSchemaSource.refresh(AbstractSchemaSource
    .java:235)
    [18/08/2014 17:26:15.651] at
    com.ghc.schema.refresh.SchemaRefreshJob.X_refresh(SchemaRefreshJ
    ob.java:136)
    [18/08/2014 17:26:15.651] at
    com.ghc.schema.refresh.SchemaRefreshJob.run(SchemaRefreshJob.jav
    a:105)
    [18/08/2014 17:26:15.651] at
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    [18/08/2014 17:26:15.651] Caused by:
    [18/08/2014 17:26:15.652] java.lang.NullPointerException
    [18/08/2014 17:26:15.652] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.X_processChil
    dren(AllXSDNode.java:101)
    [18/08/2014 17:26:15.652] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.transform(All
    XSDNode.java:52)
    [18/08/2014 17:26:15.652] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.transform(All
    XSDNode.java:1)
    [18/08/2014 17:26:15.652] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.X_pro
    cessChildren(ComplexTypeXSDNode.java:341)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:77)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:43)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:1)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    TypeAttribute(ElementXSDNode.java:566)
    [18/08/2014 17:26:15.653] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    LocalTransform(ElementXSDNode.java:328)
    [18/08/2014 17:26:15.654] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:81)
    [18/08/2014 17:26:15.654] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:55)
    [18/08/2014 17:26:15.654] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.X_processChil
    dren(AllXSDNode.java:86)
    [18/08/2014 17:26:15.654] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.transform(All
    XSDNode.java:52)
    [18/08/2014 17:26:15.654] at
    com.ghc.schema.spi.xsd.internal.xsdnode.AllXSDNode.transform(All
    XSDNode.java:1)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.X_pro
    cessChildren(ComplexTypeXSDNode.java:341)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:77)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:43)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:1)
    [18/08/2014 17:26:15.655] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    TypeAttribute(ElementXSDNode.java:566)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    LocalTransform(ElementXSDNode.java:328)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:81)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:55)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.X_proces
    sChildren(SequenceXSDNode.java:104)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.transfor
    m(SequenceXSDNode.java:51)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.transfor
    m(SequenceXSDNode.java:1)
    [18/08/2014 17:26:15.656] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.X_pro
    cessChildren(ComplexTypeXSDNode.java:321)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:77)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:43)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:1)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    TypeAttribute(ElementXSDNode.java:566)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    LocalTransform(ElementXSDNode.java:328)
    [18/08/2014 17:26:15.657] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:81)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:55)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.X_proces
    sChildren(SequenceXSDNode.java:104)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.transfor
    m(SequenceXSDNode.java:51)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SequenceXSDNode.transfor
    m(SequenceXSDNode.java:1)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.658] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.X_pro
    cessChildren(ComplexTypeXSDNode.java:321)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:77)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:43)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ComplexTypeXSDNode.trans
    form(ComplexTypeXSDNode.java:1)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    TypeAttribute(ElementXSDNode.java:566)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.X_process
    GlobalTransform(ElementXSDNode.java:184)
    [18/08/2014 17:26:15.659] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ElementXSDNode.transform
    (ElementXSDNode.java:71)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SchemaXSDNode.transform(
    SchemaXSDNode.java:159)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SchemaXSDNode.transform(
    SchemaXSDNode.java:1)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ImportXSDNode.X_transfor
    mSchema(ImportXSDNode.java:88)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ImportXSDNode.transform(
    ImportXSDNode.java:41)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.ImportXSDNode.transform(
    ImportXSDNode.java:1)
    [18/08/2014 17:26:15.660] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.661] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SchemaXSDNode.transform(
    SchemaXSDNode.java:147)
    [18/08/2014 17:26:15.661] at
    com.ghc.schema.spi.xsd.internal.xsdnode.SchemaXSDNode.transform(
    SchemaXSDNode.java:1)
    [18/08/2014 17:26:15.661] at
    com.ghc.schema.spi.xsd.internal.xsdnode.XSDNode.transform(XSDNod
    e.java:284)
    [18/08/2014 17:26:15.661] at
    com.ghc.schema.spi.xsd.internal.XSDTransformer.X_transform(XSDTr
    ansformer.java:222)
    [18/08/2014 17:26:15.661] ... 9 more
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester who synchronize     *
    * with WSDL files.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Some configurations of WSDL files caused a null pointer      *
    * exception when the user attempted to synchronize with the    *
    * WSDL file. The problem configuration contained an empty      *
    * <all> element.                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix for this issue was provided in version 8.7.0.1 of Rational
    Integration Tester. Those WSDL files now synchronize properly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24248

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-20

  • Closed date

    2015-05-19

  • Last modified date

    2015-05-19

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.5.1

Reference #: PI24248

Modified date: 19 May 2015