Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3647

NullPointerException in jbpm-console when retrieving process definitions from guvnor

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jBPM 5.3
    • Fix Version/s: jBPM 5.4.0.Beta1
    • Component/s: Console, Designer
    • Labels:
      None
    • Environment:

      Windows 7, 4GB RAM, INTEL i7

    • Steps to Reproduce:
      Hide

      After creating a process in Guvnor designer, validating it, creating forms and image etc. I build the package.
      I login to jbpm-console with krisv login and pass.
      Than I go to Process Overview.
      error popup comes with exception. If it doesn't then click refresh button and it should popup.

      Project build localy from git. compiled bpm-console with new version 2.3.3-SNAPSHOT, compiled jbpm project and flow builder projects. Used installer from this build to install demo. before installing demo I put bin,human-task, gwt-console and form-builder war/zip-s in installator/lib directory. then ant install.demo.noeclipse and ant start.demo.noeclipse.
      So the jbpm version is 5.4.0-SNAPSHOT
      Exception:
      java.lang.NullPointerException
      org.jbpm.integration.console.StatefulKnowledgeSessionUtil.checkPackagesFromGuvnor(StatefulKnowledgeSessionUtil.java:447)
      org.jbpm.integration.console.CommandDelegate.getProcesses(CommandDelegate.java:67)
      org.jbpm.integration.console.ProcessManagement.getProcessDefinitions(ProcessManagement.java:42)
      org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125)

      Show
      After creating a process in Guvnor designer, validating it, creating forms and image etc. I build the package. I login to jbpm-console with krisv login and pass. Than I go to Process Overview. error popup comes with exception. If it doesn't then click refresh button and it should popup. Project build localy from git. compiled bpm-console with new version 2.3.3-SNAPSHOT, compiled jbpm project and flow builder projects. Used installer from this build to install demo. before installing demo I put bin,human-task, gwt-console and form-builder war/zip-s in installator/lib directory. then ant install.demo.noeclipse and ant start.demo.noeclipse. So the jbpm version is 5.4.0-SNAPSHOT Exception: java.lang.NullPointerException org.jbpm.integration.console.StatefulKnowledgeSessionUtil.checkPackagesFromGuvnor(StatefulKnowledgeSessionUtil.java:447) org.jbpm.integration.console.CommandDelegate.getProcesses(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.getProcessDefinitions(ProcessManagement.java:42) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125)
    • Workaround Description:
      Hide

      no workarounds found.

      Show
      no workarounds found.
    • Bugzilla Update:
      Perform

      Description

      Impossible to load process definitions in jbpm-console from guvnor repo

        Gliffy Diagrams

          Attachments

          1. JBPM-3647.log
            15 kB
          2. server.log
            245 kB
          3. Simple1.bpmn2
            4 kB

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                heathcliff Adam Bach
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: