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 197354 - UnsupportedOperationException: This IndexReader cannot make any changes to the index (it was opened with readOnly = true)
Summary: UnsupportedOperationException: This IndexReader cannot make any changes to th...
Status: RESOLVED DUPLICATE of bug 195721
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal with 1 vote (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-02 11:27 UTC by Montserrat
Modified: 2013-07-06 22:07 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176192


Attachments
stacktrace (2.18 KB, text/plain)
2011-04-02 11:27 UTC, Montserrat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Montserrat 2011-04-02 11:27:09 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6960-on-20110402)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-329, Java(TM) SE Runtime Environment, 1.6.0_24-b07-329
OS: Mac OS X

User Comments:
GUEST: Loading python project

GUEST: I have just tried to debug a python application.




Stacktrace: 
java.lang.UnsupportedOperationException: This IndexReader cannot make any changes to the index (it was opened with readOnly = true)
   at org.apache.lucene.index.ReadOnlySegmentReader.noWrite(ReadOnlySegmentReader.java:23)
   at org.apache.lucene.index.ReadOnlyDirectoryReader.acquireWriteLock(ReadOnlyDirectoryReader.java:41)
   at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:871)
   at org.netbeans.modules.gsfret.source.usages.LuceneIndex.batchStore(LuceneIndex.java:512)
   at org.netbeans.modules.gsfret.source.usages.SourceAnalyser.batchStore(SourceAnalyser.java:171)
   at org.netbeans.modules.gsfret.source.usages.CachingIndexer$LanguageIndex.flush(CachingIndexer.java:159)
Comment 1 Montserrat 2011-04-02 11:27:13 UTC
Created attachment 107442 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-08-17 10:12:16 UTC
193 dups ... P1
Comment 3 Exceptions Reporter 2011-08-18 13:07:32 UTC
This bug already has 200 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176192
Comment 4 Marian Mirilovic 2011-11-07 08:54:15 UTC

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