ContextViewer and Aurora Release Candidates?

Hi everyone,

I was wondering whether anyone had the ContextViewer plugin (version 0.7.2) successfully running under the latest Aurora builds.

Alternatively, I would appreciate a pointer to the source code (not found on intellij.org) as the problem seems to be related to (Open)API changes.

I have copied partial stack traces below for those of you interested.

Thanks in advance!

Franck


Stack trace #1 thrown when launching the viewer:

(Unknown Source)
	at org.intellij.ctxviewer.m.a(Unknown Source)
	at org.intellij.ctxviewer.m.a(Unknown Source)
	at org.intellij.ctxviewer.i.b(Unknown Source)
	at org.intellij.ctxviewer.i.a(Unknown Source)
	at org.intellij.ctxviewer.i.a(Unknown Source)
	at org.intellij.ctxviewer.i.g(Unknown Source)
	at org.intellij.ctxviewer.i.selectionChanged(Unknown Source)
	at com.intellij.openapi.fileEditor.a.f.a(f.java:293)
	at com.intellij.openapi.fileEditor.a.f.b(f.java:215)
	at com.intellij.openapi.fileEditor.a.f.access$900(f.java:53)
	at com.intellij.openapi.fileEditor.a.f$3.run(f$3.java:2)
	at com.intellij.openapi.command.impl.a.executeCommand(a.java:115)
	at com.intellij.openapi.fileEditor.a.f.a(f.java:488)
	at com.intellij.openapi.fileEditor.a.f.access$1500(f.java:87)
	at com.intellij.openapi.fileEditor.a.f$8.run(f$8.java:1)
	at com.intellij.openapi.command.impl.a.executeCommand(a.java:35)
	at com.intellij.openapi.fileEditor.a.f$7.run(f$7.java:3)
	at com.intellij.openapi.wm.impl.a.c.run(c.java:6)
	at com.intellij.util.LaterInvocator$FlushQueue.run(LaterInvocator.java:4)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
	at com.intellij.ide.q.b(q.java:140)
	(...)
]]>

Stack trace #2 thrown when attempting to edit the plugin options:

4 comments

Franck Rasolo wrote:

]]>


get the latest version from the plugin repository.

/kesh

0

Kesh,

Many thanks for the update. I have a couple of issues with the latest release running under Aurora #1138:

1) ContextViewer reports that no context is available for class members belonging to project/global libraries that are associated to a given module.

Please note that their corresponding source code has been defined and that their declaration can be navigated to using Ctrl+B.

2) The following stack trace is now thrown whenever I launch ContextViewer or whenever I right-click inside the editor. This occurs regardless of the file type currently shown in the editor:

ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 4.0 Build #1138
ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.4.2_03
ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
ERROR - com.intellij.ide.IdeEventQueue - OS: Windows 2000
ERROR - com.intellij.ide.IdeEventQueue - Last Action: EditorPageDown
ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(597,307),button=3
,modifiers=Meta+Button3,clickCount=1] on frame0
java.lang.NoSuchMethodError: com.intellij.psi.PsiElement.getLength()I
at org.intellij.ctxviewer.util.a.a(Unknown Source)
at org.intellij.ctxviewer.r.g(Unknown Source)
at org.intellij.ctxviewer.r.b(Unknown Source)
at org.intellij.ctxviewer.i.f(Unknown Source)
at org.intellij.ctxviewer.ShowAtCursorAction.update(Unknown Source)
at com.intellij.openapi.actionSystem.a.i.a(i.java:44)
at com.intellij.openapi.actionSystem.a.i.a(i.java:58)
at com.intellij.openapi.actionSystem.a.i.a(i.java:15)
at com.intellij.openapi.actionSystem.a.d$b_.show(d$b_.java:23)
at com.intellij.openapi.fileEditor.a.a.d$d_.invokePopup(d$d_.java:7)
at com.intellij.util.EditorPopupHandler.a(EditorPopupHandler.java:7)
at com.intellij.util.EditorPopupHandler.mouseReleased(EditorPopupHandler.java:8)
at com.intellij.openapi.editor.a.m.c(m.java:677)
at com.intellij.openapi.editor.a.m.access$5700(m.java:1236)
at com.intellij.openapi.editor.a.m$bo_.mouseReleased(m$bo_.java:7)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:41)
at com.intellij.ide.q.a(q.java:34)
at com.intellij.ide.q.dispatchEvent(q.java:27)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


I suspect that 1) might be related to the project/module overhaul in Aurora, whilst 2) might be caused by a recent PSI/OpenAPI change.

Thanks in advance for looking into this.

Regards,

Franck

0

Kesh,

The bug described in 2) above still holds under Aurora #1141 but cannot be reproduced using Aurora #1131.

The regression described in 1) holds regardless.

Regards,

Franck

0

Please sign in to leave a comment.