[jboss-user] [JBoss jBPM] - hosting jbpm in console application
ashiiid
do-not-reply at jboss.com
Thu Jul 13 06:56:37 EDT 2006
Hi,
I 'm trying to host jbpm in console application . I've chosen a "jbpm process " project and i added a java file with a main method . i can get the JbpmContext through :
jbpmContext=JbpmContext.getCurrentJbpmContext();
But when i try to set the actor id or get the TaskMgmtSession i face a java.lang.NullPointerException .
JbpmContext.getCurrentJbpmContext().setActorId("test");
TaskMgmtSession = jbpmContext.getTaskMgmtSession();
Can any one help me .
Regards ,
Samid .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957686#3957686
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957686
More information about the jboss-user
mailing list