This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270123 - org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource: ChecksumIndexInput(NIOFSIndexInput(path="/home/davide/.cache/netbeans/8.2/cnd/model/text_index/segments_t
Summary: org.apache.lucene.index.IndexFormatTooOldException: Format version is not sup...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-19 22:39 UTC by Exceptions Reporter
Modified: 2017-03-19 22:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228468


Attachments
stacktrace (2.97 KB, text/plain)
2017-03-19 22:40 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-03-19 22:39:58 UTC
This bug was originally marked as duplicate of bug 214288, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK Server VM, 25.111-b14, OpenJDK Runtime Environment, 1.8.0_111-8u111-b14-2~bpo8+1-b14
OS: Linux

User Comments:
GUEST: This exception is cyclically reported when editing (c++). When I close the exception notification, it persistently reappears within a few seconds.

Netbeans loads the project directory from a remote filesystem (sshfs) and compiles remotely with gcc.
Code assistance is enabled.




Stacktrace: 
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource: ChecksumIndexInput(NIOFSIndexInput(path="/home/davide/.cache/netbeans/8.2/cnd/model/text_index/segments_t"))): 0 (needs to be between -1 and -11). This version of Lucene only supports indexes created with release 1.9 and later.
   at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:275)
   at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:182)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1178)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$FlushIndexWriter.<init>(LuceneIndex.java:1270)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache$1.call(LuceneIndex.java:910)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache$1.call(LuceneIndex.java:899)
Comment 1 Exceptions Reporter 2017-03-19 22:40:01 UTC
Created attachment 163886 [details]
stacktrace