[3339] Projectview and J2EE view is gone

Hi.
Just uppdated IDEA to build 3339 and opened my project, 1 webappmodule and 2 standard java module. The problem is that in the project tab, both project tree view and J2ee tree view is gone, only package view is left. IDEA also reports 3 fatal errors "java.lang.RuntimeException: Operation is not supported". I still can open files if I use go to function.

Have anyone experience from this problem and a solution to it?

/Johan

8 comments
Comment actions Permalink

In article <10668050.1116495726382.JavaMail.javamailuser@localhost>,
Johan Wallinder <no_mail@jetbrains.com> wrote:

Hi.
Just uppdated IDEA to build 3339 and opened my project, 1 webappmodule and 2
standard java module. The problem is that in the project tab, both project
tree view and J2ee tree view is gone, only package view is left. IDEA also
reports 3 fatal errors "java.lang.RuntimeException: Operation is not
supported".


The whole stack would help, I'm guessing you have some extra plugins
which don't work with the new build.

R

0
Comment actions Permalink

I only get two errors now but the views are still missing

-


first fatal error----



Operation is not supported
java.lang.RuntimeException: Operation is not supported
at com.intellij.psi.impl.source.parsing.jsp.ConditionalLexer.start(ConditionalLexer.java:132)
at com.intellij.lexer.MergingLexerAdapter.start(MergingLexerAdapter.java:29)
at com.intellij.lexer.LexerBase.restore(LexerBase.java:15)
at com.intellij.lexer.FilterLexer.restore(FilterLexer.java:102)
at com.intellij.psi.impl.source.parsing.tabular.ParserPosition.restorePosition(ParserPosition.java:1)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserStackImpl.restoreLastPosition(ParserStackImpl.java:16)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.a(ParserImpl.java:236)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:33)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:357)
at com.intellij.psi.impl.source.jsp.JspxParsing.parseJsp(JspxParsing.java:32)
at com.intellij.psi.impl.source.tree.JspElementType$1.parseContents(JspElementType.java:12)
at com.intellij.psi.impl.source.tree.ChameleonElement.transform(ChameleonElement.java:12)
at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transform(ChameleonTransforming.java:0)
at com.intellij.psi.impl.source.tree.ChameleonElement.getTransformedLastOrSelf(ChameleonElement.java:31)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getLastChild(SharedImplUtil.java:13)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.getLastChild(TreeWrapperPsiElement.java:91)
at com.intellij.psi.impl.source.jsp.JspJavaTextGenerator.(JspJavaTextGenerator.java:75) at com.intellij.psi.impl.source.jsp.JspxParsing.a(JspxParsing.java:108) at com.intellij.psi.impl.source.jsp.JspxParsing.parseJspDeclarations(JspxParsing.java:136) at com.intellij.psi.impl.source.jsp.jspJava.JspClass$2.run(JspClass.java:3) at com.intellij.psi.impl.source.jsp.jspJava.NonReentrantExecutor.execute(NonReentrantExecutor.java:6) at com.intellij.psi.impl.source.jsp.jspJava.JspClass.b(JspClass.java:77) at com.intellij.psi.impl.source.jsp.jspJava.JspClass.synchronizeWithXmlTree(JspClass.java:49) at com.intellij.psi.impl.source.jsp.JspxFileImpl.getJavaRoot(JspxFileImpl.java:50) at com.intellij.psi.impl.source.jsp.JspxFileImpl.getClasses(JspxFileImpl.java:25) at com.intellij.ide.projectView.impl.ClassesTreeStructureProvider.modify(ClassesTreeStructureProvider.java:18) at com.intellij.ide.util.treeView.AbstractTreeStructureBase.getChildElements(AbstractTreeStructureBase.java:7) at com.intellij.ide.util.treeView.AbstractTreeBuilder.c(AbstractTreeBuilder.java:212) at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:375) at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractTreeBuilder.java:47) at com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractTreeUpdater.java:9) at com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:5) at com.intellij.ide.util.treeView.AbstractTreeBuilder.expandNodeChildren(AbstractTreeBuilder.java:103) at com.intellij.ide.projectView.BaseProjectTreeBuilder.expandNodeChildren(BaseProjectTreeBuilder.java:24) at com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.treeExpanded(AbstractTreeBuilder.java:21) at javax.swing.JTree.fireTreeExpanded(JTree.java:2245) at javax.swing.JTree.setExpandedState(JTree.java:3006) at javax.swing.JTree.expandPath(JTree.java:1742) at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:160) at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:169) at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:169) at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:139) at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:134) at com.intellij.ide.projectView.impl.AbstractProjectViewPane.restoreState(AbstractProjectViewPane.java:112) at com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane.initTree(AbstractProjectViewPSIPane.java:4) at com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane$5.run(AbstractProjectViewPSIPane.java:4) at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:51) at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:14) at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:69) at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:30) at com.intellij.ide.RecentProjectsManager$ReopenProjectAction.actionPerformed(RecentProjectsManager.java:4) at com.intellij.openapi.actionSystem.ex.ActionListPopup$1.run(ActionListPopup.java:4) at com.intellij.ui.ListPopup.closePopup(ListPopup.java:36) at com.intellij.ui.ListPopup$3.mouseClicked(ListPopup.java:2) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212) at java.awt.Component.processMouseEvent(Component.java:5491) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) 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:3901) 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:18) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:41) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:16) 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.RuntimeException: Operation is not supported at com.intellij.psi.impl.source.parsing.jsp.ConditionalLexer.start(ConditionalLexer.java:132) at com.intellij.lexer.MergingLexerAdapter.start(MergingLexerAdapter.java:29) at com.intellij.lexer.LexerBase.restore(LexerBase.java:15) at com.intellij.lexer.FilterLexer.restore(FilterLexer.java:102) at com.intellij.psi.impl.source.parsing.tabular.ParserPosition.restorePosition(ParserPosition.java:1) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserStackImpl.restoreLastPosition(ParserStackImpl.java:16) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.a(ParserImpl.java:236) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:33) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:357) at com.intellij.psi.impl.source.jsp.JspxParsing.parseJsp(JspxParsing.java:32) at com.intellij.psi.impl.source.tree.JspElementType$1.parseContents(JspElementType.java:12) at com.intellij.psi.impl.source.tree.ChameleonElement.transform(ChameleonElement.java:12) at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transform(ChameleonTransforming.java:0) at com.intellij.psi.impl.source.tree.ChameleonElement.getTransformedLastOrSelf(ChameleonElement.java:31) at com.intellij.psi.impl.source.tree.SharedImplUtil.getLastChild(SharedImplUtil.java:13) at com.intellij.psi.impl.source.TreeWrapperPsiElement.getLastChild(TreeWrapperPsiElement.java:91) at com.intellij.psi.impl.source.jsp.JspJavaTextGenerator.]]>(JspJavaTextGenerator.java:75)
at com.intellij.psi.impl.source.jsp.JspxParsing.a(JspxParsing.java:108)
at com.intellij.psi.impl.source.jsp.JspxParsing.parseJspDeclarations(JspxParsing.java:136)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass$2.run(JspClass.java:3)
at com.intellij.psi.impl.source.jsp.jspJava.NonReentrantExecutor.execute(NonReentrantExecutor.java:6)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass.b(JspClass.java:77)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass.synchronizeWithXmlTree(JspClass.java:49)
at com.intellij.psi.impl.source.jsp.JspxFileImpl.getJavaRoot(JspxFileImpl.java:50)
at com.intellij.psi.impl.source.jsp.JspxFileImpl.getClasses(JspxFileImpl.java:25)
at com.intellij.j2ee.module.view.web.nodes.WebDirectoryElementNodeDescriptor.getChildrenDescriptors(WebDirectoryElementNodeDescriptor.java:40)
at com.intellij.j2ee.module.view.web.nodes.WebModuleNodeDescriptor.getChildrenDescriptors(WebModuleNodeDescriptor.java:3)
at com.intellij.j2ee.module.view.J2EETreeStructure.getChildElements(J2EETreeStructure.java:4)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.c(AbstractTreeBuilder.java:212)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:375)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractTreeBuilder.java:47)
at com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractTreeUpdater.java:9)
at com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:5)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.expandNodeChildren(AbstractTreeBuilder.java:103)
at com.intellij.ide.projectView.BaseProjectTreeBuilder.expandNodeChildren(BaseProjectTreeBuilder.java:24)
at com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.treeExpanded(AbstractTreeBuilder.java:21)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2245)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:160)
at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:169)
at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:139)
at com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:134)
at com.intellij.ide.projectView.impl.AbstractProjectViewPane.restoreState(AbstractProjectViewPane.java:112)
at com.intellij.j2ee.module.view.J2EEProjectViewPane.b(J2EEProjectViewPane.java:153)
at com.intellij.j2ee.module.view.J2EEProjectViewPane.access$900(J2EEProjectViewPane.java:139)
at com.intellij.j2ee.module.view.J2EEProjectViewPane$8.run(J2EEProjectViewPane.java:1)
at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:51)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:14)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:69)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:30)
at com.intellij.ide.RecentProjectsManager$ReopenProjectAction.actionPerformed(RecentProjectsManager.java:4)
at com.intellij.openapi.actionSystem.ex.ActionListPopup$1.run(ActionListPopup.java:4)
at com.intellij.ui.ListPopup.closePopup(ListPopup.java:36)
at com.intellij.ui.ListPopup$3.mouseClicked(ListPopup.java:2)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
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:3901)
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:18)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:41)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:16)
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)











