ideaJAD broken in #665 : NoSuchMethodError: com.intellij.openapi.fileEditor.FileEditorManager.openFile(...)


L:\devel\tools\idea\bin>"..\jre\bin\java.exe" -Xms256m -Xmx256m
-XX:+UseConcMarkSweepGC
-Dsun.java2d.noddraw=true
-Didea.system.path=L:\systmp/.IntelliJIdea/system -Didea.config.
path=../../../repos/cc/ide/edoconfig -Didea.popup.weight=heavy -cp
"..\lib\idea.jar;..\lib
\jdom.jar;..\lib\log4j.jar" com.intellij.idea.Main
IdeaJad: (c) 2002 tagtraum industries - http://www.tagtraum.com/
IdeaJad: Initialized IdeaJad
IdeaJad: (c) 2002 tagtraum industries - http://www.tagtraum.com/
IdeaJad: Initialized IdeaJad
IdeaJad: (c) 2002 tagtraum industries - http://www.tagtraum.com/
IdeaJad: Initialized IdeaJad
ERROR - com.intellij.ide.p - Error during
dispatching of java.awt.
event.MouseEvent[MOUSE_RELEASED,(103,265),button=1,modifiers=Button1,clickCount=1]
on ###o
verrideRedirect###
ERROR - com.intellij.ide.p - IntelliJ IDEA 3.0
Build #665
ERROR - com.intellij.ide.p - JDK: 1.4.1_01
ERROR - com.intellij.ide.p - VM: Java
HotSpot(TM) Client VM
ERROR - com.intellij.ide.p - Vendor: Sun
Microsystems Inc.
ERROR - com.intellij.ide.p - OS: Windows XP
ERROR - com.intellij.ide.p - Last Action: Decompile
ERROR - com.intellij.ide.p -
java.lang.NoSuchMethodError:
com.intellij.openapi.fileEditor.FileEditorManager.openFile(Lc
om/intellij/openapi/fileEditor/EditFileDescriptor;Lcom/intellij/openapi/editor/ScrollType;
Z)Lcom/intellij/openapi/editor/Editor;
at
com.tagtraum.ideajad.DecompileAction$1.run(DecompileAction.java:91)
at com.intellij.openapi.application.a.e.runWriteAction(e.java:186)
at
com.tagtraum.ideajad.DecompileAction.showDecompiledFile(DecompileAction.java:79
)
at
com.tagtraum.ideajad.DecompileAction.actionPerformed(DecompileAction.java:70)
at com.intellij.openapi.actionSystem.a.l.actionPerformed(l.java:10)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.a.bb.fireActionPerformed(bb.java:15)
at com.intellij.ui.a.a.p.doClick(p.java:62)
at com.intellij.ui.a.a.p.access$300(p.java:82)
at com.intellij.ui.a.a.q.mouseReleased(q.java:2)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.p.a(p.java:35)
at com.intellij.ide.p.dispatchEvent(p.java:98)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

6 comments
Comment actions Permalink

Jason Poley wrote:

check the Idea Jad Page,

http://www.intellij.org/twiki/bin/view/Main/IdeaJad

-jp

thanks! I only checked on tagtraum, I did not know someone fixed it (did
you post an ?).

Edo

--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

0
Comment actions Permalink

Jason Poley wrote:

check the Idea Jad Page,

http://www.intellij.org/twiki/bin/view/Main/IdeaJad

-jp


oops I spoke too soon.
still broken for me in #666
looks like another change in the openAPI

