APAR status
Closed as program error.
Error description
When using the XML schema importer on a schema that contains empty group items (groups with no elements), Xerces would get a NULL pointer exception and Classic reports 5 warnings and 1 error. With Xerces the following error is observed: A JAVA EXCEPTION HAS BEEN ENCOUNTERED DURING THE SCHEMA PARSING JAVA EXCEPTION: null CODE STACK: java.lang.NullPointerException at com.ibm.websphere.dtx.xmlsimp.MetadataValidator.eliminateRedunda ntCompositors(Unknown Source) at com.ibm.websphere.dtx.xmlsimp.MetadataValidator.validate(Unknown Source) at com.ibm.websphere.dtx.xmlsimp.XmlSchemaImporter.importXmlSchema( Unknown Source) at com.ibm.websphere.dtx.xmlsimp.XmlSchemaImporter.generateMtsFile( Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.ibm.websphere.dtx.ui.importers.xmlschema.XMLSchemaImporter.g enerateTree(Unknown Source) at com.ibm.websphere.dtx.ui.importers.dialogs.WTXImportWizard.build TypeTree(Unknown Source) at com.ibm.websphere.dtx.ui.importers.dialogs.WTXImportWizard$2.run (Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run( ModalContext.java:113) PARSE STACK: EMPTY OR NOT AVAILABLE The Classic Importer generates errors and warnings. The warnings are: WARNING (1)[Construct [xsd:any] has been detected. This construct is not fully supported in the current version of the importer] PARSE STACK: [xsd:schema] [xsd:include] [xsd:schema] [xsd:import] [xsd:schema] [xsd:include] [xsd:schema] [xsd:import] [xsd:schema] [xsd:complexType{ name="typenamehere" }] [xsd:sequence] [xsd:any]
Local fix
WTXCQ - WTX00034591 TR / TR Circumvention: None
Problem summary
Users Affected: WebSphere Transformation Extended Classic and Xerces XML importer users Problem Description: When using the XML schema importer on a schema that contains empty group items (groups with no elements), Xerces would get a NULL pointer exception and Classic reports 5 warnings and 1 error. Platforms Affected: Windows
Problem conclusion
Corrected Xerces and Classic schema importer to handle schemas with empty groups. Delivered in: 8.2.0.5, 8.3.0.3
Temporary fix
Comments
APAR Information
APAR number
PM16199
Reported component name
WEBSPHERE DESIG
Reported component ID
5724M4008
Reported release
820
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2010-06-09
Closed date
2010-06-18
Last modified date
2010-06-29
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
WEBSPHERE DESIG
Fixed component ID
5724M4008
Applicable component levels
R820 PSY
UP
R830 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
29 June 2010