Invocation failing with parsing errors ArrayIndexOutOfBoundsException or NPE (Doc ID 1408804.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.5.0 and later
Information in this document applies to any platform.
***Checked for relevance on 23-July-2013***

Symptoms


Synchronous BPEL process calls another asynchronous BPEL process inside the same composite and this one executes Synchronous external Web Service. The response is failing in the asynchronous BPEL process invocation to the external web service. You will see this errors on the logs:


####<Aug 9, 2011 8:33:56 AM EDT> <Error> <oracle.webservices.service> <vmaisspsoa2.rogers.com> <Admin3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <845b9b639ad9e3b4:1c19aaeb:131ae7430ec:-8000-0000000000000723> <1312893236630> <OWS-04086> <javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1052)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:889)


####<Jul 15, 2011 1:06:50 PM EDT> <Error> <oracle.soa.bpel.engine> <vmaisspsoa2.rogers.com> <Admin3> <orabpel.engine.pool-5.thread-24> <> <BEA1-11A82A96AA043E335922> <845b9b639ad9e3b4:1eca3b9a:1312eb74ba2:-8000-000000000000068a> <1310749610187> <BEA-000000> <failed to format details ...
<BEA-000000> <failed to format details ...
java.lang.NullPointerException
at oracle.xml.binxml.BinXMLDecodeReader.nextDecodeStream(BinXMLDecodeReader.java:794)
at oracle.xml.binxml.BinXMLDecodeReader.nextByte(BinXMLDecodeReader.java:301)
at oracle.xml.binxml.BinXMLInfosetReader.hasNext(BinXMLInfosetReader.java:448)
at oracle.xml.parser.v2.XMLDocument.getNextOffset(XMLDocument.java:3979)
at oracle.xml.parser.v2.XMLElement.xdkGetNextNode(XMLElement.java:3928)
at oracle.xml.parser.v2.XMLNode.getNextSibling(XMLNode.java:920)
...

<failed to format details ...
java.lang.ArrayIndexOutOfBoundsException: 1
at oracle.sql.NUMBER.toString(NUMBER.java:841)at
oracle.xml.binxml.BinXMLDecodeReader.getEventText(BinXMLDecodeReader.java:3539)
at oracle.xml.binxml.BinXMLInfosetReader.getValue(BinXMLInfosetReader.java:631)
at oracle.xml.parser.v2.XMLText.readNodeInfo(XMLText.java:994)
at oracle.xml.parser.v2.XMLDocument.createNodeFromOffset(XMLDocument.java:3964)
at oracle.xml.parser.v2.XMLText.xdkGetNextNode(XMLText.java:1201)
at oracle.xml.parser.v2.XMLNode.getNextSibling(XMLNode.java:920)
at oracle.xml.parser.v2.XMLPrintDriver.internalPrintChildNodes(XMLPrintDriver.java:634)
at oracle.xml.parser.v2.XMLPrintDriver.internalPrintElement(XMLPrintDriver.java:371)
at oracle.xml.parser.v2.ScalableDOMPrintDriver.internalPrintElement(ScalableDOMPrintDriver.java:113)
at oracle.xml.parser.v2.XMLPrintDriver.printElement(XMLPrintDriver.java:268)
at com.collaxa.cube.xml.dom.DOMUtil.xmlNode2String(DOMUtil.java:663)
at com.collaxa.cube.xml.dom.DOMUtil.toXML(DOMUtil.java:636)at
...




IMPORTANT:

This only happens if audit level is ON. If you set audit level off you don't see any errors.

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