History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-11045
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Keith Lea
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

"Should not be called on Chameleons" when visiting PSI of custom language in Choose By Name provider

Created: 19 Oct 06 21:14   Updated: 11 Jan 07 10:41
Component/s: Plugin Support. API
Fix Version/s: Demetra 6.0.3, Selena 6656

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,043
Fixed in build: 6,627
Severity: High


 Description  « Hide
IDEA build 6.0.2 Beta #6043
Should not be called on Chameleons
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.psi.impl.source.tree.ChameleonElement.getPsi(ChameleonElement.java:30)
at com.intellij.extapi.psi.ASTWrapperPsiElement.acceptChildren(ASTWrapperPsiElement.java:11)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
[ my code ]
at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:16)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:37)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
[ my code ]
at com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:16)
[ my code ]
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:0)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.ModuleFileIndexImpl.iterateContent(ModuleFileIndexImpl.java:49)
[ my code ]
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel.getNames(ContributorsBasedGotoByModel.java:11)
at com.intellij.ide.util.gotoByName.ChooseByNameBase.b(ChooseByNameBase.java:200)
at com.intellij.ide.util.gotoByName.ChooseByNameBase.initUI(ChooseByNameBase.java:157)
at com.intellij.ide.util.gotoByName.ChooseByNamePopup.initUI(ChooseByNamePopup.java:14)
at com.intellij.ide.util.gotoByName.ChooseByNameBase.invoke(ChooseByNameBase.java:98)
at com.intellij.ide.actions.GotoSymbolAction.gotoActionPerformed(GotoSymbolAction.java:1)
at com.intellij.ide.actions.GotoActionBase.actionPerformed(GotoActionBase.java:5)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:195)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:200)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:207)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:74)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:13)
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)

 All   Comments   Work Log   Change History      Sort Order:
Keith Lea - 10 Nov 06 02:20
This is still a problem in #6083

Keith Lea - 11 Jan 07 01:05
How exciting. Is this really fixed in 6.0.3? Dmitry told me that Fix Versions is not always accurate.

Dmitry Jemerov - 11 Jan 07 10:41
Yes, this is really fixed in 6.0.3 build 6146.