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 224789 - 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 229836
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-12 17:47 UTC by rodanmuro
Modified: 2015-04-04 13:07 UTC (History)
46 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182234


Attachments
stacktrace (3.14 KB, text/plain)
2013-01-12 17:48 UTC, rodanmuro
Details
stacktrace (2.68 KB, text/plain)
2013-06-29 01:56 UTC, rodrigorsantos
Details
stacktrace (2.19 KB, text/plain)
2014-04-30 09:09 UTC, aldobrucale
Details
stacktrace (2.66 KB, text/plain)
2014-11-12 14:42 UTC, michbarsinai
Details
stacktrace (2.19 KB, text/plain)
2014-11-12 14:45 UTC, michbarsinai
Details
stacktrace (2.19 KB, text/plain)
2014-12-08 23:22 UTC, Lou Dasaro
Details
stacktrace (2.19 KB, text/plain)
2014-12-09 02:01 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodanmuro 2013-01-12 17:47:59 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-10057-on-20130112)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
rodanmuro: When i use the code completation later of use the ctrl spc

rodanmuro: this exception happens when im korking on python and i use the "import" word and the code completation

GUEST: ctrl+space




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:43)
   at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1339)
   at org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:1375)
   at org.netbeans.modules.gsfret.source.usages.LuceneIndex.store(LuceneIndex.java:636)
   at org.netbeans.modules.gsfret.source.usages.SourceAnalyser.analyseUnitAndStore(SourceAnalyser.java:129)
Comment 1 rodanmuro 2013-01-12 17:48:01 UTC
Created attachment 130140 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-06-05 12:13:30 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182234
Comment 3 rodrigorsantos 2013-06-29 01:56:53 UTC
Created attachment 136480 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 4 Exceptions Reporter 2013-06-29 01:56:57 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182234
Comment 5 aldobrucale 2014-04-30 09:09:06 UTC
Created attachment 147018 [details]
stacktrace

May be related to the Python module
Comment 6 michbarsinai 2014-11-12 14:42:50 UTC
Created attachment 150454 [details]
stacktrace

Running a python project.
Comment 7 michbarsinai 2014-11-12 14:45:51 UTC
Created attachment 150455 [details]
stacktrace

Running a python project. Very simple one (1 file)
Comment 8 Lou Dasaro 2014-12-08 23:22:24 UTC
Created attachment 150970 [details]
stacktrace

Opening an existing Python project
Comment 9 Lou Dasaro 2014-12-09 02:01:24 UTC
Created attachment 150973 [details]
stacktrace

Python project: Changed platform to use 2.5.3. System responded: "Indexing..."
Comment 10 Ralph Ruijs 2015-04-04 13:07:51 UTC

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