-
Bug
-
Resolution: Done
-
Critical
-
6.0.3
-
None
-
Release Notes
-
-
-
-
-
-
CR1
-
+
Description of problem:
Tasks with ID higher than 1000 does not being completed and the error is shown in the Firefox java script console: uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: For input string: "1,005"
Print screen attached.
Version-Release number of selected component (if applicable):
jbpms-6.0.2
jbpms-6.0.3
We tested in the versions above.
How reproducible, Steps to Reproduce:
I created a simple project with only one human task, deployed the project and started 1002 instances of it using the following script:
for i in `seq 0 1001`
do
curl -X POST -u 'user:password' http://localhost:8080/business-central/rest/runtime/
/process/
{ProcessID}/start
done
In my case curl is as follows:
curl -X POST -u 'jesuino:redhat2014!' http://localhost:8080/business-central/rest/runtime/com.redhat.gss.bpms:test-lots-ht:1.0/process/test-lots-ht.simple-ht-process/start
You need to replace user, password, deploymentId and processID with the parameters of your environment. Make use user is an actor of the human task.
When when I go to Tasks -> Tasks List, I see more than 1000 tasks tasks waiting to be completed. When I click on a task with more ID bigger than 1000 start it and and click in complete, I can see the mentioned error in the javascript console.
Actual results:
In the business-central at the Task List, the task should be completed but instead the error is shown in the javascript console:
com.google.gwt.event.shared.UmbrellaException: Exception caught: For input string: "1,005"
Expected results:
Task should be completed.
Additional info:
As workaround we can use this curl -X POST -u 'user:password' http://localhost:8080/business-central/rest/task/taskId/complete
But if the task receive parameters, this workaround will not work.
- blocks
-
RHBPMS-649 [6.0.3.RP#2] Tasks with ID higher than 1000 does not being completed
- Verified
-
RHBPMS-1789 [GSS] (6.1.z) Tasks with ID higher than 1000 does not being completed
- Verified
- is duplicated by
-
RHBPMS-649 [6.0.3.RP#2] Tasks with ID higher than 1000 does not being completed
- Verified
-
RHBPMS-1789 [GSS] (6.1.z) Tasks with ID higher than 1000 does not being completed
- Verified