Exception in StrutsPlugin

While editing an Action:

Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:78)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:86)
at de.lineas.lit.strutsplugin.templates.BaseTemplateAction.update(BaseTemplateAction.java:21)
at com.intellij.openapi.actionSystem.impl.Utils.hasVisibleChildren(Utils.java:19)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:21)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.ActionMenu.e(ActionMenu.java:26)
at com.intellij.openapi.actionSystem.impl.ActionMenu.access$400(ActionMenu.java:41)
at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.menuSelected(ActionMenu.java:9)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1091)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1184)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:280)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1251)
at com.intellij.openapi.actionSystem.impl.ActionMenu.menuSelectionChanged(ActionMenu.java:7)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:89)
at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:778)
at javax.swing.JPopupMenu.show(JPopupMenu.java:951)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:32)
at com.intellij.ui.PopupHandler$2.invokePopup(PopupHandler.java:67)
at com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:52)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at com.intellij.util.ui.Tree.processMouseEvent(Tree.java:70)
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:138)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:162)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:38)
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)



java.lang.NullPointerException
at de.lineas.lit.strutsplugin.templates.BaseTemplateAction.update(BaseTemplateAction.java:22)
at com.intellij.openapi.actionSystem.impl.Utils.hasVisibleChildren(Utils.java:19)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:21)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.ActionMenu.e(ActionMenu.java:26)
at com.intellij.openapi.actionSystem.impl.ActionMenu.access$400(ActionMenu.java:41)
at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.menuSelected(ActionMenu.java:9)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1091)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1184)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:280)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1251)
at com.intellij.openapi.actionSystem.impl.ActionMenu.menuSelectionChanged(ActionMenu.java:7)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:89)
at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:778)
at javax.swing.JPopupMenu.show(JPopupMenu.java:951)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:32)
at com.intellij.ui.PopupHandler$2.invokePopup(PopupHandler.java:67)
at com.intellij.ui.PopupHandler.mouseReleased(PopupHandler.java:52)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at com.intellij.util.ui.Tree.processMouseEvent(Tree.java:70)
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:138)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:162)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:38)
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)

1 comment
Comment actions Permalink

Thanks for posting, I couldn't reproduce it but I have added an additional check.

Yann

0

Please sign in to leave a comment.