[
http://jira.jboss.com/jira/browse/JBPM-309?page=all ]
Thomas Diesler resolved JBPM-309.
---------------------------------
Resolution: Out of Date
Do not throw NullPointerException if delegation class is unknown
----------------------------------------------------------------
Key: JBPM-309
URL:
http://jira.jboss.com/jira/browse/JBPM-309
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Reporter: Bernd Ruecker
Assigned To: Tom Baeyens
Priority: Optional
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
If we declare a action class in jBPM:
<transition name="xxxx">
<action
class="com.camunda.ccs.process.orderprocessing.OrderActions$PrintReceipts"/>
</transition>
And this class doesn't exist the follwoing exception is thrown:
Caused by: java.lang.NullPointerException
at org.jbpm.graph.def.Action.execute(Action.java:79)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:186)
... 26 more
I think, it would be much better to have a ClassNotFoundException!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira