Menu

#70 Unable to Open any File (JEdit 2.6pre2)

severe bug
closed-fixed
nobody
5
2000-08-16
2000-08-12
Scott Wyatt
No

When I try to open any file, I get the following error message in the activity log. I am using jdk1.3 / Winnt against jEdit 2.6pre2.

[error] AWT-EventQueue-0: Exception occurred during event dispatching:
[error] AWT-EventQueue-0: java.lang.VerifyError: (class: org/gjt/sp/jedit/io/IORequest, method: save signature: ()V) Register 5 contains wrong type
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.io.VFS.load(VFS.java:162)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.io.FileVFS.load(FileVFS.java:106)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.Buffer.load(Buffer.java:159)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1082)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.browser.BrowserPopupMenu$ActionHandler.actionPerformed(BrowserPopupMenu.java:110)
[error] AWT-EventQueue-0: at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
[error] AWT-EventQueue-0: at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
[error] AWT-EventQueue-0: at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
[error] AWT-EventQueue-0: at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
[error] AWT-EventQueue-0: at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
[error] AWT-EventQueue-0: at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
[error] AWT-EventQueue-0: at java.awt.Component.processMouseEvent(Component.java:3717)
[error] AWT-EventQueue-0: at java.awt.Component.processEvent(Component.java:3546)
[error] AWT-EventQueue-0: at java.awt.Container.processEvent(Container.java:1164)
[error] AWT-EventQueue-0: at java.awt.Component.dispatchEventImpl(Component.java:2595)
[error] AWT-EventQueue-0: at java.awt.Container.dispatchEventImpl(Container.java:1213)
[error] AWT-EventQueue-0: at java.awt.Component.dispatchEvent(Component.java:2499)
[error] AWT-EventQueue-0: at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
[error] AWT-EventQueue-0: at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
[error] AWT-EventQueue-0: at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
[error] AWT-EventQueue-0: at java.awt.Container.dispatchEventImpl(Container.java:1200)
[error] AWT-EventQueue-0: at java.awt.Window.dispatchEventImpl(Window.java:912)
[error] AWT-EventQueue-0: at java.awt.Component.dispatchEvent(Component.java:2499)
[error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Discussion

  • Slava Pestov

    Slava Pestov - 2000-08-13

    Does recompiling the source help?

     
  • Mike Dillon

    Mike Dillon - 2000-08-13

    recompiling the source under Blackdown JDK 1.2.2/GNU/Linux did not fix the problem. i also recompiled without '-g' and still had the problem.

     
  • Mike Dillon

    Mike Dillon - 2000-08-14

    recompiling under Sun JDK 1.3 (build 1.3.0beta_refresh-b09) resulted in a working jEdit on my GNU/Linux 2.2 system. i have not tried the resulting binaries under another JDK.

     
  • Mike Dillon

    Mike Dillon - 2000-08-14

    using jEdit 2.6pre2 recompiled with the Sun javac under JDK 1.3, i was able to run it without problems under Blackdown JDK 1.2.2.

     
  • Scott Wyatt

    Scott Wyatt - 2000-08-14

    I have recompiled org.gjt.sp.jedit.io.IORequest against Sun jdk1.3/Winnt and everything seems to work fine now.

    Scott

     
  • Vincent Massol

    Vincent Massol - 2000-08-15

    I confirm, version 2.6pre2 does not work with either JDK 1.2.2 or JDK 1.3 as is. Even if recompiled with JDK 1.2.2 it still does not work. However, recompiling with JDK 1.3 make it *partially* work thereafter. If afterwards you run it with JDK 1.2.2 everything seems to work (at least file opening and plugin manager). However, if run with JDK 1.3, the plugin manager fails to find any module from the web site ...

     
  • Slava Pestov

    Slava Pestov - 2000-08-16

    Fixed with the new IORequest.java I sent to the mailing list.

     
  • Slava Pestov

    Slava Pestov - 2000-08-16
    • status: open --> closed-fixed
     

Log in to post a comment.