Hello, Im trying to create a webapp to run with JBPM, so far I just have a 
login that verifies a user and then tries to set the actorId of the jbpmContext 
to that same user. I have a servlet that executes the following code

  | String userName = req.getParameter("userName");
  | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  | jbpmContext.setActorId(userName);           
  | context.getRequestDispatcher("/mainPage.jsp").forward(req, resp);
  | 

the problem I have is that whenever the execution gets to: 
"jbpmContext.setActorId" trows a exception nullPointerException, I guess its 
the jbpmContext but I dont know why.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958795
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to