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 246838 - java.io.FileNotFoundException: /export1/home/alsimon/cnd-main/nbbuild/testuserdir/var/cache/cnd/model/text_index/_0.fnm (No such file or directory)
Summary: java.io.FileNotFoundException: /export1/home/alsimon/cnd-main/nbbuild/testuse...
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: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 07:05 UTC by Alexander Simon
Modified: 2017-03-31 11:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211557


Attachments
stacktrace (2.71 KB, text/plain)
2014-09-03 07:05 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2014-09-03 07:05:20 UTC
Build: NetBeans IDE Dev (Build 20140903-8ce87f4f93c6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: SunOS

User Comments:
alexvsimon: open project




Stacktrace: 
java.io.FileNotFoundException: /export1/home/alsimon/cnd-main/nbbuild/testuserdir/var/cache/cnd/model/text_index/_0.fnm (No such file or directory)
   at java.io.RandomAccessFile.open(RandomAccessFile.java:0)
   at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
   at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:214)
   at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:345)
   at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:74)
   at org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1222)
Comment 1 Alexander Simon 2014-09-03 07:05:22 UTC
Created attachment 149015 [details]
stacktrace
Comment 2 Tomas Zezula 2014-09-03 08:23:38 UTC
DiskTextIndexLayer did not closed properly the index.
Comment 3 Alexander Simon 2017-03-31 11:03:27 UTC
A lot of changes have been done in TextIndexStorageManager since exception.
There is no new exceptions in NetBeans 8.1 and 8.2.
So I believe that problem was fixed.