#17 Java Insight unable to decompile file

closed-out-of-date
None
5
2004-02-07
2002-04-08
Bryan Hunt
No

I try to decompile the attached class file, I get an
error message saying that An error occured during
decompilation of class java.lang.InternalError:
Exception order failed: not 4 < 4 <=4.

Activity log entries that might be useful in a bug
report:

[message] Log: When reporting bugs, please include the
following information:
[message] Log: java.version=1.4.0
[message] Log: java.vm.version=1.4.0-b92
[message] Log: java.runtime.version=1.4.0-b92
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Windows 2000
[message] Log: os.version=5.0
[message] Log: os.arch=x86
[notice] jEdit: jEdit version 4.0pre9
[message] jEdit: Settings directory is C:\Documents
and Settings\huntb\.jedit
[message] jEdit: jEdit home directory is C:\Program
Files\jEdit 4.0pre9
[notice] jEdit: Loading plugins from C:\Program
Files\jEdit 4.0pre9\jars
[notice] jEdit: Loading plugins from C:\Documents and
Settings\huntb\.jedit\jars
[message] jEdit: Loading recent file list C:\Documents
and Settings\huntb\.jedit\recent.xml
[message] jEdit: Loading mode catalog file C:\Program
Files\jEdit 4.0pre9\modes\catalog
[message] jEdit: Loading mode catalog file
C:\Documents and Settings\huntb\.jedit\modes\catalog
[notice] JARClassLoader: Starting plugin Ant Farm
(version 1.1)
[notice] JARClassLoader: Starting plugin Archive
(version 0.3.3)
[notice] JARClassLoader: Starting plugin AStyle
Beautifier (version 0.4)
[notice] JARClassLoader: Starting plugin Background
(version 0.2.2)
[notice] JARClassLoader: Starting plugin BufferList
(version 0.7.1)
[notice] JARClassLoader: Starting plugin Buffer
Selector (version 1.0.5)
[notice] JARClassLoader: Starting plugin BufferTabs
(version 0.7.6)
[notice] JARClassLoader: Starting plugin Character Map
(version 1.1)
[notice] JARClassLoader: Starting plugin Class Wizard
(version 0.5)
[notice] JARClassLoader: Starting plugin Clipper
(version 0.9.3)
[notice] JARClassLoader: Starting plugin Code2HTML
(version 0.3.5)
[notice] JARClassLoader: Starting plugin Common
Controls (version 0.2)
[notice] JARClassLoader: Starting plugin Console
(version 3.2)
[notice] JARClassLoader: Starting plugin Context Help
(version 1.7)
[notice] JARClassLoader: Starting plugin Debugger
(version 0.6.1)
[notice] JARClassLoader: Starting plugin Drag and Drop
(version 0.2.6)
[notice] JARClassLoader: Starting plugin Editor Scheme
(version 0.4.0)
[notice] JARClassLoader: Starting plugin ErrorList
(version 1.2.2)
[notice] JARClassLoader: Starting plugin FTP (version
0.3.3)
[notice] JARClassLoader: Starting plugin Hex (version
0.1)
[notice] JARClassLoader: Starting plugin InfoViewer
(version 1.1)
[notice] JARClassLoader: Starting plugin IRC plugin
(version 1.6)
[notice] JARClassLoader: Starting plugin Java Insight
(version 0.5)
[notice] JARClassLoader: Starting plugin JavaStyle
(version 1.2)
[notice] JARClassLoader: Starting plugin Java Browser
(version 1.4.4)
[notice] JARClassLoader: Starting plugin JCompiler
(version 1.5.0)
[notice] JARClassLoader: Starting plugin JDiff Plugin
(version 1.3)
[notice] JARClassLoader: Starting plugin JIndex
(version 1.0)
[notice] JARClassLoader: Starting plugin JTidy
(version 1.0.1)
[notice] JARClassLoader: Starting plugin Jython
Interpreter (version 0.8)
[notice] JARClassLoader: Starting plugin LineGuides
(version 0.5.2)
[notice] JARClassLoader: Starting plugin LookAndFeel
(version 0.9)
[notice] JARClassLoader: Starting plugin Project
Viewer (version 1.0.2)
[notice] JARClassLoader: Starting plugin RETest
(version 1.0.2)
[notice] JARClassLoader: Starting plugin Send Buffer
(version 1.0.2)
[notice] JARClassLoader: Starting plugin Sessions
(version 0.7.3)
[notice] JARClassLoader: Starting plugin Spell Check
(version R003)
[notice] JARClassLoader: Starting plugin SQL (version
0.93)
[notice] JARClassLoader: Starting plugin Tags (version
1.0.6)
[notice] JARClassLoader: Starting plugin TaskList
(version 0.3.5)
[notice] JARClassLoader: Starting plugin Templates
(version 2.0.2)
[notice] JARClassLoader: Starting plugin TextTools
(version 1.7)
[notice] JARClassLoader: Starting plugin TomcatSwitch
(version 0.5)
[notice] JARClassLoader: Starting plugin WheelMouse
(version 2.2)
[notice] JARClassLoader: Starting plugin WhiteSpace
(version 0.9.1)
[notice] JARClassLoader: Starting plugin XInsert
(version 1.8)
[notice] JARClassLoader: Starting plugin XML (version
0.8)
[notice] jEdit: Loading edit mode C:\Program
Files\jEdit 4.0pre9\modes\xml.xml
[message] jEdit: Startup complete
[error] AWT-EventQueue-0: java.lang.InternalError:
ExceptionHandler order failed: not 4 < 4 <= 4
[error] AWT-EventQueue-0: at
net.sf.jode.flow.TransformExceptionHandlers.checkTryCat
chOrder(Unknown Source)
[error] AWT-EventQueue-0: at
net.sf.jode.flow.TransformExceptionHandlers.analyze
(Unknown Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.MethodAnalyzer.analyzeCode
(Unknown Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.MethodAnalyzer.analyze(Unknown
Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.ClassAnalyzer.analyze(Unknown
Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.ClassAnalyzer.analyzeInnerClasse
s(Unknown Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.ClassAnalyzer.dumpJavaFile
(Unknown Source)
[error] AWT-EventQueue-0: at
net.sf.jode.decompiler.Decompiler.decompile(Unknown
Source)
[error] AWT-EventQueue-0: at
javainsight.JavaInsight.decompileToBuffer(Unknown
Source)
[error] AWT-EventQueue-0: at
javainsight.JavaInsight.decompile(Unknown Source)
[error] AWT-EventQueue-0: at
javainsight.ClasspathManager.decompileAction(Unknown
Source)
[error] AWT-EventQueue-0: at
javainsight.ClasspathManager$TreeMouseHandler.mouseClic
ked(Unknown Source)
[error] AWT-EventQueue-0: at
java.awt.AWTEventMulticaster.mouseClicked
(AWTEventMulticaster.java:208)
[error] AWT-EventQueue-0: at
java.awt.Component.processMouseEvent
(Component.java:5024)
[error] AWT-EventQueue-0: at
javainsight.buildtools.ToolTipJTree.processMouseEvent
(Unknown Source)
[error] AWT-EventQueue-0: at
java.awt.Component.processEvent(Component.java:4818)
[error] AWT-EventQueue-0: at
java.awt.Container.processEvent(Container.java:1380)
[error] AWT-EventQueue-0: at
java.awt.Component.dispatchEventImpl
(Component.java:3526)
[error] AWT-EventQueue-0: at
java.awt.Container.dispatchEventImpl
(Container.java:1437)
[error] AWT-EventQueue-0: at
java.awt.Component.dispatchEvent(Component.java:3367)
[error] AWT-EventQueue-0: at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3214)
[error] AWT-EventQueue-0: at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:2938)
[error] AWT-EventQueue-0: at
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:2859)
[error] AWT-EventQueue-0: at
java.awt.Container.dispatchEventImpl
(Container.java:1423)
[error] AWT-EventQueue-0: at
java.awt.Window.dispatchEventImpl(Window.java:1566)
[error] AWT-EventQueue-0: at
java.awt.Component.dispatchEvent(Component.java:3367)
[error] AWT-EventQueue-0: at
java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
[error] AWT-EventQueue-0: at
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:190)
[error] AWT-EventQueue-0: at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:144)
[error] AWT-EventQueue-0: at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
[error] AWT-EventQueue-0: at
java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
[error] AWT-EventQueue-0: at
java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)

