PreviousNextTracker indexSee it online !

(145/314) 3185703 - Lucene plugin lock prevent jEdit from starting new instance

!@#$%^&*()_+> jedit -noserver &
[1] 26166
!@#$%^&*()_+> 11:33:44 AM [main] [warning] TagIndex: The lucene index at /home/!@#$%/.jedit/CtagsInterface/index is locked
11:34:17 AM [main] [error] main: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /home/!@#$%/.jedit/CtagsInterface/index/write.lock
11:34:17 AM [main] [error] main: at
11:34:17 AM [main] [error] main: at org.apache.lucene.index.IndexWriter.unlock(
11:34:17 AM [main] [error] main: at ctagsinterface.index.TagIndex.<init>(
11:34:17 AM [main] [error] main: at ctagsinterface.main.CtagsInterfacePlugin.start(
11:34:17 AM [main] [error] main: at org.gjt.sp.jedit.PluginJAR.startPlugin(
11:34:17 AM [main] [error] main: at org.gjt.sp.jedit.PluginJAR.activatePlugin(
11:34:17 AM [main] [error] main: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(
11:34:17 AM [main] [error] main: at org.gjt.sp.jedit.jEdit.main(
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: java.lang.NullPointerException
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at ctagsinterface.index.TagIndex.deleteTagsFromSourceFile(
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at ctagsinterface.main.CtagsInterfacePlugin$7._run(
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at java.util.concurrent.ThreadPoolExecutor$ Source)
11:34:19 AM [jEdit Worker #0] [error] CtagsInterfacePlugin$7: at Source)

after application start the msg box is displayed asking if unlock index [CtagsInterface one].
if no is selected then application stucks.
if yes then sometimes it success but i think then index is cleared and the source trees have to be defined again in CtagsInterface plugin [but this is to be verified].

there is definitely bug in Lucene as it is unable to share Ctags indexes between instances.

i'm using jEdit 4.5pre1 daily build from 2011.02.15.
CtagsInterface 2.1


Submitted Anonymous - 2011-02-18 - 10:51:30z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No