[
https://jira.jboss.org/browse/JBPM-2882?page=com.atlassian.jira.plugin.sy...
]
Maciej Swiderski updated JBPM-2882:
-----------------------------------
Fix Version/s: jBPM 4.4
NPE when parsing invalid script activity xml
--------------------------------------------
Key: JBPM-2882
URL:
https://jira.jboss.org/browse/JBPM-2882
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Reporter: M M
Assignee: Maciej Swiderski
Fix For: jBPM 4.4
Attachments: process.jpdl.xml
When attempting to deploy a process definition containing an invalid script element, the
ScriptBinding throws a NPE rather than giving a meaningful error. This manifests itself as
other unrelated errors that make no sense.
Caused by: java.lang.NullPointerException
at org.jbpm.pvm.internal.util.XmlUtil.getContentText(XmlUtil.java:237)
at
org.jbpm.jpdl.internal.activity.ScriptBinding.parseJpdl(ScriptBinding.java:56)
at org.jbpm.jpdl.internal.activity.JpdlBinding.parse(JpdlBinding.java:52)
at org.jbpm.jpdl.internal.xml.JpdlParser.parseActivities(JpdlParser.java:317)
at
org.jbpm.jpdl.internal.xml.JpdlParser.parseDocumentElement(JpdlParser.java:248)
at org.jbpm.pvm.internal.xml.Parser.parseDocument(Parser.java:476)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:396)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)
at
org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:68)
at
org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira