Getting java.lang.NullPointerException when parsing XML messages (Doc ID 1314863.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.2 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Aug-2014***

Symptoms

When attempting to receive a XML message in Java CAPS 6.2, the following error appears in the server.log file:

[#|2011-03-30T16:33:57.882+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=74;_ThreadName=httpSSLWorkerThread-28080-2;_RequestID=6d040aed-e
0cf-4e42-b6b7-1a4169464b99;|
java.lang.NullPointerException
at com.sun.xml.stream.buffer.AbstractProcessor.readFromNextStructure(AbstractProcessor.java:177)
at com.sun.xml.stream.buffer.AbstractProcessor.readStructure(AbstractProcessor.java:163)
at com.sun.xml.stream.buffer.AbstractProcessor.readEiiState(AbstractProcessor.java:167)
at com.sun.xml.stream.buffer.stax.StreamReaderBufferProcessor.next(StreamReaderBufferProcessor.java:213)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.readRest(XMLStreamReaderUtil.java:67)
at com.sun.xml.ws.message.stream.StreamMessage.copy(StreamMessage.java:414)
at com.sun.enterprise.webservice.SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:86)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms