JEdit: 5.1.0
Project plugin: ProjectViewer 3.5.3
This is most probably an interaction with another plugin. With the ProjectViewer docked on the left, I just click to select the view and I get:
java.lang.ClassCastException: gatchan.jedit.lucene.IndexProjectAction cannot be cast to projectviewer.action.Action
at projectviewer.vpt.VPTContextMenu.updateExtensions(VPTContextMenu.java:196)
at projectviewer.config.ExtensionManager.register(ExtensionManager.java:98)
at projectviewer.vpt.VPTContextMenu.<init>(VPTContextMenu.java:103)
at projectviewer.vpt.ProjectTreePanel.<init>(ProjectTreePanel.java:105)
at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:642)
at projectviewer.ProjectViewer.<init>(ProjectViewer.java:602)
at projectviewer.ProjectViewer.createDockable(ProjectViewer.java:863)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:377)
at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:482)
at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:355)
at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:458)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)</init></init></init>
That happens sometimes after plugin updates. Can you reproduce this after restarting jEdit? What about cleaning our %APPDATA%\jEdit\jars-cache folder?
Yes I did try restarting. I tried cleaning up the jars-cache and it did not change anything either. I never had this kind of problem before so I do not have a backup of my jedit setup. With a backup I would have been able to see exactly what the last update did but this will not be possible. I remember that something like 3 plugins were updated but not the details. I guess I could use the PluginManager and try to find the details.
Please reproduce and attach to this ticket an activity log that shows what is happening .
Last edit: Alan Ezust 2014-07-11
Additional information. From the logs here are the latest updates :
12:24:05 PM [AWT-EventQueue-0] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,version=5.0,source=C:\Apps\jEdit\jars\QuickNotepad.jar,class=QuickNotepadPlugin]
12:24:05 PM [AWT-EventQueue-0] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,version=3.1.5,source=C:\Apps\jEdit\jars\JavaSideKick.jar,class=sidekick.java.JavaSideKickPlugin]
12:24:05 PM [AWT-EventQueue-0] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,version=1.0,source=C:\Apps\jEdit\jars\EclipseIcons.jar,class=eclipseicons.EclipseIconsPlugin]
2:58:59 PM [AWT-EventQueue-0] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,version=2.8.5,source=C:\Users\CAJELAR\AppData\Roaming\jEdit\jars\XML.jar,class=xml.XmlPlugin]
Click "add attachments" (next to post) and add your activity.log (from %APPDATA%\jEdit)
as a regular file attachment please.
I think this is caused by Lucene 4.0.
try plugin manager - find orphan and see if there are old jars lying around.
Sorry about this and a thank you very much for your help.