#1554 CtagsInterface no segments file at first run


When running jedit 4.5 for the first time after installing ctagsint I got an exception:

10:15:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0:
org.apache.lucene.index.IndexNotFoundException: no segments* file found in
lockFactory=org.apache.lucene.store.NativeFSLockFactory@67dacccc: files:
10:15:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
10:15:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.index.TagIndex.runQuery(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.index.TagIndex.getOrigins(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.options.DirsOptionPane.getDirs(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.jedit.BufferWatcher.isInMonitoredTree(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.jedit.BufferWatcher.monitored(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
ctagsinterface.jedit.BufferWatcher.handleBufferUpdate(Unknown Source)
10:15:51 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Full log uploaded to ticket #3485827 in plugin central. Here is the link to the file directly:

Happened on windows.


  • Anonymous - 2012-02-18

    The link to the complete log file seems to be broken - I get an error from SourceForge.
    I have some questions:
    1. I'd like to know if you already had a tag index (of CtagsInterface) before you installed jEdit 4.5. Did you use CtagsInterface before that? If so, do you know if it was the version of CtagsInterface that used Lucene to maintain its tag database? (until some point, CtagsInterface had used a relational database instead of a Lucene index for the tag information).
    2. The path in the error above: C:\Temp\30\plugin-factory\jedit.04.05.settings\CtagsInterface\index
    is strange to me. The tag index should be located somewhere under the jEdit settings directory. Does this path (C:\Temp\...) reflect the jEdit settings directory?

  • Jarek Czekalski

    Jarek Czekalski - 2012-02-18

    Sourceforge has problems with attachements. I sometimes download them dozens of times before succeeding.
    1. Never used that before
    2. It is correct directory

    Are you saying you tried to reproduce and could not? I didn't supply steps to reproduce because they seemd obvious to me:
    1. Install a fresh jedit 4.5
    2. Run it with new settings dir
    3. Install ctagsinterface with plugin manager
    4. Restart jedit
    The procedure is always the same when a plugin is released from plugin central submission. And the paths are like that.

  • Anonymous - 2012-02-18

    I didn't say that I couldn't reproduce. But the solution is different if you already had a tag index before or not.
    In your case, the error message can be ignored. I'll fix it so that tag index queries are not attempted if there is no index.

  • Anonymous - 2012-02-29

    Fixed in git version f9d45f8

  • Anonymous - 2012-02-29
    • status: open --> closed-fixed

Log in to post a comment.