Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22614

NPE in CDIProject.rebuildXML(CDIProject.java:1458)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.4.1.AM1
    • Component/s: cdi
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      I'm not able to reproduce using UI or without setting breakpoint (otherwise i have other failures in my test)

      Show
      I'm not able to reproduce using UI or without setting breakpoint (otherwise i have other failures in my test)

      Description

      I'm currently trying to write some integration tests and found this NPE in log.

      !ENTRY org.eclipse.core.resources 4 2 2016-06-17 15:43:54.521
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      !STACK 0
      java.lang.NullPointerException
      	at org.jboss.tools.cdi.internal.core.impl.CDIProject.rebuildXML(CDIProject.java:1458)
      	at org.jboss.tools.cdi.internal.core.impl.CDIProject.update(CDIProject.java:1214)
      	at org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext.applyWorkingCopy(DefinitionContext.java:442)
      	at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:267)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      i'm not sure about the impact yet.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  scabanovich Viacheslav Kabanovich
                  Reporter:
                  aurelien.pupier Aurélien Pupier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: