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

NPE in latest DroolsBuilder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 5.4.0.Beta1
    • None
    • Eclipse
    • None

      NPE in error log (and error message in Problem view) when creating a new jBPM project using wizard:

      java.lang.NullPointerException
      at org.drools.eclipse.builder.DroolsBuilder.addKbaseFile(DroolsBuilder.java:535)
      at org.drools.eclipse.builder.DroolsBuilder.parseResource(DroolsBuilder.java:569)
      at org.drools.eclipse.builder.DroolsBuilder$DroolsBuildVisitor.visit(DroolsBuilder.java:468)
      at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:112)
      at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
      at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
      at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
      at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
      at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
      at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
      at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
      at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
      at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
      at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
      at org.drools.eclipse.builder.DroolsBuilder.fullBuild(DroolsBuilder.java:407)
      at org.drools.eclipse.builder.DroolsBuilder.build(DroolsBuilder.java:346)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)
      at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
      at org.eclipse.core.internal.resources.Project.build(Project.java:115)
      at org.jbpm.eclipse.wizard.project.NewJBPMProjectWizard$1.execute(NewJBPMProjectWizard.java:110)
      at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
      at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

              kverlaen@redhat.com Kris Verlaenen
              kverlaen@redhat.com Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: