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 196626 - 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 (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 16:03 UTC by Montserrat
Modified: 2012-04-12 13:04 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176221


Attachments
stacktrace (3.56 KB, text/plain)
2011-03-12 16:03 UTC, Montserrat
Details
stacktrace (3.27 KB, text/plain)
2011-03-24 19:39 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Montserrat 2011-03-12 16:03:08 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6848-on-110312)
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:
static_void: Python autocomplete

vernons: Adding a . to append a function to a string -- string value is 'line', trying to type line.strip() -- in Python.




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.store(LuceneIndex.java:633)
   at org.netbeans.modules.gsfret.source.usages.SourceAnalyser.analyseUnitAndStore(SourceAnalyser.java:129)
   at org.netbeans.modules.gsfret.source.usages.PersistentClassIndex.runIndexers(PersistentClassIndex.java:167)
Comment 1 Montserrat 2011-03-12 16:03:12 UTC
Created attachment 106934 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-24 19:39:57 UTC
Created attachment 107261 [details]
stacktrace
Comment 3 Exceptions Reporter 2011-06-17 15:35:18 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176221
Comment 4 Marian Mirilovic 2012-04-12 13:04:36 UTC

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