#1755 XML.jar 2.8.5 java.lang.NoSuchMethodError

None
closed
Eric Le Lay
XML (12)
5
2013-12-12
2013-11-20
Skeeve
No

jEdit 5.0.0
java 1.6.0_26 (on OS X 10.5.8)
XML.jar 2.8.5

Starting XML Indent gives

java.lang.NoClassDefFoundError: xml/indent/IndentingTransformerImpl
at xml.indent.XmlIndenterPlugin.<clinit>(XmlIndenterPlugin.java:48)
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:597)
at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:423)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342)
at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342)
at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
at java.awt.MenuItem.processEvent(MenuItem.java:586)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: xml.indent.IndentingTransformerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:522)
at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 51 more

Discussion

<< < 1 2 (Page 2 of 2)
  • Skeeve
    Skeeve
    2013-12-11

    Okay…

    Here is what I did. I still had my previous directory in a zip.

    I compared it to the new directory and then I removed those jars which were there but missing in the new installation:

    These are the jars I removed:

    Library/jEdit/jars/.DS_Store
    Library/jEdit/jars/Clipper.jar
    Library/jEdit/jars/IRC.jar
    Library/jEdit/jars/Nested.jar
    Library/jEdit/jars/foxtrot.jar
    Library/jEdit/jars/htmlparser.jar
    Library/jEdit/jars/javasvn.jar
    Library/jEdit/jars/jdom-b9.jar
    Library/jEdit/jars/jupiter.jar
    Library/jEdit/jars/log4j-1.2.13.jar
    Library/jEdit/jars/log4j.jar
    Library/jEdit/jars/mysql-connector-java-3.0.14-production-bin.jar
    Library/jEdit/jars/ojdbc14.jar
    Library/jEdit/jars/packer.jar
    Library/jEdit/jars/servlet.jar
    Library/jEdit/jars/wbserverrelease.jar
    Library/jEdit/jars/wbxmltools.jar
    Library/jEdit/jars/wings.jar
    Library/jEdit/jars/wwbHelper.jar
    Library/jEdit/jars/wwbsplitter.jar
    Library/jEdit/jars/xml-commons-resolver.jar
    Library/jEdit/jars/xmlParserAPIs.jar

    Library/jEdit/jars-cache/Clipper.jar.summary
    Library/jEdit/jars-cache/IRC.jar.summary
    Library/jEdit/jars-cache/Nested.jar.summary
    Library/jEdit/jars-cache/QuickNotepad.jar.summary
    Library/jEdit/jars-cache/foxtrot.jar.summary
    Library/jEdit/jars-cache/htmlparser.jar.summary
    Library/jEdit/jars-cache/javasvn.jar.summary
    Library/jEdit/jars-cache/jdom-b9.jar.summary
    Library/jEdit/jars-cache/jupiter.jar.summary
    Library/jEdit/jars-cache/log4j-1.2.13.jar.summary
    Library/jEdit/jars-cache/log4j.jar.summary
    Library/jEdit/jars-cache/mysql-connector-java-3.0.14-production-bin.jar.summary
    Library/jEdit/jars-cache/ojdbc14.jar.summary
    Library/jEdit/jars-cache/packer.jar.summary
    Library/jEdit/jars-cache/servlet.jar.summary
    Library/jEdit/jars-cache/wbserverrelease.jar.summary
    Library/jEdit/jars-cache/wbxmltools.jar.summary
    Library/jEdit/jars-cache/wings.jar.summary
    Library/jEdit/jars-cache/wwbHelper.jar.summary
    Library/jEdit/jars-cache/wwbsplitter.jar.summary
    Library/jEdit/jars-cache/xml-commons-resolver.jar.summary
    Library/jEdit/jars-cache/xmlParserAPIs.jar.summary

    I doubt now that the outdated plugins were guilty. I can identify some old jars there which belong to a 6 year old project which had to do with XML and XSLT.

    The outdated plugins I don't have anymore now is "Internet Relay Chat". Also don't have anymore "Nested", but that's not outdated.

    I don't think it's important to trace exactly down which XML was "guilty", do you agree?

     
    • Eric Le Lay
      Eric Le Lay
      2013-12-12

      Yes I agree.
      Thanks for the extended info.
      Closing the bug...

       
  • Eric Le Lay
    Eric Le Lay
    2013-12-12

    • status: open --> closed
    • Group: -->
     
<< < 1 2 (Page 2 of 2)