Wells guo [
https://community.jboss.org/people/wguo] created the discussion
"Re: how to add deadline and escalation to the human task in process designer"
To view the discussion, visit:
https://community.jboss.org/message/831876#831876
--------------------------------------------------------------
Hi , Maciej
Now i add a notification to a human task , but when it exe , it reports the following
errors:
15:05:33,840 ERROR [org.jbpm.task.service.TaskService] (pool-13-thread-1) Operation
failed: java.lang.RuntimeException: Operation failed
at
org.jbpm.task.service.TaskServiceSession.executeEscalatedDeadline(TaskServiceSession.java:1206)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:290)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:426)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_09-icedtea]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
[rt.jar:1.7.0_09-icedtea]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.lang.NullPointerException
at
org.jbpm.task.service.DefaultEscalatedDeadlineHandler.buildMapByLanguage(DefaultEscalatedDeadlineHandler.java:321)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.DefaultEscalatedDeadlineHandler.executeEmailNotification(DefaultEscalatedDeadlineHandler.java:213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:197)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.executeEscalatedDeadline(TaskServiceSession.java:1191)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 9 more
when i track the source code , i see it reported from here :
method: executeEmailNotification
for ( OrganizationalEntity entity : notification.getBusinessAdministrators() ) {
I just define a notification without any config about BA , but it indeed go here , so can
you have any advice ?
Thanks !
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/831876#831876]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]