Validate XML in BPEL ProcesssFailing With Null Pointer Exception (Doc ID 1082923.1)

Last updated on NOVEMBER 01, 2010

Applies to:

Oracle(R) BPEL Process Manager - Version: 11.1.1.2.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Symptoms


You have a schema and extend one of  the element attributes, but when you use validate xml in your BPEL process to validate the incoming XML document, it throws a null pointer exception at the element with the extended attribute:

0nulljava.lang.NullPointerException
at
oracle.xml.parser.schema.XSDValidator$State.getSimpleType(XSDValidator.java:17
68)
at oracle.xml.parser.schema.XSDValidator.chars(XSDValidator.java:1219)
at oracle.xml.parser.schema.XSDValidator.endElement(XSDValidator.java:826)
at oracle.xml.parser.v2.XMLElement.reportEndElement(XMLElement.java:3701)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3553)
at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3562)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3552)
at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3562)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3552)
at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3562)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3552)
at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3562)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:2684)
at oracle.xml.parser.v2.XMLElement.validateContent(XMLElement.java:2850)
at oracle.xml.parser.v2.XMLElement.validateContent(XMLElement.java:2769)
...


In this case, the customer had an OAGIS BOD and extended one of the element attributes. The same thing works in 10.1.3.3.1.

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