idea 7051 project settings window cannot open

click Project Settings icon ,get the error message

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(105,126),absolute(105,255),button=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.LibraryConfigurable.getDisplayName(LibraryConfigurable.java:25)
at com.intellij.openapi.ui.MasterDetailsComponent$MyNode.getDisplayName(MasterDetailsComponent.java:625)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable$2.customizeCellRenderer(BaseStructureConfigurable.java:7)
at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:93)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2699)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1469)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270)
at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:725)
at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:626)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3819)
at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:561)
at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:279)
at com.intellij.openapi.ui.MasterDetailsComponent.addNode(MasterDetailsComponent.java:412)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.a(BaseLibrariesConfigurable.java:22)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.a(BaseLibrariesConfigurable.java:3)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.reset(BaseLibrariesConfigurable.java:40)
at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:129)
at com.intellij.ide.ui.search.DefaultSearchableConfigurable.reset(DefaultSearchableConfigurable.java:2)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.]]>(SingleConfigurableEditor.java:45)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:137)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$300(ControlPanelSettingsEditor.java:4)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:1)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.$$YJP$$doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:62)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:17)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:761)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:20)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:42)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:25)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:53)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:122)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

10 comments
Comment actions Permalink

I had the same with 7041. After upgrade to 7051 I couldn't open settings
at all but deleting .IntelliJIdea70 folder helped. No exceptions anymore.

cheshuai wrote:

click Project Settings icon ,get the error message

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(105,126),absolute(105,255),button=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.LibraryConfigurable.getDisplayName(LibraryConfigurable.java:25)
at com.intellij.openapi.ui.MasterDetailsComponent$MyNode.getDisplayName(MasterDetailsComponent.java:625)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable$2.customizeCellRenderer(BaseStructureConfigurable.java:7)
at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:93)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2699)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1469)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270)
at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:725)
at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:626)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3819)
at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:561)
at javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:279)
at com.intellij.openapi.ui.MasterDetailsComponent.addNode(MasterDetailsComponent.java:412)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.a(BaseLibrariesConfigurable.java:22)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.a(BaseLibrariesConfigurable.java:3)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesConfigurable.reset(BaseLibrariesConfigurable.java:40)
at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:129)
at com.intellij.ide.ui.search.DefaultSearchableConfigurable.reset(DefaultSearchableConfigurable.java:2)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:45)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:137)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$300(ControlPanelSettingsEditor.java:4)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:1)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.$$YJP$$doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:62)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:17)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:761)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:20)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:42)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:25)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:53)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:122)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

0
Comment actions Permalink

Hello,

Seems that issue reproduces with jdk 1.6 only.

Sorry for inconvenience.

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

click Project Settings icon ,get the error message

Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(105,126),absolute(105,255),b
utton=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.NullPointerException
at
com.intellij.openapi.roots.ui.configuration.projectRoot.LibraryConfigu
rable.getDisplayName(LibraryConfigurable.java:25)
at
com.intellij.openapi.ui.MasterDetailsComponent$MyNode.getDisplayName(M
asterDetailsComponent.java:625)
at
com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureC
onfigurable$2.customizeCellRenderer(BaseStructureConfigurable.java:7)
at
com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(C
oloredTreeCellRenderer.java:93)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimens
ions(BasicTreeUI.java:2699)
at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutC
ache.java:475)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferr
edSize(VariableHeightLayoutCache.java:1342)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Variab
leHeightLayoutCache.java:1469)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Variab
leHeightLayoutCache.java:1270)
at
javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayou
tCache.java:725)
at
javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(Variab
leHeightLayoutCache.java:626)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicT
reeUI.java:3819)
at
javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTree
Model.java:561)
at
javax.swing.tree.DefaultTreeModel.reload(DefaultTreeModel.java:279)
at
com.intellij.openapi.ui.MasterDetailsComponent.addNode(MasterDetailsCo
mponent.java:412)
at
com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesC
onfigurable.a(BaseLibrariesConfigurable.java:22)
at
com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesC
onfigurable.a(BaseLibrariesConfigurable.java:3)
at
com.intellij.openapi.roots.ui.configuration.projectRoot.BaseLibrariesC
onfigurable.reset(BaseLibrariesConfigurable.java:40)
at
com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurab
le.reset(ProjectStructureConfigurable.java:129)
at
com.intellij.ide.ui.search.DefaultSearchableConfigurable.reset(Default
SearchableConfigurable.java:2)
at
com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(Single
ConfigurableEditor.java:45)
at
com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPa
nelSettingsEditor.java:137)
at
com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$300(
ControlPanelSettingsEditor.java:4)
at
com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionBut
ton$1.mouseReleased(ControlPanelSettingsEditor.java:1)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.$$YJP$$doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at java.awt.Dialog.show(Dialog.java:1089)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(Dialo
gWrapperPeerImpl.java:62)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperP
eerImpl.java:17)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:761)
at
com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(
ShowSettingsUtilImpl.java:20)
at
com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowS
ettingsUtilImpl.java:42)
at
com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettin
gsAction.java:3)
at
com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.jav
a:25)
at
com.intellij.openapi.actionSystem.impl.ActionButton.performAction(Acti
onButton.java:53)
at
com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(
ActionButton.java:122)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



0
Comment actions Permalink

Will it be fixed in the next EAP? We need to run IDEA with JDK 6, so this is a bit of a showstopper for us.

0
Comment actions Permalink

Yes , this issue is occured only when uses JDK6
I change to uses JDK5 to run idea,all things ok ;
Thanks

0
Comment actions Permalink

We need to run IDEA with JDK 6


Just curious: why? Because of a plug-in requiring JDK 6?

0
Comment actions Permalink

We have modules which need to be compiled up with JDK 6, but which also contain custom IDEA UI form components. As soon as the form components are compiled up with JDK 6, the UI form will not compile unless you run IDEA with JDK 6.

0
Comment actions Permalink

Ah, I see. Yet another reason not to use a/the GUI builder...

0
Comment actions Permalink

I see this on Linux, but not on OS/X.

cheshuai wrote:

click Project Settings icon ,get the error message

0
Comment actions Permalink

What about this ?

Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(472,97),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on dialog0
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.ModuleEditor.c(ModuleEditor.java:57)
at com.intellij.openapi.roots.ui.configuration.ModuleEditor.access$300(ModuleEditor.java:85)
at com.intellij.openapi.roots.ui.configuration.ModuleEditor$4.stateChanged(ModuleEditor.java:3)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:290)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:222)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:478)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:464)
at com.intellij.ui.TabbedPaneWrapper$TabbedPane.setSelectedIndex(TabbedPaneWrapper.java:68)
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3237)
at javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabbedPaneUI.java:3391)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.Component.processMouseEvent(Component.java:5514)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:62)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:17)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:761)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:20)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$300(ControlPanelSettingsEditor.java:4)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:1)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
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:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:185)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:62)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:17)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:761)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:20)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:42)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:65)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:25)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:3)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:154)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:148)
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)



I'm trying to use the groovy/grails plugin

My config is:

idea7051
jdk1.5.0_12
groovy-1.1-beta-2
grails-0.5.6
Win 2k3

0
Comment actions Permalink

Reverting once again to good old 7020...

0

Please sign in to leave a comment.