Uploaded image for project: 'BPM Console'
  1. BPM Console
  2. BPMC-20

Parse error on process instance with two active nodes

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: BPM Console 1.1
    • Fix Version/s: BPM Console 1.2
    • Component/s: None
    • Labels:
      None

      Description

      Joram wrote:

      I was testing some random process just now.
      The process is really simple:

      start -> Fork

      { taskA, taskB }

      -> Join -> End.

      When I try to load the processInstances list of this process, I get an empty list (there are however some executions in the DB).
      I do however get the following error message in the 'Messages' panel at the bottom of the console:

      [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/JoramTestProcess-1/instances
      [DEBUG] parse {"id":"JoramTestProcess.5", "definitionId":"JoramTestProcess-1", "startDate":"2009-09-14 15:59:17", "suspended":false, "rootToken":{"id":"JoramTestProcess.5", "children":[

      {"id":"JoramTestProcess.5.left", "name":"left", "currentNodeName":"left", "children":[], "availableSignals":[], "canBeSignaled":true}

      ,

      {"id":"JoramTestProcess.5.right", "name":"right", "currentNodeName":"right", "children":[], "availableSignals":[], "canBeSignaled":true}

      ], "availableSignals":[], "canBeSignaled":true}}
      [DEBUG] parse {"id":"JoramTestProcess.5", "children":[

      {"id":"JoramTestProcess.5.left", "name":"left", "currentNodeName":"left", "children":[], "availableSignals":[], "canBeSignaled":true}

      ,

      {"id":"JoramTestProcess.5.right", "name":"right", "currentNodeName":"right", "children":[], "availableSignals":[], "canBeSignaled":true}

      ], "availableSignals":[], "canBeSignaled":true}
      [FATAL] Uncaught Exception:
      com.google.gwt.core.client.JavaScriptException:
      (TypeError): this$static is null
      fileName: http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html
      lineNumber: 31442
      stack: org_jboss_bpm_console_client_util_JSONWalk$JSONWrapper_$asString__Lorg_jboss_bpm_console_client_util_JSONWalk$JSONWrapper_2(null)@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:31442
      org_jboss_bpm_console_client_model_DTOParser_parseTokenReference__Lcom_google_gwt_json_client_JSONObject_2([object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:27027
      org_jboss_bpm_console_client_model_DTOParser_parseProcessInstance__Lcom_google_gwt_json_client_JSONValue_2([object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:26935
      org_jboss_bpm_console_client_model_DTOParser_parseProcessInstances__Lcom_google_gwt_json_client_JSONValue_2([object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:26945
      org_jboss_bpm_console_client_process_UpdateInstancesAction_handleSuccessfulResponse__Lcom_mvc4g_client_Controller_2Ljava_lang_Object_2Lcom_google_gwt_http_client_Response_2([object Object],[object Object],[object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:29319
      org_jboss_bpm_console_client_common_AbstractRESTAction$1_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2([object Object],[object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:25341
      com_google_gwt_http_client_Request_$fireOnResponseReceivedImpl__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2([object Object],[object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:3067
      com_google_gwt_http_client_Request_$fireOnResponseReceivedAndCatch__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_core_client_GWT$UncaughtExceptionHandler_2Lcom_google_gwt_http_client_RequestCallback_2([object Object],[object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:3038
      com_google_gwt_http_client_Request_fireOnResponseReceived__Lcom_google_gwt_http_client_RequestCallback_2([object Object])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:3098
      ([object Event])@http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/8A4D128A2BE23C2AF93ED4117B2F3E0E.cache.html:3372

      Any idea what's going wrong here? Could the trouble be that there are 2 active nodes for the given process instance?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                heiko.braun Heiko Braun
                Reporter:
                heiko.braun Heiko Braun
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: