Bug 1067591 - 'Unexpected error encountered: java.lang.NullPointerException' when completing a human task
Summary: 'Unexpected error encountered: java.lang.NullPointerException' when completin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER2
: 6.0.1
Assignee: Jan
QA Contact: Jiri Svitak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-20 16:50 UTC by Jiri Svitak
Modified: 2014-08-06 20:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:01:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
NPE-task-complete.png (52.35 KB, image/png)
2014-02-20 16:50 UTC, Jiri Svitak
no flags Details
escalation process (6.96 KB, application/xml)
2014-02-20 16:55 UTC, Marek Baluch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1069117 0 high CLOSED Modal with NPE shown after comleting a Human Task in task list 2021-02-22 00:41:40 UTC

Internal Links: 1069117

Description Jiri Svitak 2014-02-20 16:50:41 UTC
Created attachment 865620 [details]
NPE-task-complete.png

'Unexpected error encountered: java.lang.NullPointerException' when completing a human task in BPMS 6.0.1.ER1. See the attached screenshot. There is no error in server log.

I have added user guest (guest=b5d048a237bfd2874b6928e1f37ee15e) of group admin. I have prepared my environment using these REST commands:

curl -X POST -u "guest:guest" -H "Content-Type: application/json" -d '{"name":"jbpm-playground","description":"","userName":"","password":"","requestType":"new","gitURL":""}' http://localhost:8080/business-central/rest/repositories/

curl -X POST -u "guest:guest" -H "Content-Type: application/json" -d '{"name":"bpms-assets","description":"","userName":"","password":"","requestType":"clone","gitURL":"git://git.app.eng.bos.redhat.com/bpms-assets.git"}' http://localhost:8080/business-central/rest/repositories/

curl -X POST -u "guest:guest" -H "Content-Type: application/json" -d '{"name":"qe","description":"","owner":"guest"}' http://localhost:8080/business-central/rest/organizationalunits/

curl -X POST -u "guest:guest" -H "Content-Type: application/json" http://localhost:8080/business-central/rest/organizationalunits/qe/repositories/bpms-assets/

curl -X POST -u "guest:guest" -H "Content-Type: application/json" -d '{"name":"","value":""}' http://localhost:8080/business-central/rest/repositories/bpms-assets/projects/bpms-perf/maven/deploy/

I used GUI to start the HumanTask process and to start and complete a human task. The human task is completed and process instance correctly ends, so there seems to be no problem related to functionality.

My env:
BPMS 6.0.1.ER1

Comment 1 Marek Baluch 2014-02-20 16:55:59 UTC
Created attachment 865622 [details]
escalation process

Comment 2 Marek Baluch 2014-02-20 16:57:03 UTC
The attached process can be used to reproduce this issue.

Comment 3 Jan Hrcek 2014-02-27 10:50:08 UTC

*** This bug has been marked as a duplicate of bug 1069117 ***

Comment 4 Jan 2014-02-27 11:49:34 UTC
Fixed in 6.0.x:

- https://github.com/droolsjbpm/jbpm-console-ng/commit/be236a4b3cf922e61ccbd2a34f6a6333e7737389 (Note: this commit does NOT need to be cherry-picked into master, the change it implies was already applied there!)

- https://github.com/droolsjbpm/jbpm-console-ng/commit/9b2d8494a9c5ba095ce67a9c3e5ca04c3407b81f


Master:

http://github.com/droolsjbpm/jbpm-console-ng/commit/7b67e117c

Comment 5 Jiri Svitak 2014-03-04 11:39:36 UTC
Verified in BPMS 6.0.1.ER2.


Note You need to log in before you can comment on or make changes to this bug.