[jboss-dev-forums] [Design of JBoss jBPM] - Re: releasing 3.2.Beta1

david.lloyd@jboss.com do-not-reply at jboss.com
Wed Jan 3 12:56:42 EST 2007


Along the way to verifying this I ran across what looks like a separate bug.  I made a process with no tasks in it at all.  When you start such a process it should run right through and immediately exit the process.  However, what is actually happening is that the TaskMgmtInstance is creating a kind of null task instance that is getting assigned (thus generating an entry in the assignment logs).  This task instance has mostly null property values so everything is generating NPEs when trying to view the task.

Shouldn't "taskMgmtInstance.createStartTaskInstance();" return null and not add a task if there is no start task instance?  Also, why is this step even necessary?  I would think that task instances should be created automatically when a node is entered.

Any clarification is appreciated.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997642#3997642

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997642



More information about the jboss-dev-forums mailing list