-


second fatal error----




com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane$4: Operation is not supported
java.lang.RuntimeException: Operation is not supported
at com.intellij.psi.impl.source.parsing.jsp.ConditionalLexer.start(ConditionalLexer.java:132)
at com.intellij.lexer.MergingLexerAdapter.start(MergingLexerAdapter.java:29)
at com.intellij.lexer.LexerBase.restore(LexerBase.java:15)
at com.intellij.lexer.FilterLexer.restore(FilterLexer.java:102)
at com.intellij.psi.impl.source.parsing.tabular.ParserPosition.restorePosition(ParserPosition.java:1)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserStackImpl.restoreLastPosition(ParserStackImpl.java:16)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.a(ParserImpl.java:236)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:33)
at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:357)
at com.intellij.psi.impl.source.jsp.JspxParsing.parseJsp(JspxParsing.java:32)
at com.intellij.psi.impl.source.tree.JspElementType$1.parseContents(JspElementType.java:12)
at com.intellij.psi.impl.source.tree.ChameleonElement.transform(ChameleonElement.java:12)
at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transform(ChameleonTransforming.java:0)
at com.intellij.psi.impl.source.tree.ChameleonElement.getTransformedLastOrSelf(ChameleonElement.java:31)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getLastChild(SharedImplUtil.java:13)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.getLastChild(TreeWrapperPsiElement.java:91)
at com.intellij.psi.impl.source.jsp.JspJavaTextGenerator.(JspJavaTextGenerator.java:75) at com.intellij.psi.impl.source.jsp.JspxParsing.a(JspxParsing.java:108) at com.intellij.psi.impl.source.jsp.JspxParsing.parseJspDeclarations(JspxParsing.java:136) at com.intellij.psi.impl.source.jsp.jspJava.JspClass$2.run(JspClass.java:3) at com.intellij.psi.impl.source.jsp.jspJava.NonReentrantExecutor.execute(NonReentrantExecutor.java:6) at com.intellij.psi.impl.source.jsp.jspJava.JspClass.b(JspClass.java:77) at com.intellij.psi.impl.source.jsp.jspJava.JspClass.synchronizeWithXmlTree(JspClass.java:49) at com.intellij.psi.impl.source.jsp.JspxFileImpl.getJavaRoot(JspxFileImpl.java:50) at com.intellij.psi.impl.source.jsp.JspxFileImpl.getClasses(JspxFileImpl.java:25) at com.intellij.ide.projectView.impl.ClassesTreeStructureProvider.modify(ClassesTreeStructureProvider.java:18) at com.intellij.ide.util.treeView.AbstractTreeStructureBase.getChildElements(AbstractTreeStructureBase.java:7) at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:191) at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:124) at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:124) at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:124) at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractTreeBuilder.java:47) at com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractTreeUpdater.java:9) at com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:5) at com.intellij.ide.util.treeView.AbstractTreeUpdater$1.run(AbstractTreeUpdater.java:2) at com.intellij.util.Alarm$1.run(Alarm.java:85) at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227) at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:7) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:18) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:37) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:16) 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.RuntimeException: Operation is not supported at com.intellij.psi.impl.source.parsing.jsp.ConditionalLexer.start(ConditionalLexer.java:132) at com.intellij.lexer.MergingLexerAdapter.start(MergingLexerAdapter.java:29) at com.intellij.lexer.LexerBase.restore(LexerBase.java:15) at com.intellij.lexer.FilterLexer.restore(FilterLexer.java:102) at com.intellij.psi.impl.source.parsing.tabular.ParserPosition.restorePosition(ParserPosition.java:1) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserStackImpl.restoreLastPosition(ParserStackImpl.java:16) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.a(ParserImpl.java:236) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:33) at com.intellij.psi.impl.source.parsing.tabular.impl.ParserImpl.parse(ParserImpl.java:357) at com.intellij.psi.impl.source.jsp.JspxParsing.parseJsp(JspxParsing.java:32) at com.intellij.psi.impl.source.tree.JspElementType$1.parseContents(JspElementType.java:12) at com.intellij.psi.impl.source.tree.ChameleonElement.transform(ChameleonElement.java:12) at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transform(ChameleonTransforming.java:0) at com.intellij.psi.impl.source.tree.ChameleonElement.getTransformedLastOrSelf(ChameleonElement.java:31) at com.intellij.psi.impl.source.tree.SharedImplUtil.getLastChild(SharedImplUtil.java:13) at com.intellij.psi.impl.source.TreeWrapperPsiElement.getLastChild(TreeWrapperPsiElement.java:91) at com.intellij.psi.impl.source.jsp.JspJavaTextGenerator.]]>(JspJavaTextGenerator.java:75)
at com.intellij.psi.impl.source.jsp.JspxParsing.a(JspxParsing.java:108)
at com.intellij.psi.impl.source.jsp.JspxParsing.parseJspDeclarations(JspxParsing.java:136)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass$2.run(JspClass.java:3)
at com.intellij.psi.impl.source.jsp.jspJava.NonReentrantExecutor.execute(NonReentrantExecutor.java:6)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass.b(JspClass.java:77)
at com.intellij.psi.impl.source.jsp.jspJava.JspClass.synchronizeWithXmlTree(JspClass.java:49)
at com.intellij.psi.impl.source.jsp.JspxFileImpl.getJavaRoot(JspxFileImpl.java:50)
at com.intellij.psi.impl.source.jsp.JspxFileImpl.getClasses(JspxFileImpl.java:25)
at com.intellij.j2ee.module.view.web.nodes.WebDirectoryElementNodeDescriptor.getChildrenDescriptors(WebDirectoryElementNodeDescriptor.java:40)
at com.intellij.j2ee.module.view.web.nodes.WebModuleNodeDescriptor.getChildrenDescriptors(WebModuleNodeDescriptor.java:3)
at com.intellij.j2ee.module.view.J2EETreeStructure.getChildElements(J2EETreeStructure.java:4)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:191)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:124)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.java:124)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractTreeBuilder.java:47)
at com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractTreeUpdater.java:9)
at com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:5)
at com.intellij.ide.util.treeView.AbstractTreeUpdater$1.run(AbstractTreeUpdater.java:2)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:7)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:18)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:37)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:16)
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)





