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

NPE when validating process

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jBPM 6.0.0.CR1
    • jBPM 6.0.0.Beta5
    • Runtime Engine
    • None

      When validating the BPMN process (attached), the following NPE is generated.

      15:23:49,349 ERROR [stderr] (pool-14-thread-1) java.lang.NullPointerException
      15:23:49,350 ERROR [stderr] (pool-14-thread-1) at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateNodes(RuleFlowProcessValidator.java:197)
      15:23:49,350 ERROR [stderr] (pool-14-thread-1) at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateProcess(RuleFlowProcessValidator.java:125)
      15:23:49,350 ERROR [stderr] (pool-14-thread-1) at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateProcess(RuleFlowProcessValidator.java:592)
      15:23:49,350 ERROR [stderr] (pool-14-thread-1) at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:117)
      15:23:49,351 ERROR [stderr] (pool-14-thread-1) at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:260)
      15:23:49,351 ERROR [stderr] (pool-14-thread-1) at org.drools.compiler.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:693)
      15:23:49,351 ERROR [stderr] (pool-14-thread-1) at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildResources(CompositeKnowledgeBuilderImpl.java:131)
      15:23:49,351 ERROR [stderr] (pool-14-thread-1) at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:74)
      15:23:49,352 ERROR [stderr] (pool-14-thread-1) at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.buildChanges(KieBuilderSetImpl.java:117)
      15:23:49,352 ERROR [stderr] (pool-14-thread-1) at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.build(KieBuilderSetImpl.java:71)
      15:23:49,352 ERROR [stderr] (pool-14-thread-1) at org.guvnor.common.services.builder.Builder.addResource(Builder.java:169)
      15:23:49,352 ERROR [stderr] (pool-14-thread-1) at org.guvnor.common.services.builder.Builder.updateResource(Builder.java:216)
      15:23:49,353 ERROR [stderr] (pool-14-thread-1) at org.guvnor.common.services.builder.BuildServiceImpl.updatePackageResource(BuildServiceImpl.java:174)
      15:23:49,353 ERROR [stderr] (pool-14-thread-1) at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$$$_WeldClientProxy.updatePackageResource(BuildServiceImpl$Proxy$$$_WeldClientProxy.java)
      15:23:49,353 ERROR [stderr] (pool-14-thread-1) at org.guvnor.common.services.builder.BuildChangeListener$4.run(BuildChangeListener.java:224)
      15:23:49,353 ERROR [stderr] (pool-14-thread-1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      15:23:49,354 ERROR [stderr] (pool-14-thread-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      15:23:49,354 ERROR [stderr] (pool-14-thread-1) at java.lang.Thread.run(Thread.java:722)

              swiderski.maciej Maciej Swiderski (Inactive)
              pzapataf@redhat.com Pedro Zapata Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: