[jboss-jira] [JBoss JIRA] Created: (GPD-309) CDATA sections in custom elements of actions with config-type="bean" cause a NPE in the jBPM GPD.
Roman Heinz (JIRA)
jira-events at lists.jboss.org
Fri Apr 10 04:27:22 EDT 2009
CDATA sections in custom elements of actions with config-type="bean" cause a NPE in the jBPM GPD.
-------------------------------------------------------------------------------------------------
Key: GPD-309
URL: https://jira.jboss.org/jira/browse/GPD-309
Project: JBoss jBPM GPD
Issue Type: Bug
Affects Versions: jBPM jPDL Designer 3.1.6
Environment: Eclipse 3.4.1
Reporter: Roman Heinz
Assignee: Koen Aers
CDATA sections in custom elements of actions with config-type="bean" cause a NPE in the jBPM GPD.
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.2"
name="simple">
<start-state name="start">
<transition name="to_state" to="first">
</transition>
</start-state>
<state name="first">
<event type="node-enter">
<action class="foo.Bar" name="fooAction" config-type="bean">
<rowdocid><![CDATA[ Test ]]></rowdocid>
</action>
</event>
<transition name="to_end" to="end">
</transition>
</state>
<end-state name="end"></end-state>
</process-definition>
Result:
java.lang.NullPointerException
at org.jbpm.gd.common.xml.GenericElementXmlAdapter.initialize(Unknown Source)
at org.jbpm.gd.common.xml.GenericElementXmlAdapter.doModelAdd(Unknown Source)
at org.jbpm.gd.common.xml.XmlAdapter.initialize(Unknown Source)
at org.jbpm.gd.common.xml.GenericElementXmlAdapter.initialize(Unknown Source)
at org.jbpm.gd.jpdl.xml.ActionDomAdapter.doModelAdd(Unknown Source)
at org.jbpm.gd.common.xml.XmlAdapter.initialize(Unknown Source)
at org.jbpm.gd.jpdl.xml.ActionDomAdapter.initialize(Unknown Source)
at org.jbpm.gd.jpdl.xml.EventDomAdapter.doModelAdd(Unknown Source)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list