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

Koen Aers (JIRA) jira-events at lists.jboss.org
Mon Jul 13 10:04:29 EDT 2009


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

Koen Aers updated GPD-309:
--------------------------

    Component/s: jpdl


> 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
>          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.1.8
>
>
> 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