Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2030

Tasks with ID higher than 1000 does not being completed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.2.0
    • 6.0.3
    • Business Central
    • None

      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/

      {DeploymentID}

      /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.

              msalatin Mauricio Salatino (Inactive)
              rhn-support-fspolti Filippe Spolti
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Alessandro Lazarotti, Anton Giertli, Gary Hu, Kris Verlaenen, Marek Baluch, Mauricio Salatino (Inactive), Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: