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 - java.io.IOException: read past EOF: MMapIndexInput(path="/home/user/.cache/netbeans/8.0.1/cnd/model/text_index/_5d.cfs")
Summary: java.io.IOException: read past EOF: MMapIndexInput(path="/home/user/.cache/ne...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 13:34 UTC by vgorelov
Modified: 2015-09-24 18:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189659


Attachments
stacktrace (2.67 KB, text/plain)
2014-12-01 13:34 UTC, vgorelov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.