0
Comment actions Permalink

This sounds like it could be the problem that I've been having with files in the Web module that IDEA doesn't like. JSP support is still being worked on and some perfectly valid files not only fail to validate, they cause bad side effects.

The only known work around is to change the "File Type" settings so that JSP files are treated as text files.

0
Comment actions Permalink

The thread started on 5/16 at 10:16 CDT with the subject "Stack traces on
startup with 3339," discusses this problem in detail, including possible
workarounds. Also, the good folks at JetBrains fixed some specific errors
that kill the project tree with bad HTML in JSPs in 3341.

--Mike

Hi.
Just uppdated IDEA to build 3339 and opened my project, 1 webappmodule
and 2 standard java module. The problem is that in the project tab,
both project tree view and J2ee tree view is gone, only package view
is left. IDEA also reports 3 fatal errors "java.lang.RuntimeException:
Operation is not supported". I still can open files if I use go to
function.
Have anyone experience from this problem and a solution to it?

/Johan



0
Comment actions Permalink

The only known work around is to change the "File
Type" settings so that JSP files are treated as text
files.



I changed the filetype as you told me and now the projectview is back. (I'm glad I'm not in to jsp-files right now). But I can see the reports telling that the problem is not solved in 3341 so I will stick to the workaround.

/Johan

0
Comment actions Permalink

You can also try delete your .iws file. I removed that and the panels
came back.

Johan Wallinder wrote:

>>The only known work around is to change the "File
>>Type" settings so that JSP files are treated as text
>>files.
>>
>>
>
>
>I changed the filetype as you told me and now the projectview is back. (I'm glad I'm not in to jsp-files right now). But I can see the reports telling that the problem is not solved in 3341 so I will stick to the workaround.
>
>/Johan

>

0
Comment actions Permalink

You can also try delete your .iws file. I removed
that and the panels
came back.


I've tried that as well, but then IDEA couldn't load my project!?

0
Comment actions Permalink

>> You can also try delete your .iws file. I removed
>> that and the panels
>> came back.

I've tried that as well, but then IDEA couldn't load my project!?


Thinking about it, this trick probably only works if the root of your project
is not defined as the root of the web-app. :(

Things to check do:
1) Get build 3341 -- it's MUCH improved for JSPs.
2) Look for JSP files with XML declarations -- 3341 can't handle these, so
you need to exclude them or do #4 if you have them.
3) See if you can figure out what file actually causes the problem and send
it to JetBrains so they can fix it for all of us!
4) Change the JSP file type to text until #2 is fixed.

--Mike


0

Please sign in to leave a comment.