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 220216

Summary: Throwable: Using stale writer, possibly forgotten call to store, old owner Thread Thread[RepositoryUpdater.worker,1,system], new owner Thread Thread[Code Completion,1,system] .
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: ckoebke, FrantaM, javydreamercsw, jbecicka, jungi, mienamoo, mr_lou_d, nhoffmann, obrejla, renatolima, rgw21, szmitek, thruminds, TobiasKranz, tomzi, viggonavarsete
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193622
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Exceptions Reporter 2012-10-16 18:59:49 UTC
This bug was originally marked as duplicate of bug 210786, 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.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Windows 7

User Comments:
GUEST: just typing




Stacktrace: 
java.lang.Throwable: Using stale writer, possibly forgotten call to store, old owner Thread Thread[RepositoryUpdater.worker,1,system], new owner Thread Thread[Code Completion,1,system] .
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache$OwnerReference.assertNoModifiedWriter(LuceneIndex.java:1098)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.beginTx(LuceneIndex.java:810)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.run(LuceneIndex.java:369)
   at org.netbeans.modules.java.source.usages.PersistentClassIndex$PIWriter.<init>(PersistentClassIndex.java:449)
   at org.netbeans.modules.java.source.usages.PersistentClassIndex.getSourceAnalyser(PersistentClassIndex.java:133)
   at org.netbeans.modules.java.source.indexing.JavaParsingContext.getSourceAnalyzer(JavaParsingContext.java:187)
Comment 1 Exceptions Reporter 2012-10-16 18:59:53 UTC
Created attachment 126035 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-10-19 11:58:45 UTC
Sounds like issue 210786 is back
Comment 3 Jan Lahoda 2012-10-19 13:00:02 UTC
Tomas, could you please take a look? Thanks.
Comment 4 Jan Becicka 2013-02-20 16:55:58 UTC
Created attachment 131628 [details]
stacktrace
Comment 5 Exceptions Reporter 2013-02-26 09:50:11 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193622
Comment 6 Exceptions Reporter 2013-02-26 13:56:13 UTC
Created attachment 131898 [details]
stacktrace

Was changing project.
Comment 7 Lukas Jungmann 2013-02-26 20:14:15 UTC
Created attachment 131921 [details]
stacktrace

open maven project
Comment 8 mienamoo 2013-05-17 10:34:58 UTC
Created attachment 134563 [details]
stacktrace

Profiling an Ant-based Java Enterprise Application.
Comment 9 szmitek 2013-05-26 12:31:14 UTC
Created attachment 134914 [details]
stacktrace

Add Source directory to Ant project
Comment 10 Exceptions Reporter 2013-05-26 12:31:18 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193622
Comment 11 javydreamercsw 2013-06-04 14:46:28 UTC
Created attachment 135332 [details]
stacktrace

Closing NetBeans Maven Module.
Comment 12 viggonavarsete 2013-06-25 08:23:06 UTC
Created attachment 136254 [details]
stacktrace

Error happened after checking out a project from SVN
Comment 13 nhoffmann 2013-07-17 07:57:37 UTC
Created attachment 137290 [details]
stacktrace

I was using a NetBeans RCP Ant-based project with suite chaining. I double-clicked on child module node to open the associated project. Then the exception happened.
Comment 14 Lou Dasaro 2014-01-02 22:36:37 UTC
Created attachment 143573 [details]
stacktrace

While background scanning was being performed on a newly opened project, clicked on an .fxml file and tried to access a menu.
Comment 15 Tomas Zezula 2014-05-17 16:06:59 UTC
Fixed jet-main f44a95e14232
Comment 16 Quality Engineering 2014-05-20 02:49:20 UTC
Integrated into 'main-silver', will be available in build *201405200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f44a95e14232
User: Tomas Zezula <tzezula@netbeans.org>
Log: #220216:Throwable: Using stale writer, possibly forgotten call to store, old owner Thread Thread[RepositoryUpdater.worker,1,system], new owner Thread Thread[Code Completion,1,system]