Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8067

NullPointerException when using persistence with flexible-process-springboot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.29.0.Final
    • None
    • Core Engine
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2022 Week 38-40 (from Sept 19)

      2022-09-30 08:54:25.060 INFO 2172 — [0-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
      2022-09-30 08:54:25.060 INFO 2172 — [0-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
      2022-09-30 08:54:25.061 INFO 2172 — [0-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
      2022-09-30 08:54:26.650 ERROR 2172 — [0-auto-1-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: Error while unmarshalling process instance] with root cause

      java.lang.NullPointerException: null
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.getNode(NodeInstanceImpl.java:159) ~[jbpm-flow-1.27.0.Final.jar:1.27.0.Final]
      at org.jbpm.workflow.instance.node.CompositeContextNodeInstance.getCompositeContextNode(CompositeContextNodeInstance.java:41) ~[jbpm-flow-1.27.0.Final.jar:1.27.0.Final]
      at org.jbpm.workflow.instance.node.CompositeContextNodeInstance.getContextInstance(CompositeContextNodeInstance.java:57) ~[jbpm-flow-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader.buildWorkflowContext(ProtobufProcessInstanceReader.java:518) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader.buildDynamicNodeInstance(ProtobufProcessInstanceReader.java:322) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader.buildNodeInstance(ProtobufProcessInstanceReader.java:240) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader.buildWorkflow(ProtobufProcessInstanceReader.java:164) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader.read(ProtobufProcessInstanceReader.java:115) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceMarshaller.readProcessInstance(ProtobufProcessInstanceMarshaller.java:47) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.ProcessInstanceMarshallerService.unmarshallProcessInstance(ProcessInstanceMarshallerService.java:122) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.serialization.process.ProcessInstanceMarshallerService.unmarshallProcessInstance(ProcessInstanceMarshallerService.java:129) ~[process-serialization-protobuf-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.persistence.postgresql.PostgresqlProcessInstances.findById(PostgresqlProcessInstances.java:131) ~[kogito-addons-persistence-postgresql-1.27.0.Final.jar:1.27.0.Final]
      at org.kie.kogito.process.ProcessInstances.findById(ProcessInstances.java:24) ~[kogito-api-1.27.0.Final.jar:1.27.0.Final]

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: