IBM Support

"XmlPullParserException" is thrown during instance creation in Business Automation Manager Open Edition.

Troubleshooting


Problem

During instance creation, `org.xmlpull.v1.XmlPullParserException` is thrown from `org.jbpm.process.instance.ProcessRuntimeImpl.startProcess`.

Symptom

In the logs, a similar stack can be observed:
2023-02-29 01:23:45,678 ERROR [org.kie.server.remote.rest.casemgmt.AbstractCaseResource] (default task-12) Unexpected error during processing : com.thoughtworks.xstream.io.StreamException: 
	at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)
	at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
	at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
	at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
	at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
	at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)
	at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1321)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1312)
	at org.jbpm.process.core.datatype.impl.type.ObjectDataType.readValue(ObjectDataType.java:130)
	at org.jbpm.process.core.context.variable.VariableScope.validateVariable(VariableScope.java:113)
	at org.jbpm.process.instance.AbstractProcessInstanceFactory.createProcessInstance(AbstractProcessInstanceFactory.java:61)
	at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:311)
	at org.jbpm.process.instance.ProcessRuntimeImpl.createProcessInstance(ProcessRuntimeImpl.java:293)
	at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:276)
	at org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1859)
	at org.drools.core.command.runtime.process.StartCorrelatedProcessCommand.execute(StartCorrelatedProcessCommand.java:146)
	at org.drools.core.command.runtime.process.StartCorrelatedProcessCommand.execute(StartCorrelatedProcessCommand.java:44)
	...
Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not 2 (position: START_DOCUMENT seen 2... @1:2) 
	at io.github.xstream.mxparser.MXParser.parseProlog(MXParser.java:1528)
	at io.github.xstream.mxparser.MXParser.nextImpl(MXParser.java:1406)
	at io.github.xstream.mxparser.MXParser.next(MXParser.java:1104)
	at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
	... 142 more

 

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFVHI5","label":"IBM Business Automation Manager Open Editions"},"ARM Category":[{"code":"a8m3p000000LRU1AAO","label":"BPMN"}],"ARM Case Number":"TS013769403","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Business Automation Manager Open Editions

Component:
BPMN

Software version:
All Versions

Document number:
7030265

Modified date:
01 September 2023

UID

ibm17030265

Manage My Notification Subscriptions