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 249035

Summary: java.io.IOException: read past EOF: MMapIndexInput(path="/home/user/.cache/netbeans/8.0.1/cnd/model/text_index/_5d.cfs")
Product: cnd Reporter: vgorelov
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tzezula, vgorelov
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189659
Attachments: stacktrace

Description vgorelov 2014-12-01 13:34:31 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
GUEST: Reparse code in code assitance

vgorelov: I just ran again after prev. crash and whoops again.

GUEST: just ran IDE and whoops.




Stacktrace: 
java.io.IOException: read past EOF: MMapIndexInput(path="/home/user/.cache/netbeans/8.0.1/cnd/model/text_index/_5d.cfs")
   at org.apache.lucene.store.MMapDirectory$MMapIndexInput.readBytes(MMapDirectory.java:300)
   at org.apache.lucene.store.DataInput.readString(DataInput.java:181)
   at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:90)
   at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:53)
   at org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1218)
   at org.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:1238)
Comment 1 vgorelov 2014-12-01 13:34:33 UTC
Created attachment 150811 [details]
stacktrace
Comment 2 Tomas Zezula 2014-12-03 16:14:37 UTC
Please attach some such a broken index.
Thanks
Comment 3 vgorelov 2014-12-04 13:49:21 UTC
Sorry, but I did rm -rf it already.
Comment 4 Vladimir Kvashin 2015-09-24 18:11:44 UTC
Please reopen once it happens again - preferably, with the attached broken file.