Maia 90.154 Grails controller tree does not expand, just says "loading..."
I submitted this on YouTrack, but was hoping someone on the forum might suggest a workaround for now Thanks - Richard
Have a Grails 1.1.1 project with the following package under grails-app/controllers:
com/cies/ciaz/controller
When I expand the tree and finally click on the last node "controller" I get a "loading..." message and the controllers never are listed.
This happens both on Windows 7 and on Mac Os X Snow Leopard. This has happened on the two prior EAP releases. However it does not happen on IntelliJ 8.1.3.
Here is the error that the IDE provides:
Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(120,317),absolute(144,322),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on frame0: Error: could not match input
java.lang.Error: Error: could not match input
at org.jetbrains.plugins.groovy.lang.lexer._GroovyLexer.zzScanError(_GroovyLexer.java:1000)
at org.jetbrains.plugins.groovy.lang.lexer._GroovyLexer.advance(_GroovyLexer.java:1975)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:90)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:64)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapter.getTokenEnd(MergingLexerAdapter.java:54)
at com.intellij.lexer.LookAheadLexer.addToken(LookAheadLexer.java:41)
at com.intellij.lexer.LookAheadLexer.lookAhead(LookAheadLexer.java:50)
at org.jetbrains.plugins.groovy.lang.lexer.GroovyLexer.lookAhead(GroovyLexer.java:62)
at com.intellij.lexer.LookAheadLexer.doLookAhead(LookAheadLexer.java:68)
at com.intellij.lexer.LookAheadLexer.advance(LookAheadLexer.java:60)
at com.intellij.lang.impl.PsiBuilderImpl.a(PsiBuilderImpl.java:222)
at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:21)
at com.intellij.lang.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:4)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:35)
at com.intellij.psi.impl.source.tree.LazyParseableElement.b(LazyParseableElement.java:54)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:74)
at com.intellij.psi.impl.source.tree.CompositeElement.countChildren(CompositeElement.java:287)
at com.intellij.psi.impl.source.tree.CompositeElement.getChildrenAsPsiElements(CompositeElement.java:241)
at com.intellij.psi.impl.source.PsiFileImpl.getChildren(PsiFileImpl.java:156)
at com.intellij.psi.impl.source.PsiFileImpl.findChildrenByClass(PsiFileImpl.java:169)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.getTypeDefinitions(GroovyFileBaseImpl.java:66)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.getClasses(GroovyFileBaseImpl.java:167)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileImpl.getClasses(GroovyFileImpl.java:469)
at com.intellij.ide.projectView.impl.ClassesTreeStructureProvider.modify(ClassesTreeStructureProvider.java:37)
at com.intellij.ide.util.treeView.AbstractTreeStructureBase.getChildElements(AbstractTreeStructureBase.java:18)
at com.intellij.ide.util.treeView.AbstractTreeUi.getChildrenFor(AbstractTreeUi.java:1108)
at com.intellij.ide.util.treeView.AbstractTreeUi.processUnbuilt(AbstractTreeUi.java:1048)
at com.intellij.ide.util.treeView.AbstractTreeUi.updateNodeChildren(AbstractTreeUi.java:871)
at com.intellij.ide.util.treeView.AbstractTreeUi.updateSubtreeNow(AbstractTreeUi.java:777)
at com.intellij.ide.util.treeView.AbstractTreeUpdater$3.run(AbstractTreeUpdater.java:214)
at com.intellij.openapi.util.ExecutionCallback.callback(ExecutionCallback.java:72)
at com.intellij.openapi.util.ExecutionCallback.doWhenExecuted(ExecutionCallback.java:53)
at com.intellij.openapi.util.ActionCallback.doWhenDone(ActionCallback.java:85)
at com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:212)
at com.intellij.ide.util.treeView.AbstractTreeUi.doExpandNodeChildren(AbstractTreeUi.java:363)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.expandNodeChildren(AbstractTreeBuilder.java:243)
at com.intellij.ide.projectView.BaseProjectTreeBuilder.expandNodeChildren(BaseProjectTreeBuilder.java:64)
at com.intellij.ide.util.treeView.AbstractTreeUi$MyExpansionListener.treeExpanded(AbstractTreeUi.java:3362)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2666)
at javax.swing.JTree.setExpandedState(JTree.java:3427)
at javax.swing.JTree.expandPath(JTree.java:2163)
at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2209)
at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2196)
at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2154)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3516)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3464)
at com.intellij.ide.dnd.DnDEnabler.a(DnDEnabler.java:11)
at com.intellij.ide.dnd.DnDEnabler.access$700(DnDEnabler.java:12)
at com.intellij.ide.dnd.DnDEnabler$MyAwtListener.eventDispatched(DnDEnabler.java:35)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2353)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2245)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2244)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2203)
at java.awt.Component.dispatchEventImpl(Component.java:4528)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:249)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:106)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:198)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
请先登录再写评论。