jEdit Community - Resources for users of the jEdit Text Editor
XML plugin fails with 4.2 final
Submitted by jeffj on Wednesday, 17 October, 2007 - 20:15
I can't get the XML parser to work with jEdit 4.2 final on a new Windows installation. Otherwise, jEdit runs fine.

When I try to use the plugin with an HTML file, I'm told that xml.parser.HTMLParserImpl didn't load because the class xml/parser/XmlParser wasn't found. Seems like those slashes should've been dots. The stack trace is at the end of the message.

I also get an error message, at the same time, that org.apache.xerces.jaxp.SAXParserFactoryImpl wasn't found.

After this, I have to use the Plugin manager to unload the XML plugin before I can type greater-than characters into any buffer that the XML plugin normally works with. Also, none of the functionality of the plugin is available.

Any ideas on how to fix it?


The stack:

java.lang.NoClassDefFoundError: A class required by class: xml.parser.HTMLParserImpl could not be loaded:
java.lang.NoClassDefFoundError: xml/parser/XmlParser
at bsh.BshClassManager.noClassDefFound(BshClassManager.java:552)
at bsh.BshClassManager.plainClassForName(BshClassManager.java:241)
at bsh.BshClassManager.classForName(BshClassManager.java:170)
at bsh.NameSpace.classForName(NameSpace.java:1265)
at bsh.NameSpace.getClassImpl(NameSpace.java:1165)
at bsh.NameSpace.getClass(NameSpace.java:1106)
at bsh.Name.consumeNextObjectField(Name.java:301)
at bsh.Name.toObject(Name.java:202)
at bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:641)
at bsh.Interpreter.eval(Interpreter.java:731)
at bsh.Interpreter.eval(Interpreter.java:720)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410)
at org.gjt.sp.jedit.ServiceManager$Descriptor.getInstance(ServiceManager.java:321)
at org.gjt.sp.jedit.ServiceManager.getService(ServiceManager.java:264)
at sidekick.SideKickPlugin.getParser(SideKickPlugin.java:142)
at sidekick.SideKickPlugin.getParserForBuffer(SideKickPlugin.java:167)
at sidekick.SideKick.setParser(SideKick.java:131)
at sidekick.SideKick.handleMessage(SideKick.java:155)
at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
at org.gjt.sp.jedit.jEdit.addPluginJAR(jEdit.java:1034)
at org.gjt.sp.jedit.pluginmgr.ManagePanel$PluginTableModel.loadPluginJAR(ManagePanel.java:376)
at org.gjt.sp.jedit.pluginmgr.ManagePanel$PluginTableModel.setValueAt(ManagePanel.java:298)
at javax.swing.JTable.setValueAt(JTable.java:2662)
at javax.swing.JTable.editingStopped(JTable.java:4661)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:125)
at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:330)
at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:215)
at javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.java:347)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:924)
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1138)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
User login
Browse archives
« March 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82339
Context Free Art (*.cfdg)   0.31   46046
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18108
ColdFusion scheme   1.0   18016
R Edit Mode - extensive version   0.1   17465
Advanced HTML edit mode   1.0   16198
Matlab Edit Mode   1.0   16060
jEdit XP icons   1.0   15221
XP icons for jEdit   1.1   14285