ERROR - com.intellij.ide.p - Error during
dispatching of java.awt.e
vent.MouseEvent[MOUSE_RELEASED,(70,272),button=1,modifiers=Button1,clickCount=1]
on ###ove
rrideRedirect###
ERROR - com.intellij.ide.p - IntelliJ IDEA 3.0
Build #666
ERROR - com.intellij.ide.p - JDK: 1.4.1_01
ERROR - com.intellij.ide.p - VM: Java HotSpot(TM)
Client VM
ERROR - com.intellij.ide.p - Vendor: Sun
Microsystems Inc.
ERROR - com.intellij.ide.p - OS: Windows XP
ERROR - com.intellij.ide.p - Last Action: Decompile
ERROR - com.intellij.ide.p -
java.lang.NoClassDefFoundError:
com/intellij/openapi/fileEditor/EditFileDescriptor
at
com.tagtraum.ideajad.DecompileAction$1.run(DecompileAction.java:91)
at com.intellij.openapi.application.b.e.runWriteAction(e.java:13)
at
com.tagtraum.ideajad.DecompileAction.showDecompiledFile(DecompileAction.java:79
)
at
com.tagtraum.ideajad.DecompileAction.actionPerformed(DecompileAction.java:70)
at com.intellij.openapi.actionSystem.a.l.actionPerformed(l.java:8)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.a.bb.fireActionPerformed(bb.java:61)
at com.intellij.ui.a.a.p.doClick(p.java:25)
at com.intellij.ui.a.a.p.access$300(p.java:24)
at com.intellij.ui.a.a.q.mouseReleased(q.java:0)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.p.a(p.java:65)
at com.intellij.ide.p.dispatchEvent(p.java:87)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

0
Comment actions Permalink

Yes, as announcement for 644 says:

Changes in build 664 from 663:

Open Api. "com.intellij.openapi.fileEditor.EditFileDescriptor" was renamed
to com.intellij.openapi.fileEditor.OpenFileDescriptor


--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Edoardo Comar" <ecomar@NOSPAM.capeclear.com> wrote in message
news:3DBA9A69.1000901@NOSPAM.capeclear.com...

Jason Poley wrote:

check the Idea Jad Page,

>

http://www.intellij.org/twiki/bin/view/Main/IdeaJad

>

-jp

>

oops I spoke too soon.
still broken for me in #666
looks like another change in the openAPI

>

ERROR - com.intellij.ide.p - Error during
dispatching of java.awt.e

>
vent.MouseEvent[MOUSE_RELEASED,(70,272),button=1,modifiers=Button1,clickCoun
t=1]

on ###ove
rrideRedirect###
ERROR - com.intellij.ide.p - IntelliJ IDEA 3.0
Build #666
ERROR - com.intellij.ide.p - JDK: 1.4.1_01
ERROR - com.intellij.ide.p - VM: Java HotSpot(TM)
Client VM
ERROR - com.intellij.ide.p - Vendor: Sun
Microsystems Inc.
ERROR - com.intellij.ide.p - OS: Windows XP
ERROR - com.intellij.ide.p - Last Action: Decompile
ERROR - com.intellij.ide.p -
java.lang.NoClassDefFoundError:
com/intellij/openapi/fileEditor/EditFileDescriptor
at
com.tagtraum.ideajad.DecompileAction$1.run(DecompileAction.java:91)
at com.intellij.openapi.application.b.e.runWriteAction(e.java:13)
at

>
com.tagtraum.ideajad.DecompileAction.showDecompiledFile(DecompileAction.java
:79

)
at

>
com.tagtraum.ideajad.DecompileAction.actionPerformed(DecompileAction.java:70
)

at

com.intellij.openapi.actionSystem.a.l.actionPerformed(l.java:8)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.a.bb.fireActionPerformed(bb.java:61)
at com.intellij.ui.a.a.p.doClick(p.java:25)
at com.intellij.ui.a.a.p.access$300(p.java:24)
at com.intellij.ui.a.a.q.mouseReleased(q.java:0)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown

Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.p.a(p.java:65)
at com.intellij.ide.p.dispatchEvent(p.java:87)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

>

--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

>

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

>


0
Comment actions Permalink

Maxim Shafirov wrote:

Yes, as announcement for 644 says:

Changes in build 664 from 663:

Open Api. "com.intellij.openapi.fileEditor.EditFileDescriptor" was renamed
to com.intellij.openapi.fileEditor.OpenFileDescriptor


