Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#107 Error when opening SVN files

Feature_Request
closed-fixed
nobody
Editor (71)
5
2015-01-28
2010-07-09
No

The following error occurs when opening a file checked out from an svn repository from a file list buffer, with J 0.23.0 and Sun Java 1.5.0_22 on Linux, and it does not occur on the same machine with Java 1.6. The same error occurs at startup if the session has svn files open, and precludes J to run.

Unfortunately fonts in Java 1.6 are much uglier when not using antialias than fonts in 1.5, so I'm stuck with 1.5.

Jul 09 14:29:54.839 ERROR java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.armedbear.j.Editor.invoke(Editor.java:2471)
at org.armedbear.j.Editor.execute(Editor.java:2395)
at org.armedbear.j.Editor.handleJEvent(Editor.java:2588)
at org.armedbear.j.Dispatcher.dispatchMousePressed(Dispatcher.java:541)
at org.armedbear.j.Dispatcher.dispatch(Dispatcher.java:156)
at org.armedbear.j.Dispatcher.mousePressed(Dispatcher.java:438)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.Component.processMouseEvent(Component.java:5514)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NoSuchMethodError: java.util.LinkedList.push(Ljava/lang/Object;)V
at org.armedbear.j.SVNEntry$Handler.startElement(SVNEntry.java:128)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at org.armedbear.j.SVNEntry.getEntry(SVNEntry.java:108)
at org.armedbear.j.VersionControl.getEntry(VersionControl.java:46)
at org.armedbear.j.Buffer.checkVCS(Buffer.java:3131)
at org.armedbear.j.Buffer.load(Buffer.java:1023)
at org.armedbear.j.Editor.activate(Editor.java:5995)
at org.armedbear.j.Directory.openFileAtDot(Directory.java:1097)
at org.armedbear.j.Directory._dirOpenFile(Directory.java:984)
at org.armedbear.j.Directory.dirOpenFile(Directory.java:966)
... 30 more

Discussion

  • Kevin Krouse
    Kevin Krouse
    2010-07-10

    • status: open --> open-fixed
     
  • Kevin Krouse
    Kevin Krouse
    2010-07-10

    Isn't JDK 5 end-of-lifed?? :)

    There were two occurrences of JDK 1.6 APIs that had crept into the source -- you found one. The other was the font rendering hints used in Display.java.

    Fixed with svn r11338.

     
  • Kevin Krouse
    Kevin Krouse
    2013-04-05

    • status: open-fixed --> closed-fixed
    • milestone: --> Feature_Request