EventDispatchThread and NPE when compiling a project

Hello folks, I get a NullPointerException when I try to compile or make
a project.

Please see the following:

*************************************************************************
**
1/3

No message
java.lang.NullPointerException
at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:1)
at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:6)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:401)
at com.intellij.compiler.ModuleCompilerUtil.getReferenceModule(ModuleCompilerUtil.java:60)
at com.intellij.compiler.ModuleCompilerUtil.getDependencies(ModuleCompilerUtil.java:10)
at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:0)
at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:2)
at com.intellij.util.graph.CachingSemiGraph.(CachingSemiGraph.java:38) at com.intellij.util.graph.CachingSemiGraph.create(CachingSemiGraph.java:46) at com.intellij.compiler.ModuleCompilerUtil.createModuleGraph(ModuleCompilerUtil.java:9) at com.intellij.compiler.ModuleCompilerUtil.getSortedModuleChunks(ModuleCompilerUtil.java:23) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:689) at com.intellij.compiler.impl.CompileDriver.compile(CompileDriver.java:44) at com.intellij.compiler.CompilerManagerImpl.compile(CompilerManagerImpl.java:6) at com.intellij.javaee.module.view.web.ValidateJSPAction.actionPerformed(ValidateJSPAction.java:14) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:0) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:27) at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:91) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:28) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:3) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:82) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:102) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) ************************************************************************* ** 2/3 Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(107,449),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect### java.lang.NullPointerException at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:1) at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:0) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:0) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:6) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:401) at com.intellij.compiler.ModuleCompilerUtil.getReferenceModule(ModuleCompilerUtil.java:60) at com.intellij.compiler.ModuleCompilerUtil.getDependencies(ModuleCompilerUtil.java:10) at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:0) at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:2) at com.intellij.util.graph.CachingSemiGraph.(CachingSemiGraph.java:38) at com.intellij.util.graph.CachingSemiGraph.create(CachingSemiGraph.java:46) at com.intellij.compiler.ModuleCompilerUtil.createModuleGraph(ModuleCompilerUtil.java:9) at com.intellij.compiler.ModuleCompilerUtil.getSortedModuleChunks(ModuleCompilerUtil.java:23) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:689) at com.intellij.compiler.impl.CompileDriver.compile(CompileDriver.java:44) at com.intellij.compiler.CompilerManagerImpl.compile(CompilerManagerImpl.java:6) at com.intellij.compiler.CompilerManagerImpl.compile(CompilerManagerImpl.java:47) at com.intellij.compiler.actions.CompileAction.doAction(CompileAction.java:10) at com.intellij.compiler.actions.CompileActionBase.actionPerformed(CompileActionBase.java:2) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:0) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:27) at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:91) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:28) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:3) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:82) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:102) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) ************************************************************************* ** 3/3 No message java.lang.NullPointerException at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:1) at com.intellij.compiler.ModuleCompilerUtil$1.compute(ModuleCompilerUtil.java:0) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:0) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:6) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:401) at com.intellij.compiler.ModuleCompilerUtil.getReferenceModule(ModuleCompilerUtil.java:60) at com.intellij.compiler.ModuleCompilerUtil.getDependencies(ModuleCompilerUtil.java:10) at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:0) at com.intellij.compiler.ModuleCompilerUtil$3.getIn(ModuleCompilerUtil.java:2) at com.intellij.util.graph.CachingSemiGraph.]]>(CachingSemiGraph.java:38)
at com.intellij.util.graph.CachingSemiGraph.create(CachingSemiGraph.java:46)
at com.intellij.compiler.ModuleCompilerUtil.createModuleGraph(ModuleCompilerUtil.java:9)
at com.intellij.compiler.ModuleCompilerUtil.getSortedModuleChunks(ModuleCompilerUtil.java:23)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:689)
at com.intellij.compiler.impl.CompileDriver.make(CompileDriver.java:390)
at com.intellij.compiler.impl.CompileDriver.make(CompileDriver.java:821)
at com.intellij.compiler.CompilerManagerImpl.make(CompilerManagerImpl.java:63)
at com.intellij.compiler.actions.MakeModuleAction.doAction(MakeModuleAction.java:24)
at com.intellij.compiler.actions.CompileActionBase.actionPerformed(CompileActionBase.java:2)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:0)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:27)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:91)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:28)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:3)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:82)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:102)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

This applies to all Java EE Application, EJB and Web Modules that've
been created with an earlier version of Demetra.

This seem to got broken in #5350 as project compile/make routines worked
as expected before.

Can anyone confirm this?

Any ideas or pointers how to fix this? Or perhaps an existing JIRA issue
to support?

TIA, Tero

-- Tero


Please sign in to leave a comment.