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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...