Ok, cleaned, rebuilt with #666 openapi.jar and tested OK.

just uploaded on the wiki

http://www.intellij.org/twiki/bin/view/Main/IdeaJad

thanks everybody
Edo


--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Edoardo Comar" <ecomar@NOSPAM.capeclear.com> wrote in message
news:3DBA9A69.1000901@NOSPAM.capeclear.com...

>>Jason Poley wrote:
>>
>>>check the Idea Jad Page,
>>>
>>>http://www.intellij.org/twiki/bin/view/Main/IdeaJad
>>>
>>>-jp
>>
>>oops I spoke too soon.
>>still broken for me in #666
>>looks like another change in the openAPI
>>
>>[ 302756] ERROR - com.intellij.ide.p - Error during
>>dispatching of java.awt.e
>>


vent.MouseEvent[MOUSE_RELEASED,(70,272),button=1,modifiers=Button1,clickCoun
t=1]

>>on ###ove
>>rrideRedirect###
>>[ 302756] ERROR - com.intellij.ide.p - IntelliJ IDEA 3.0
>>Build #666
>>[ 302756] ERROR - com.intellij.ide.p - JDK: 1.4.1_01
>>[ 302756] ERROR - com.intellij.ide.p - VM: Java HotSpot(TM)
>>Client VM
>>[ 302756] ERROR - com.intellij.ide.p - Vendor: Sun
>>Microsystems Inc.
>>[ 302756] ERROR - com.intellij.ide.p - OS: Windows XP
>>[ 302756] ERROR - com.intellij.ide.p - Last Action: Decompile
>>[ 302756] ERROR - com.intellij.ide.p -
>>java.lang.NoClassDefFoundError:
>>com/intellij/openapi/fileEditor/EditFileDescriptor
>> at
>>com.tagtraum.ideajad.DecompileAction$1.run(DecompileAction.java:91)
>> at com.intellij.openapi.application.b.e.runWriteAction(e.java:13)
>> at
>>


com.tagtraum.ideajad.DecompileAction.showDecompiledFile(DecompileAction.java
:79

>>)
>> at
>>


com.tagtraum.ideajad.DecompileAction.actionPerformed(DecompileAction.java:70
)

>> at


com.intellij.openapi.actionSystem.a.l.actionPerformed(l.java:8)

>> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>> at
>>com.intellij.openapi.actionSystem.a.bb.fireActionPerformed(bb.java:61)
>> at com.intellij.ui.a.a.p.doClick(p.java:25)
>> at com.intellij.ui.a.a.p.access$300(p.java:24)
>> at com.intellij.ui.a.a.q.mouseReleased(q.java:0)
>> at java.awt.Component.processMouseEvent(Unknown Source)
>> at java.awt.Component.processEvent(Unknown Source)
>> at java.awt.Container.processEvent(Unknown Source)
>> at java.awt.Component.dispatchEventImpl(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
>>Source)
>> at java.awt.LightweightDispatcher.processMouseEvent(Unknown


Source)

>> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>> at java.awt.Container.dispatchEventImpl(Unknown Source)
>> at java.awt.Window.dispatchEventImpl(Unknown Source)
>> at java.awt.Component.dispatchEvent(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at com.intellij.ide.p.a(p.java:65)
>> at com.intellij.ide.p.dispatchEvent(p.java:87)
>> at
>>java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>>
>>--
>>Edoardo Comar
>>Cape Clear Software
>>http://www.capeclear.com
>>
>>Register for our Web Services Seminar tour - "Lowering the Cost of
>>Business Integration".
>>See http://www.capeclear.com/seminars for details
>>




--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

0
Comment actions Permalink

The fix i uploaded works for me, it simply changes the EditFileDescriptor to OpenFileDescriptor as described in changes between 664 & 663, it works on 666 for me.
But, it seems to not open the .java file after the decompile (but it does do it)
so its not fixed 100% but its better than no decompile.


-j

0

Please sign in to leave a comment.