Discussion

  • Bryan Hunt

    Bryan Hunt - 2002-09-29
    • status: open --> open-fixed
     
  • Dirk Möbius

    Dirk Möbius - 2002-11-23
    • assigned_to: nobody --> dmoebius
     
  • Alex Jacoby

    Alex Jacoby - 2002-12-03

    Logged In: YES
    user_id=557451

    Same problem decompiling com.sun.security.auth.login.ConfigFile:

    [debug] ClasspathManager$TreeSelectionHandler: The source
    CLASSPATH entry of com.sun.security.auth.login.ConfigFile is
    C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\rt.jar
    [debug] JavaInsight: jode classpath=C:\Program
    Files\jEdit\jedit.jar,C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\rt.jar,C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\sunrsasign.jar,C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\jsse.jar,C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\jce.jar,C:\JavaModulos\s1studio_jdk\j2sdk1.4.1\jre\lib\charsets.jar
    [error] AWT-EventQueue-0: java.lang.InternalError:
    ExceptionHandler order failed: not 2 < 2 <= 2
    [error] AWT-EventQueue-0: at
    net.sf.jode.flow.TransformExceptionHandlers.checkTryCatchOrder(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.flow.TransformExceptionHandlers.analyze(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.decompiler.MethodAnalyzer.analyzeCode(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.decompiler.MethodAnalyzer.analyze(Unknown Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.decompiler.ClassAnalyzer.analyze(Unknown Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.decompiler.ClassAnalyzer.dumpJavaFile(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    net.sf.jode.decompiler.Decompiler.decompile(Unknown Source)
    [error] AWT-EventQueue-0: at
    javainsight.JavaInsight.decompileToBuffer(Unknown Source)
    [error] AWT-EventQueue-0: at
    javainsight.JavaInsight.decompile(Unknown Source)
    [error] AWT-EventQueue-0: at
    javainsight.ClasspathManager.decompileAction(Unknown Source)
    [error] AWT-EventQueue-0: at
    javainsight.ClasspathManager$TreeMouseHandler.mouseClicked(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
    [error] AWT-EventQueue-0: at
    java.awt.Component.processMouseEvent(Component.java:5096)
    [error] AWT-EventQueue-0: at
    javainsight.buildtools.ToolTipJTree.processMouseEvent(Unknown
    Source)
    [error] AWT-EventQueue-0: at
    java.awt.Component.processEvent(Component.java:4890)
    [error] AWT-EventQueue-0: at
    java.awt.Container.processEvent(Container.java:1566)
    [error] AWT-EventQueue-0: at
    java.awt.Component.dispatchEventImpl(Component.java:3598)
    [error] AWT-EventQueue-0: at
    java.awt.Container.dispatchEventImpl(Container.java:1623)
    [error] AWT-EventQueue-0: at
    java.awt.Component.dispatchEvent(Component.java:3439)
    [error] AWT-EventQueue-0: at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    [error] AWT-EventQueue-0: at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174)
    [error] AWT-EventQueue-0: at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    [error] AWT-EventQueue-0: at
    java.awt.Container.dispatchEventImpl(Container.java:1609)
    [error] AWT-EventQueue-0: at
    java.awt.Window.dispatchEventImpl(Window.java:1585)
    [error] AWT-EventQueue-0: at
    java.awt.Component.dispatchEvent(Component.java:3439)
    [error] AWT-EventQueue-0: at
    java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    [error] AWT-EventQueue-0: at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    [error] AWT-EventQueue-0: at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    [error] AWT-EventQueue-0: at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    [error] AWT-EventQueue-0: at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    [error] AWT-EventQueue-0: at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Environment: WinXP, JDK 1.4.1, jEdit 4.1pre6, JavaInsight 0.5

     
  • Slava Pestov

    Slava Pestov - 2003-05-29
    • assigned_to: dmoebius --> nobody
    • labels: 102671 -->
    • milestone: 101607 -->
     
  • Brad Mace

    Brad Mace - 2003-06-17
    • assigned_to: nobody --> dmoebius
     
  • Mike Dillon

    Mike Dillon - 2003-11-30

    Logged In: YES
    user_id=1479

    This is a JODE bug. I was able to reproduce it from the
    command line JODE attempting to decompile
    sun.nio.cs.StreamEncoder from JDK 1.4.2.

     
  • Mike Dillon

    Mike Dillon - 2003-11-30
    • status: open-fixed --> open
     
  • Dale Deibert

    Dale Deibert - 2004-01-10

    Logged In: YES
    user_id=947708

    I am new to this website and am having the same problem as
    listed. Has this problem been fixed? (Is that
    what 'field=resolution id, old value=fixed' means?). Do we
    need to download the SAXParserImpl.class file? If so, what
    directory / jar file should we add it to after we download? I
    just tried to update my plugins, but none are needed. I am
    currently on version 0.5.1 of Java Insight. Thanks!

     
  • Bryan Hunt

    Bryan Hunt - 2004-02-07
    • status: open --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks