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

NPE in Kb Builder when restarting eclipse after frozen UI

    Details

    • Steps to Reproduce:
      Hide

      1. Create kitchensinck-angularjs project
      2. Restart eclipse
      3. Kill eclipse
      4. Start eclipse again

      Might be replicated only eclipse crash

      Show
      1. Create kitchensinck-angularjs project 2. Restart eclipse 3. Kill eclipse 4. Start eclipse again Might be replicated only eclipse crash

      Description

      eclipse.buildId=unknown
      java.version=1.8.0_45-internal
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data /home/eskimo/jbdevstudio-9.0.0.CR1-initial/ws -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      !ENTRY org.eclipse.core.resources 2 10035 2015-09-14 18:05:02.655
      !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
      
      !ENTRY org.eclipse.core.resources 4 2 2015-09-14 18:05:07.553
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      !STACK 0
      java.lang.ExceptionInInitializerError
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.fullBuild(KbBuilder.java:141)
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.build(KbBuilder.java:109)
      	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)
      Caused by: java.lang.NullPointerException
      	at org.jboss.tools.jst.web.kb.PageContextFactory.initDocumentListeners(PageContextFactory.java:173)
      	at org.jboss.tools.jst.web.kb.PageContextFactory.<init>(PageContextFactory.java:167)
      	at org.jboss.tools.jst.web.kb.PageContextFactory.<clinit>(PageContextFactory.java:131)
      	... 14 more
      
      !ENTRY org.jboss.tools.common.jdt.debug 1 0 2015-09-14 18:05:10.426
      !MESSAGE JDK root directory is found at /usr/lib/jvm/java-8-openjdk-amd64/jre/...
      
      !ENTRY org.eclipse.core.resources 4 2 2015-09-14 18:05:10.610
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jst.web.kb.PageContextFactory
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.fullBuild(KbBuilder.java:141)
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.build(KbBuilder.java:109)
      	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)
      
      !ENTRY org.eclipse.core.jobs 4 2 2015-09-14 18:05:12.974
      !MESSAGE An internal error occurred during: "JBoss Tools Project Validator".
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jst.web.kb.PageContextFactory
      	at org.jboss.tools.jsf.web.validation.composite.CompositeComponentValidator.validateResource(CompositeComponentValidator.java:189)
      	at org.jboss.tools.jsf.web.validation.composite.CompositeComponentValidator.validateAll(CompositeComponentValidator.java:168)
      	at org.jboss.tools.common.validation.ValidatorManager.validateAll(ValidatorManager.java:165)
      	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:84)
      	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      !ENTRY org.eclipse.core.jobs 4 2 2015-09-14 18:05:14.302
      !MESSAGE An internal error occurred during: "JBoss Tools Project Validator".
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jst.web.kb.PageContextFactory
      	at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:299)
      	at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateAll(ELValidator.java:241)
      	at org.jboss.tools.common.validation.ValidatorManager.validateAll(ValidatorManager.java:165)
      	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:84)
      	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      !ENTRY org.eclipse.core.resources 4 2 2015-09-14 18:05:17.563
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jst.web.kb.PageContextFactory
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.incrementalBuild(KbBuilder.java:150)
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.build(KbBuilder.java:115)
      	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)
      
      !ENTRY org.eclipse.core.resources 4 75 2015-09-14 18:05:17.651
      !MESSAGE Errors occurred during the build.
      !SUBENTRY 1 org.jboss.tools.jst.web.kb 4 75 2015-09-14 18:05:17.651
      !MESSAGE Errors running builder 'JBoss Knowledge Base Builder' on project 'jboss-kitchensink-angularjs'.
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jst.web.kb.PageContextFactory
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.incrementalBuild(KbBuilder.java:150)
      	at org.jboss.tools.jst.web.kb.internal.KbBuilder.build(KbBuilder.java:115)
      	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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  scabanovich Viacheslav Kabanovich
                  Reporter:
                  dgolovin Denis Golovin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: