7041 : failure to open previously created maven projects

I had created (using "Import Maven project" feature) projects using 7027 which were working fine.

Some of them are still working ok (althoug i had to reimport the project), but for others i can't re add the maven modules to the project.

When import the maven project i get the following exception and the module list in the project view remains blank

2007-07-02 13:53:18,908 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1626,116),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.getModule(ModuleStructureConfigurable.java:132)
at com.intellij.openapi.roots.impl.ModuleOrderEntryImpl.getModule(ModuleOrderEntryImpl.java:5)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl$2$1.visitModuleOrderEntry(ModuleRootManagerImpl.java:1)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl$2$1.visitModuleOrderEntry(ModuleRootManagerImpl.java:5)
at com.intellij.openapi.roots.impl.ModuleOrderEntryImpl.accept(ModuleOrderEntryImpl.java:74)
at com.intellij.openapi.roots.impl.RootModelImpl.processOrder(RootModelImpl.java:234)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl$2.getIn(ModuleRootManagerImpl.java:10)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl$2.getIn(ModuleRootManagerImpl.java:8)
at com.intellij.util.graph.CachingSemiGraph.]]>(CachingSemiGraph.java:35)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl.b(ModuleRootManagerImpl.java:83)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl.a(ModuleRootManagerImpl.java:66)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl.a(ModuleRootManagerImpl.java:209)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl.multiCommit(ModuleRootManagerImpl.java:126)
at com.intellij.openapi.roots.impl.ModuleRootManagerImpl.commitModel(ModuleRootManagerImpl.java:87)
at com.intellij.openapi.roots.impl.RootModelImpl.commit(RootModelImpl.java:409)
at org.jetbrains.idea.maven.project.RootModelAdapter.commit(RootModelAdapter.java:46)
at org.jetbrains.idea.maven.project.MavenToIdeaConverter.convertRootModel(MavenToIdeaConverter.java:149)
at org.jetbrains.idea.maven.project.MavenToIdeaConverter.convert(MavenToIdeaConverter.java:129)
at org.jetbrains.idea.maven.project.MavenToIdeaConverter.convert(MavenToIdeaConverter.java:41)
at org.jetbrains.idea.maven.project.MavenImportProcessor$3.run(MavenImportProcessor.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:35)
at org.jetbrains.idea.maven.project.MavenImportProcessor.commit(MavenImportProcessor.java:155)
at org.jetbrains.idea.maven.project.MavenImportProcessor.synchronize(MavenImportProcessor.java:122)
at org.jetbrains.idea.maven.project.action.SynchronizeWithMavenAction.actionPerformed(SynchronizeWithMavenAction.java:21)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:70)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:58)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:29)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
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:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:173)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:42)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:27)
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)

Please sign in to leave a comment.