[jboss-user] [jBPM] - Re: How to define deadlines and escalations for human tasks

Franklin Antony do-not-reply at jboss.com
Tue May 31 08:30:00 EDT 2011


Franklin Antony [http://community.jboss.org/people/frankee787] created the discussion

"Re: How to define deadlines and escalations for human tasks"

To view the discussion, visit: http://community.jboss.org/message/607890#607890

--------------------------------------------------------------
Finally got it working..... a bit. However, I am not using any processes. Just creating task and setting all those deadline things. The emails are being sent out as notifications but I get a NullPointerException like this.


java.lang.NullPointerException
          at org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem(EmailWorkItemHandler.java:94)
          at org.jbpm.task.service.DefaultEscalatedDeadlineHandler.executeEmailNotification(DefaultEscalatedDeadlineHandler.java:235)
          at org.jbpm.task.service.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:118)
          at org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
          at org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

I believe this is because I am not setting any WorkItemManager, which I dont have because I dont have any process.

Is my understanding correct.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/607890#607890]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110531/44838971/attachment.html 


More information about the jboss-user mailing list