Fixes are available
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
While processing an XML document the IBM JAXB Unmarshaller may throw a java.lang.NullPointerException in a multi-threaded application that reuses Unmarshaller objects. Sample stack traces: java.lang.NullPointerException at com.ibm.xml.xlxp2.scan.util.ParsedEntity$1.hasReferenceTo(Parsed Entity.java:108) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory$DataBufferRe ferrerQueue.isReferenced(SimpleDataBufferFactory.java:52) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reclaimBuffe rs(SimpleDataBufferFactory.java:309) at com.ibm.xml.xlxp2.scan.DocumentScanner.incrementalCleanup(Docume ntScanner.java:1183) at com.ibm.xml.xlxp2.scan.DocumentScanner.nextEvent(DocumentScanner .java:1271) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.next(XMLStreamRea derImpl.java:581) at com.ibm.xml.xlxp2.api.stax.XMLInputFactoryImpl$XMLStreamReaderPr oxyImpl.next(XMLInputFactoryImpl.java:183) at com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory$WSSStreamReaderPr oxy.next(WSSXMLInputFactory.java:55) at com.ibm.xml.xlxp2.jaxb.unmarshal.UnmarshallerImpl.unmarshal(Unma rshallerImpl.java:264) ... java.lang.NullPointerException at com.ibm.xml.xlxp2.scan.util.XMLString$1.hasReferenceTo(XMLString .java:111) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory$DataBufferRe ferrerQueue.isReferenced(SimpleDataBufferFactory.java:52) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reclaimBuffe rs(SimpleDataBufferFactory.java:309) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reset(Simple DataBufferFactory.java:285) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.reset(XMLStreamRe aderImpl.java:360) at com.ibm.xml.xlxp2.api.jaxb.JAXBXMLStreamReader.reset(JAXBXMLStre amReader.java:392) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.close(XMLStreamRe aderImpl.java:749) at com.ibm.xml.xlxp2.api.wssec.WSSXMLStreamReader.close(WSSXMLStrea mReader.java:122) at com.ibm.xml.xlxp2.api.stax.XMLInputFactoryImpl$XMLStreamReaderPr oxyImpl.next(XMLInputFactoryImpl.java:193) at com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory$WSSStreamReaderPr oxy.next(WSSXMLInputFactory.java:55) at com.ibm.xml.xlxp2.jaxb.unmarshal.UnmarshallerImpl.unmarshal(Unma rshallerImpl.java:264) at com.ibm.xml.xlxp2.jaxb.unmarshal.AbstractUnmarshallerImpl.unmars hal(AbstractUnmarshallerImpl.java:127) ...
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All IBM WebSphere Application Server V8.5 * * users of JAX-WS and JAXB. * **************************************************************** * PROBLEM DESCRIPTION: A java.lang.NullPointerException may * * be thrown from the JAXB Unmarshaller * * under load. * **************************************************************** * RECOMMENDATION: Install a fix pack that contains this * * APAR. * **************************************************************** While processing an XML document the IBM JAXB Unmarshaller may throw a java.lang.NullPointerException in a multi-threaded application that reuses Unmarshaller objects. Sample stack traces: java.lang.NullPointerException at com.ibm.xml.xlxp2.scan.util.ParsedEntity$1.hasReferenceTo(Parsed Entity.java:108) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory$DataBufferRe ferrerQueue.isReferenced(SimpleDataBufferFactory.java:52) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reclaimBuffe rs(SimpleDataBufferFactory.java:309) at com.ibm.xml.xlxp2.scan.DocumentScanner.incrementalCleanup(Docume ntScanner.java:1183) at com.ibm.xml.xlxp2.scan.DocumentScanner.nextEvent(DocumentScanner .java:1271) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.next(XMLStreamRea derImpl.java:581) at com.ibm.xml.xlxp2.api.stax.XMLInputFactoryImpl$XMLStreamReaderPr oxyImpl.next(XMLInputFactoryImpl.java:183) at com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory$WSSStreamReaderPr oxy.next(WSSXMLInputFactory.java:55) at com.ibm.xml.xlxp2.jaxb.unmarshal.UnmarshallerImpl.unmarshal(Unma rshallerImpl.java:264) ... java.lang.NullPointerException at com.ibm.xml.xlxp2.scan.util.XMLString$1.hasReferenceTo(XMLString .java:111) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory$DataBufferRe ferrerQueue.isReferenced(SimpleDataBufferFactory.java:52) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reclaimBuffe rs(SimpleDataBufferFactory.java:309) at com.ibm.xml.xlxp2.scan.util.SimpleDataBufferFactory.reset(Simple DataBufferFactory.java:285) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.reset(XMLStreamRe aderImpl.java:360) at com.ibm.xml.xlxp2.api.jaxb.JAXBXMLStreamReader.reset(JAXBXMLStre amReader.java:392) at com.ibm.xml.xlxp2.api.stax.XMLStreamReaderImpl.close(XMLStreamRe aderImpl.java:749) at com.ibm.xml.xlxp2.api.wssec.WSSXMLStreamReader.close(WSSXMLStrea mReader.java:122) at com.ibm.xml.xlxp2.api.stax.XMLInputFactoryImpl$XMLStreamReaderPr oxyImpl.next(XMLInputFactoryImpl.java:193) at com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory$WSSStreamReaderPr oxy.next(WSSXMLInputFactory.java:55) at com.ibm.xml.xlxp2.jaxb.unmarshal.UnmarshallerImpl.unmarshal(Unma rshallerImpl.java:264) at com.ibm.xml.xlxp2.jaxb.unmarshal.AbstractUnmarshallerImpl.unmars hal(AbstractUnmarshallerImpl.java:127) ...
Problem conclusion
A stale reference to a shared data structure allowed multiple JAXB Unmarshaller instances on different threads to update the data structure at the same time and that could result in a NullPointerException. The issue was fixed by ensuring that only one JAXB Unmarshaller at a time accesses or updates the shared data structure. The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.1. 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
PI05575
Reported component name
LIBERTY PROFILE
Reported component ID
5724J0814
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-11-07
Closed date
2013-11-07
Last modified date
2013-11-07
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
LIBERTY PROFILE
Fixed component ID
5724J0814
Applicable component levels
R850 PSY
UP
Document Information
Modified date:
28 April 2022