IG NPEs in recent builds

I'm seeing the following NPE quite often in recent builds:

I've submitted a number of these to the exception tracker.
Is this a known issue? It occurs when I try to run an inspection (any scope).

-


Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(57,8),button=1,modifiers=Button1,clickCount=1]
on ###overrideRedirect###
java.lang.NullPointerException
at com.intellij.codeInspection.deadCode.DeadCodeInspection.cleanup(DeadCodeInspection.java:91)
at com.intellij.codeInspection.ex.InspectionProfileImpl.cleanup(InspectionProfileImpl.java:211)
at com.intellij.codeInspection.ex.InspectionManagerEx.a(InspectionManagerEx.java:195)
at com.intellij.codeInspection.ex.InspectionManagerEx.close(InspectionManagerEx.java:94)
at com.intellij.codeInspection.ex.InspectionManagerEx.doInspections(InspectionManagerEx.java:274)
at com.intellij.codeInspection.actions.CodeInspectionAction.analyze(CodeInspectionAction.java:3)
at com.intellij.analysis.BaseAnalysisAction.actionPerformed(BaseAnalysisAction.java:43)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:6)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:6)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:174)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:69)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:4)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:104)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:23)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:111)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)



3 comments
Comment actions Permalink

It's not IG. Comes from core IDEA inspection. Will look into shortly.
-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

I'm seeing the following NPE quite often in recent builds:

I've submitted a number of these to the exception tracker. Is this a
known issue? It occurs when I try to run an inspection (any scope).

------------------------------------------------------------
Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(57,8),button=1,modifiers=But
ton1,clickCount=1]
on ###overrideRedirect###
java.lang.NullPointerException
at
com.intellij.codeInspection.deadCode.DeadCodeInspection.cleanup(DeadCo
deInspection.java:91)
at
com.intellij.codeInspection.ex.InspectionProfileImpl.cleanup(Inspectio
nProfileImpl.java:211)
at
com.intellij.codeInspection.ex.InspectionManagerEx.a(InspectionManager
Ex.java:195)
at
com.intellij.codeInspection.ex.InspectionManagerEx.close(InspectionMan
agerEx.java:94)
at
com.intellij.codeInspection.ex.InspectionManagerEx.doInspections(Inspe
ctionManagerEx.java:274)
at
com.intellij.codeInspection.actions.CodeInspectionAction.analyze(CodeI
nspectionAction.java:3)
at
com.intellij.analysis.BaseAnalysisAction.actionPerformed(BaseAnalysisA
ction.java:43)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitte
r.actionPerformed(ActionMenuItem.java:6)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:178
6)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerfor
med(ActionMenuItem.java:6)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:174)
at
com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:6
9)
at
com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleas
ed(BegMenuItemUI.java:4)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java
:104)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:23)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:111)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)



0
Comment actions Permalink

Hello Maxim,

The exception seems to occur whenever I run an inspection with a profile
other than the default.
Running inspection with an copied or inherited profile (from Default) will
trigger the exception.

It's not IG. Comes from core IDEA inspection. Will look into shortly.
-------------------
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"




0
Comment actions Permalink

Hello Maxim,

Seems fixed for me in #3281

It's not IG. Comes from core IDEA inspection. Will look into shortly.
-------------------
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

>> I'm seeing the following NPE quite often in recent builds:
>>
>> I've submitted a number of these to the exception tracker. Is this a
>> known issue? It occurs when I try to run an inspection (any scope).
>>
>> -


>> Error during dispatching of
>> java.awt.event.MouseEvent[MOUSE_RELEASED,(57,8),button=1,modifiers=Bu
>> t
>> ton1,clickCount=1]
>> on ###overrideRedirect###
>> java.lang.NullPointerException
>> at
>> com.intellij.codeInspection.deadCode.DeadCodeInspection.cleanup(DeadC
>> o
>> deInspection.java:91)
>> at
>> com.intellij.codeInspection.ex.InspectionProfileImpl.cleanup(Inspecti
>> o
>> nProfileImpl.java:211)
>> at
>> com.intellij.codeInspection.ex.InspectionManagerEx.a(InspectionManage
>> r
>> Ex.java:195)
>> at
>> com.intellij.codeInspection.ex.InspectionManagerEx.close(InspectionMa
>> n
>> agerEx.java:94)
>> at
>> com.intellij.codeInspection.ex.InspectionManagerEx.doInspections(Insp
>> e
>> ctionManagerEx.java:274)
>> at
>> com.intellij.codeInspection.actions.CodeInspectionAction.analyze(Code
>> I
>> nspectionAction.java:3)
>> at
>> com.intellij.analysis.BaseAnalysisAction.actionPerformed(BaseAnalysis
>> A
>> ction.java:43)
>> at
>> com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitt
>> e
>> r.actionPerformed(ActionMenuItem.java:6)
>> at
>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
>> 8
>> 6)
>> at
>> com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerfo
>> r
>> med(ActionMenuItem.java:6)
>> at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:174)
>> at
>> com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:
>> 6
>> 9)
>> at
>> com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseRelea
>> s
>> ed(BegMenuItemUI.java:4)
>> at java.awt.Component.processMouseEvent(Component.java:5100)
>> at java.awt.Component.processEvent(Component.java:4897)
>> at java.awt.Container.processEvent(Container.java:1569)
>> at java.awt.Component.dispatchEventImpl(Component.java:3615)
>> at java.awt.Container.dispatchEventImpl(Container.java:1627)
>> at java.awt.Component.dispatchEvent(Component.java:3477)
>> at
>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
>> )
>> at
>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
>> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
>> at java.awt.Container.dispatchEventImpl(Container.java:1613)
>> at java.awt.Window.dispatchEventImpl(Window.java:1606)
>> at java.awt.Component.dispatchEvent(Component.java:3477)
>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
>> at
>> com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.jav
>> a
>> :104)
>> at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:23)
>> at
>> com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:111)
>> at
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
>> r
>> ead.java:201)
>> at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
>> a
>> d.java:151)
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)



0

Please sign in to leave a comment.