NPE when right clicking on module

Hi everybody,

Running 7041 in OSX 10.4.10. When right clicking over an existing module to access it's properties, we are seeing a NPE. After that there is no way to access the module properties usign this mechanism. Only way is to click on Idea settings and go from there to Project settings. NPE attached (partial).

Thanks for your work, looking good overall.

Gustavo.

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(78,585),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable$2.customizeCellRenderer(BaseStructureConfigurable.java:2)
at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:93)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:720)
at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:626)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3717)
at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:559)
at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:277)
at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:194)
at com.intellij.openapi.ui.MasterDetailsComponent.reset(MasterDetailsComponent.java:237)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.reset(BaseStructureConfigurable.java:11)
at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.reset(ModuleStructureConfigurable.java:70)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.]]>(SingleConfigurableEditor.java:22)
at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(ShowSettingsUtilImpl.java:1)
at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.showDialog(ModulesConfigurator.java:50)
at com.intellij.ide.actions.ShowModulePropertiesAction.actionPerformed(ShowModulePropertiesAction.java:13)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:92)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:230)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:7)
at java.awt.Component.processMouseEvent(Component.java:5554)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)

Please sign in to leave a comment.