PreviousNextTracker indexSee it online !

(235/300) 3587154 - CtagsInterface: Tag Preview AWT event queue exception

Selecting Tag Preview caused an error, dump attached below.

C project, tags generated with ctags trunk when problem first surfaced. Since have removed tags and regenerated with ctags 5.8, with the same error.

10:35:25 AM [main] [message] Log: java.version=1.7.0_05
10:35:25 AM [main] [message] Log: java.vm.version=23.1-b03
10:35:25 AM [main] [message] Log: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
10:35:25 AM [main] [message] Log: java.runtime.version=1.7.0_05-b06
10:35:25 AM [main] [message] Log: java.runtime.name=Java(TM) SE Runtime Environment
10:35:25 AM [main] [message] Log: java.vendor=Oracle Corporation
10:35:25 AM [main] [message] Log: java.compiler=null
10:35:25 AM [main] [message] Log: os.name=Linux
10:35:25 AM [main] [message] Log: os.version=2.6.18-238.el5
10:35:25 AM [main] [message] Log: os.arch=amd64
10:35:25 AM [main] [message] Log: user.home=/home/snarum
10:35:25 AM [main] [message] Log: java.home=/ln/home/snarum/bin/jdk1.7.0_05/jre
10:35:25 AM [main] [message] Log: java.class.path=/ln/home/snarum/bin/jEdit/5.0pre2/jedit.jar
10:35:25 AM [main] [message] jEdit: starting with command line arguments: -reuseview
10:35:25 AM [main] [notice] jEdit: An error occurred while connecting to the jEdit server instance.
10:35:25 AM [main] [notice] jEdit: This probably means that jEdit crashed and/or exited abnormally
10:35:25 AM [main] [notice] jEdit: the last time it was run.
10:35:25 AM [main] [notice] jEdit: If you don't know what this means, don't worry.
10:35:25 AM [main] [notice] jEdit: java.net.ConnectException: Connection refused
10:35:25 AM [main] [notice] jEdit: at java.net.PlainSocketImpl.socketConnect(Native Method)
10:35:25 AM [main] [notice] jEdit: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
10:35:25 AM [main] [notice] jEdit: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
10:35:25 AM [main] [notice] jEdit: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
10:35:25 AM [main] [notice] jEdit: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
10:35:25 AM [main] [notice] jEdit: at java.net.Socket.connect(Socket.java:579)
10:35:25 AM [main] [notice] jEdit: at java.net.Socket.connect(Socket.java:528)
10:35:25 AM [main] [notice] jEdit: at java.net.Socket.<init>(Socket.java:425)
10:35:25 AM [main] [notice] jEdit: at java.net.Socket.<init>(Socket.java:241)
10:35:25 AM [main] [notice] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:291)
10:35:25 AM [main] [debug] jEdit: before splash screen activation:251 ms
10:35:26 AM [main] [debug] jEdit: after splash screen activation:912 ms
10:35:26 AM [main] [debug] MiscUtilities: Saving backup of file "/ln/home/snarum/.jedit/activity.log" to "/ln/home/snarum/.jedit/settings-backup/activity.log~1~"
10:35:26 AM [main] [notice] jEdit: jEdit version 5.1pre1

Submitted snarum-micron - 2012-11-14 - 15:54:17z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2012-11-14 - 15:54:58z
snarum-micron
The error dump:

7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.NoSuchMethodError: org.gjt.sp.jedit.io.VFSManager.runInWorkThread(Ljava/lang/Runnable;)V
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.previewTag(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.caretUpdate(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.setCaretTracking(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.updateCaretListenerState(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.access$700(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview$7.componentResized(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.processComponentEvent(Component.java:6331)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.processEvent(Component.java:6285)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Container.processEvent(Container.java:2229)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.dispatchEventImpl(Component.java:4861)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Container.dispatchEventImpl(Container.java:2287)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.dispatchEvent(Component.java:4687)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.access$000(EventQueue.java:102)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:662)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:660)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$4.run(EventQueue.java:676)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$4.run(EventQueue.java:674)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.NoSuchMethodError: org.gjt.sp.jedit.io.VFSManager.runInWorkThread(Ljava/lang/Runnable;)V
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.previewTag(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.caretUpdate(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.setCaretTracking(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.updateCaretListenerState(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview.access$700(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.dockables.Preview$7.componentResized(Unknown Source)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.processComponentEvent(Component.java:6331)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.processEvent(Component.java:6285)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Container.processEvent(Container.java:2229)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.dispatchEventImpl(Component.java:4861)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Container.dispatchEventImpl(Container.java:2287)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.dispatchEvent(Component.java:4687)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.access$000(EventQueue.java:102)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:662)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:660)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$4.run(EventQueue.java:676)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$4.run(EventQueue.java:674)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
7:40:08 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
2012-11-14 - 16:33:42z
shlomy
This is not a bug in CtagsInterface. It just means that the plugin version does not match the version of jEdit - the APIs do not match.
2012-11-14 - 16:36:09z
snarum-micron
Well, if CtagsInterface plugin won't work with the current trunk of jEdit, but advertizes itself as being compatible in Plugin Manager, and there's no newer version available, I would argue that it IS a bug in CtagsInterface. :-)
2012-11-14 - 16:45:20z
ezust
I set a max version of jEdit 5.0 for ctagsinterface 2.2 so if you try to use it in jEdit 5.1, it should mark it as "unsupported" next time you get an update of the plugin list. The plugin does need to be updated for jEdit 5.1 which is not released yet.
2012-11-14 - 16:52:45z
snarum-micron
I understand both the problem and the "solution" but, most of CtagsInterface was working fine. Now nothing is. So I have the options of either living without it until someone updates it to the current API (which makes jEdit unusable as far as I'm concerned) or revert my jEdit to an older version. Neither sounds great to me.

In the interrim, it would be nice if a plugin that is marked "Unsupported" in PM showed something in the details box, like possibly, current version of the plugin, and range of supported jEdit versions, so the user knows why it is not supported.
2012-11-14 - 17:22:15z
ezust
If most of ctagsinterface still works fine, then I can remove the max version.
2012-11-14 - 19:38:13z
shlomy
I updated the plugin some time ago to use the new jEdit core APIs, however never requested a release, this is why you got this problem I think.
I just submitted a release request.
2012-11-14 - 19:55:18z
snarum-micron
Thanks Shlomy. I love CtagsInterface and wouldn't want to live without it.
2012-11-29 - 11:40:10z
Having the same issue. The tagging progress panel is empty.. Ctags is vital

Attachments