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.
Build: NetBeans IDE Dev (Build 200904070200) VM: Java HotSpot(TM) Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, i386 User Comments: standingfire: Loading the IDE following the update kawazu428: not sure... the "scanning projects" task was running at this time, about 50 maven2 projects opened, and this exception is being thrown a dozen of times until the task finishes... GUEST: Estava iniciando um abiente de desenvolvimento (Chroot via Jboss). GUEST: I have just started up the IDE xkrej45: dsfdsfsd Stacktrace: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:68) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
Created attachment 79711 [details] stacktrace
Build: NetBeans IDE Dev (Build 200904070200) VM: Java HotSpot(TM) Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, i386 User Comments: "scanning projects" again... Stacktrace: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:68) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
Created attachment 79721 [details] stacktrace
Combination of scanning projects and maven. Please, evaluate it.
Marking it as WORKSFORME as this doesn't seem to happen anymore with recent nightly builds.
Build: NetBeans IDE 6.7.1 (Build 200907230233) VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.28-14-generic, amd64 User Comments: Stacktrace: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:68) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
Created attachment 85707 [details] stacktrace
This exception is still happening in 6.7.1 so reopening. I had three exceptions with identical stack traces yesterday, http://statistics.netbeans.org/analytics/exception.do?id=237311 http://statistics.netbeans.org/analytics/exception.do?id=237317 http://statistics.netbeans.org/analytics/exception.do?id=237339 but they were allocated to two different issues, this one and #166267. I'm not sure why or which is the relevant issue.
The lucene index is corrupted. If this exception keeps popping up please shutdown the IDE and delete <nb-userdir>/var/cache/index folder. The IDE will recreate indices on the next start. *** This issue has been marked as a duplicate of 166267 ***