621 Assertion: EJB usages
When tried to search for usages of an EJB method, got an assertion dialog.
Mike A: this was the same situation as I reported in various other mails:
the method is defined in an interface that the remote interface inherits
from.
When I went to the interface, search usages worked OK.
r.
This is the stack trace from the console:
ERROR - com.intellij.j2ee.ejb.g - Assertion failed
java.lang.Throwable
at com.intellij.diagnostic.e.a(e.java:31)
at com.intellij.diagnostic.e.a(e.java:29)
at com.intellij.j2ee.ejb.g.a(g.java:66)
at com.intellij.find.b.b.a(b.java:32)
at com.intellij.find.b.b.b(b.java:173)
at com.intellij.find.impl.FindManagerImpl.b(FindManagerImpl.java:78)
at
com.intellij.find.actions.FindUsagesAction.actionPerformed(FindUsagesAction.
java:8)
at com.intellij.openapi.keymap.impl.b.a(b.java:48)
at com.intellij.openapi.keymap.impl.b.d(b.java:109)
at com.intellij.openapi.keymap.impl.b.a(b.java:118)
at com.intellij.ide.d.dispatchEvent(d.java:43)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:126)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:93)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
Exception occurred during event dispatching:
java.lang.NullPointerException
at com.intellij.j2ee.ejb.g.a(g.java:46)
at com.intellij.find.b.b.a(b.java:32)
at com.intellij.find.b.b.b(b.java:173)
at com.intellij.find.impl.FindManagerImpl.b(FindManagerImpl.java:78)
at
com.intellij.find.actions.FindUsagesAction.actionPerformed(FindUsagesAction.
java:8)
at com.intellij.openapi.keymap.impl.b.a(b.java:48)
at com.intellij.openapi.keymap.impl.b.d(b.java:109)
at com.intellij.openapi.keymap.impl.b.a(b.java:118)
at com.intellij.ide.d.dispatchEvent(d.java:43)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:126)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:93)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
请先登录再写评论。
Richard,
This assertion is fixed in build #622.
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Richard Nemec" <rndzank@attbi.com> wrote in message
news:ab8ftr$cd1$1@is.intellij.net...
>
>
>
com.intellij.find.impl.FindManagerImpl.b(FindManagerImpl.java:78)
>
com.intellij.find.actions.FindUsagesAction.actionPerformed(FindUsagesAction.
>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
com.intellij.find.impl.FindManagerImpl.b(FindManagerImpl.java:78)
>
com.intellij.find.actions.FindUsagesAction.actionPerformed(FindUsagesAction.
>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>
>