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

Null pointer exception when retrieving empty task content via REST

XMLWordPrintable

      The following stack trace shows the problem:

      16:31:30,854 WARN  [org.jbpm.services.task.persistence.TaskTransactionInterceptor] (http-localhost/127.0.0.1:8080-7) Could not commit session: java.lang.NullPointerException
              at org.jbpm.services.task.impl.model.xml.JaxbContent.initialize(JaxbContent.java:54) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.jbpm.services.task.impl.model.xml.JaxbContent.<init>(JaxbContent.java:45) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.kie.services.remote.util.ExecuteAndSerializeCommand.execute(ExecuteAndSerializeCommand.java:31) [kie-services-remote-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.jbpm.services.task.commands.TaskCommandExecutorImpl$SelfExecutionCommandService.execute(TaskCommandExecutorImpl.java:65) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.jbpm.services.task.persistence.TaskTransactionInterceptor.execute(TaskTransactionInterceptor.java:54) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.jbpm.services.task.commands.TaskCommandExecutorImpl.execute(TaskCommandExecutorImpl.java:40) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.jbpm.services.task.impl.command.CommandBasedTaskService.execute(CommandBasedTaskService.java:128) [jbpm-human-task-core-6.0.2-redhat-6.jar:6.0.2-redhat-6]
              at org.kie.services.remote.cdi.ProcessRequestBean.doTaskOperation(ProcessRequestBean.java:150) [kie-services-remote-6.0.2-redhat-6.jar:6.0.2-redhat-6]
      

            marco.rietveld Marco Rietveld (Inactive)
            marco.rietveld Marco Rietveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: