Right Click in Project View fails

There's a bug in handling right-click events in the Project View pane.  Stack trace below.  Can I back out this latest patch update?  This release seems half-baked as I've seen two show stoppers in 10 minutes of evaluating it.


2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA (Maia) IU-94.426  Build #IU-94.426
2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_17
2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2010-03-01 10:21:05,686 [ 226319]  ERROR - com.intellij.ide.IdeEventQueue - Last Action: ShowProjectStructureSettings
2010-03-01 10:21:05,858 [ 226491]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(152,421),absolute(148,417),button=3,modifiers=Meta+Button3,clickCount=4] on frame0
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/actionSystem/impl/PresentationFactory.getPresentation must not be null
    at com.intellij.openapi.actionSystem.impl.PresentationFactory.getPresentation(PresentationFactory.java)
    at com.intellij.ide.actions.WeighingActionGroup.getChildren(WeighingActionGroup.java:64)
    at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:162)
    at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:117)
    at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:210)
    at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:76)
    at com.intellij.ide.ui.customization.CustomizationUtil$3.invokePopup(CustomizationUtil.java:297)
    at com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:55)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
    at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:125)
    at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:57)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:496)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

3 comments

Hello Adam,

The previous EAP builds are still available for download (just replace the
build number in the download link). The workaround for this specific problem
is to reset the UI customizations in Settings | Menus and Toolbars.

There's a bug in handling right-click events in the Project View pane.
Stack trace below.  Can I back out this latest patch update?  This
release seems half-baked as I've seen two show stoppers in 10 minutes
of evaluating it.

2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - IntelliJ IDEA (Maia) IU-94.426  Build
#IU-94.426
2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - JDK: 1.6.0_17
2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - OS: Windows XP
2010-03-01 10:21:05,686   ERROR -
com.intellij.ide.IdeEventQueue - Last Action:
ShowProjectStructureSettings
2010-03-01 10:21:05,858   ERROR -
com.intellij.ide.IdeEventQueue - Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(152,421),absolute(148,417),b
utton=3,modifiers=Meta+Button3,clickCount=4] on frame0
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter
of
com/intellij/openapi/actionSystem/impl/PresentationFactory.getPresenta
tion must not be null
at
com.intellij.openapi.actionSystem.impl.PresentationFactory.getPresenta
tion(PresentationFactory.java)
at
com.intellij.ide.actions.WeighingActionGroup.getChildren(WeighingActio
nGroup.java:64)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:162)
at
com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.j
ava:117)
at
com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:210)
at
com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show
(ActionPopupMenuImpl.java:76)
at
com.intellij.ide.ui.customization.CustomizationUtil$3.invokePopup(Cust
omizationUtil.java:297)
at
com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:55)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:27
3)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:27
2)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at
com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:125)
at
com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree
.java:57)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:496)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:174)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
---
Original message URL:
http://www.jetbrains.net/devnet/message/5257631#5257631

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks for the quick response!

Unfortunately removing Menu/Toolbar customizations doesn't help.  I still see the same errors, even after removing the customizations.xml file from options as well as setting to default in the GUI.

Regards,
Adam

2010-03-01 11:58:17,165 [  86012]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA (Maia) IU-94.426  Build #IU-94.426
2010-03-01 11:58:17,165 [  86012]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_17
2010-03-01 11:58:17,165 [  86012]  ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2010-03-01 11:58:17,165 [  86012]  ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2010-03-01 11:58:17,165 [  86012]  ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2010-03-01 11:58:17,181 [  86028]  ERROR - com.intellij.ide.IdeEventQueue - Last Action:  
2010-03-01 11:58:19,509 [  88356]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(105,263),absolute(101,259),button=3,modifiers=Meta+Button3,clickCount=1] on frame0
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/actionSystem/impl/PresentationFactory.getPresentation must not be null
    at com.intellij.openapi.actionSystem.impl.PresentationFactory.getPresentation(PresentationFactory.java)
    at com.intellij.ide.actions.WeighingActionGroup.getChildren(WeighingActionGroup.java:64)
    at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:162)
    at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:117)
    at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:210)
    at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:76)
    at com.intellij.ide.ui.customization.CustomizationUtil$3.invokePopup(CustomizationUtil.java:297)
    at com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:55)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
    at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:125)
    at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:57)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:496)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

0

The workaround worked for me. I am using IDEA 9.0.2. Thanks...

0

Please sign in to leave a comment.