APAR status
Closed as program error.
Error description
NullPointerException is thrown from the NamedDeclaration class when an XML document is loaded: com.ibm.xml.xlxp.internal.s1.grammar.NamedDeclaration.createMap (NamedDeclaration.java:123) com.ibm.xml.xlxp.internal.s1.grammar.Grammar.setGlobalTypes (Grammar.java:242) com.ibm.xml.xlxp.internal.s1.converter.Converter.fillGrammar (Converter.java:608) com.ibm.xml.xlxp.internal.s1.converter.Converter.convert (Converter.java:244) com.ibm.xml.xlxp.internal.s1.converter.Merger.convert (Merger.java:144) com.ibm.xml.xlxp.internal.s1.converter.MergerContext. convertGrammar(MergerContext.java:153) com.ibm.xml.xci.adapters.xlxp.util.XLXPResourceManager. getGrammars(XLXPResourceManager.java:93) com.ibm.xml.xci.adapters.xlxp.util.XLXPResourceManager. setupScanner(XLXPResourceManager.java:322) com.ibm.xml.xci.adapters.xlxp.XLXPCursorFactory. document(XLXPCursorFactory.java:93) com.ibm.xml.xci.adapters.xlxp.XLXPCursorFactory. document(XLXPCursorFactory.java:250) com.ibm.xml.xci.SessionContext.document(SessionContext.java:312)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All IBM WebSphere Application Server Feature* * Pack for XML users * **************************************************************** * PROBLEM DESCRIPTION: Null pointer exception when loading * * XML documents using the XML Feature * * Pack. * **************************************************************** * RECOMMENDATION: * **************************************************************** When an XML document is loaded using the XML Feature Pack, or through another stack product that uses the XML Feature pack, sometimes the following exception may be thrown: com.ibm.xml.xlxp.internal.s1.grammar.NamedDeclaration.createMap( NamedDeclaration.java:123) com.ibm.xml.xlxp.internal.s1.grammar.Grammar.setGlobalTypes(Gram mar.java:242) com.ibm.xml.xlxp.internal.s1.converter.Converter.fillGrammar(Con verter.java:608) com.ibm.xml.xlxp.internal.s1.converter.Converter.convert(Convert er.java:244) com.ibm.xml.xlxp.internal.s1.converter.Merger.convert(Merger.jav a:144) com.ibm.xml.xlxp.internal.s1.converter.MergerContext.convertGram mar(MergerContext.java:153) com.ibm.xml.xci.adapters.xlxp.util.XLXPResourceManager.getGramma rs(XLXPResourceManager.java:93) com.ibm.xml.xci.adapters.xlxp.util.XLXPResourceManager.setupScan ner(XLXPResourceManager.java:322) com.ibm.xml.xci.adapters.xlxp.XLXPCursorFactory.document(XLXPCur sorFactory.java:93) com.ibm.xml.xci.adapters.xlxp.XLXPCursorFactory.document(XLXPCur sorFactory.java:250)com.ibm.xml.xci.SessionContext.document(Sess ionContext.java:312) ...
Problem conclusion
The component that loads and assembles XML Schemas sometimes need to create copies of the container objects to reuse schema components. When the copy occurs, other container objects that reference the original container object need to be updated to reference the new copy, to maintain consistency within the schema. There are cases where a copy is made but the references still point to the old object. When a schema containing these objects is used in the XML Feature Pack, it gets confused by the duplicate objects. The fix is to ensure the schema is always consistent by updating all relevant references when a container object is copied. The fix for this APAR is currently targeted for inclusion in XML Feature Pack 1.0.0.9. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM36721
Reported component name
XML FEATUREPACK
Reported component ID
5724J0856
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-04-11
Closed date
2011-04-19
Last modified date
2011-04-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
XML FEATUREPACK
Fixed component ID
5724J0856
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022