Hi!

This may sound weird. 
This is my obesrvation (there may be some reason behind it and I would be glad 
if someone can tell me that)

In my action handler I am using methods 
1.executionContext.getContextInstance().getProcessInstance().getTaskMgmtInstance().getSwimlaneInstance(taskInstance.getSwimlaneInstance().getSwimlane().getName()).getActorId()
2.taskInstance.getName()
3.taskInstance.getSwimlaneInstance().getSwimlane().getName()
4.executionContext.getContextInstance().getProcessInstance()


methods (Just printing these variables)

My Process has 4 step 
start--> WE-->PI--> End
Swimlane WE is for user(ernie) and PI if for user(bert)
I am using action handler for WE step. (i.e. printing these variavles here)

When ernie or grover starts the process , I get correct output ;
i.e.
1. ernie
2.taskWE
3.WE
[EMAIL PROTECTED] (for e.g.)

But If Cookie Monster or bert start the process, I get output as 
1. Cookie Monster (or bert)
2. task (which is a start task)
3. Null  ( as there is no swimlane assigned for start task) 
4.Exception is :java.lang.NullPointerException

I dont understand why there is a difference in the output of the same program???
I would like to know any inputs in this regard.

B.T.W. 3.0.6 gpd is g8!

It somewhat related to http://jira.jboss.com/jira/browse/JBPM-500 
Thanks and Regards, 



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to