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 234340 - IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
Summary: IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
Status: RESOLVED DUPLICATE of bug 253340
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 17:37 UTC by Exceptions Reporter
Modified: 2015-09-08 11:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203021


Attachments
stacktrace (94.07 KB, text/plain)
2013-08-13 17:37 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-08-13 17:37:10 UTC
This bug was originally marked as duplicate of bug 222823, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: No steps to reproduce this, the computer was on sleep mode.




Stacktrace: 
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
   at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3599)
   at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3588)
   at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3567)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$FlushIndexWriter.callFlush(LuceneIndex.java:1296)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.txStore(LuceneIndex.java:411)
   at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.storeImpl(DocumentIndexImpl.java:219)
Comment 1 Exceptions Reporter 2013-08-13 17:37:11 UTC
Created attachment 138651 [details]
stacktrace
Comment 2 Tomas Zezula 2013-08-30 10:37:57 UTC
Infinit recursion in:

org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:110)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:120)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:115)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:115)

I believe it's a duplicate of some issue which I've already evaluated.
Comment 3 Petr Pisl 2015-09-08 11:40:23 UTC
Problem with big css file, which has 10 millions new lines. Solved as issue #25334

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