[jboss-jira] [JBoss JIRA] (GPD-309) CDATA sections in custom elements of actions with config-type="bean" cause a NPE in the jBPM GPD.

Koen Aers (JIRA) issues at jboss.org
Mon Sep 5 10:56:00 EDT 2016


     [ https://issues.jboss.org/browse/GPD-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers resolved GPD-309.
---------------------------
    Resolution: Out of Date


> CDATA sections in custom elements of actions with config-type="bean" cause a NPE in the jBPM GPD.
> -------------------------------------------------------------------------------------------------
>
>                 Key: GPD-309
>                 URL: https://issues.jboss.org/browse/GPD-309
>             Project: jBPM GPD
>          Issue Type: Bug
>          Components: jpdl
>    Affects Versions: jBPM jPDL Designer 3.1.6
>         Environment: Eclipse 3.4.1
>            Reporter: Roman Heinz
>            Assignee: Koen Aers
>             Fix For: jBPM jPDL Designer 3.2
>
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list