org.drools.core.RuntimeDroolsException: invalid package name

redhat.com | 4 months ago
  1. 0

    OptaPlanner CVRPTW - continuous deliveries

    Stack Overflow | 3 years ago | user2664655
    org.drools.core.RuntimeDroolsException: java.lang.NullPointerException

    Root Cause Analysis

    1. org.drools.core.RuntimeDroolsException

      invalid package name

      at org.jbpm.compiler.ProcessBuilderImpl.buildProcess()
    2. jBPM :: Flow Builder
      ProcessBuilderImpl.addProcessFromXml
      1. org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:198)
      2. org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:281)
      2 frames
    3. Drools :: Compiler
      KnowledgeBuilderImpl.add
      1. org.drools.compiler.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:700)
      2. org.drools.compiler.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:741)
      3. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
      4. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
      4 frames
    4. jBPM :: RuntimeManager
      RuntimeEnvironmentBuilder.addAsset
      1. org.jbpm.runtime.manager.impl.SimpleRuntimeEnvironment.addAsset(SimpleRuntimeEnvironment.java:104)
      2. org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.addAsset(RuntimeEnvironmentBuilder.java:281)
      2 frames
    5. com.sample
      ProcessJPATest.testProcess
      1. com.sample.ProcessJPATest.getRuntimeManager(ProcessJPATest.java:125)
      2. com.sample.ProcessJPATest.testProcess(ProcessJPATest.java:49)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:176)
      2. junit.framework.TestCase.runBare(TestCase.java:141)
      3. junit.framework.TestResult$1.protect(TestResult.java:122)
      4. junit.framework.TestResult.runProtected(TestResult.java:142)
      5. junit.framework.TestResult.run(TestResult.java:125)
      6. junit.framework.TestCase.run(TestCase.java:129)
      7. junit.framework.TestSuite.runTest(TestSuite.java:255)
      8. junit.framework.TestSuite.run(TestSuite.java:250)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      9 frames
    8. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      5 frames