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 194013 - AssertionError at org.apache.lucene.index.IndexWriter.doFlushInternal
Summary: AssertionError at org.apache.lucene.index.IndexWriter.doFlushInternal
Status: RESOLVED DUPLICATE of bug 204706
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2011-01-04 13:00 UTC by mmrath
Modified: 2012-05-02 15:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174476


Attachments
stacktrace (3.29 KB, text/plain)
2011-01-04 13:00 UTC, mmrath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mmrath 2011-01-04 13:00:40 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
repasit: A completely idle IDE throws an exception ... <ot>it wasn't me</ot>

mmrath: exception poped up when right clicking on servers->GlassFish Server 3.1




Stacktrace: 
java.lang.AssertionError
   at org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4326)
   at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4264)
   at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4255)
   at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2244)
   at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2207)
   at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2171)
Comment 1 mmrath 2011-01-04 13:00:43 UTC
Created attachment 104697 [details]
stacktrace
Comment 2 Jesse Glick 2011-01-11 23:03:07 UTC
Some kind of corruption of the Lucene index for one of the configured Maven repositories. Not clear what causes it or what to do to prevent it; catching AssertionError is not generally wise.
Comment 3 Milos Kleint 2012-03-21 11:32:56 UTC
could be related to issue 204706 via https://jira.codehaus.org/browse/MINDEXER-52
Comment 4 Milos Kleint 2012-05-02 08:00:28 UTC
I believe this issue is also likely to be fixed by http://hg.netbeans.org/core-main/rev/08a93fe0f8da which introduces indexer's DefaultIndexingContext locking to all our calls to the library, ensuring we don't stumble on the thread spawned internally by the indexer lib.
Comment 5 Jesse Glick 2012-05-02 15:40:43 UTC

*** This bug has been marked as a duplicate of bug 204706 ***