My Oracle Support Banner

Oracle BPM Task Payload Update Is Throwing JAXBException (Doc ID 2495404.1)

Last updated on MARCH 26, 2019

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version, Human workflow (11g+)

Oracle BPM Task Payload Update is Throwing JAXBException

When updating a Human Task payload through the Oracle API, an exception is thrown: javax.xml.bind.UnmarshalException: java.lang.NullPointerException

oracle.bpel.services.workflow.task.model.Task.nativeTask.setPayloadAsElement();

Even get and set the same payload throws exception [ oracle.bpel.services.workflow.task.model.Task.nativeTask.setPayloadAsElement(nativeTask.getPayloadAsElement());]



ERROR
-----------------------
Caused by: javax.xml.bind.JAXBException : javax.xml.bind.UnmarshalException: java.lang.NullPointerException
  at oracle.bpel.services.workflow.task.model.ObjectFactory.unmarshal(ObjectFactory.java:332)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at oracle.xml.jaxb.JaxbUnmarshaller.unmarshal(JaxbUnmarshaller.java:396)
  at oracle.xml.jaxb.JaxbNode.populateAnyType(JaxbNode.java:581)
  at oracle.xml.jaxb.JaxbNode.populateAnyType(JaxbNode.java:544)
  at oracle.bpel.services.workflow.task.model.AnyTypeImpl.populateNodeArray(AnyTypeImpl.java:77)
  at oracle.xml.jaxb.JaxbNode.(JaxbNode.java:223)
  at oracle.bpel.services.workflow.task.model.AnyTypeImpl.(AnyTypeImpl.java:30)
  at oracle.bpel.services.workflow.task.model.CustomAnyTypeImpl.(CustomAnyTypeImpl.java:23)
  at oracle.bpel.services.workflow.task.model.ObjectFactory.createAnyType(ObjectFactory.java:365)
  at oracle.bpel.services.workflow.task.model.CustomTaskTypeImpl.setPayloadAsElement(CustomTaskTypeImpl.java:733)




Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.