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 210786 - Throwable: Using stale writer, possibly forgotten call to store, old owner Thread Thread[RepositoryUpdater.worker,1,system], new owner Thread Thread[RepositoryUpdater.worker,1,system] .
Summary: Throwable: Using stale writer, possibly forgotten call to store, old owner Th...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-05 21:59 UTC by crazyjavahacking
Modified: 2012-04-12 11:50 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186719


Attachments
stacktrace (3.92 KB, text/plain)
2012-04-05 22:00 UTC, crazyjavahacking
Details
stacktrace (3.90 KB, text/plain)
2012-04-06 02:26 UTC, MackSix
Details
stacktrace (3.90 KB, text/plain)
2012-04-06 09:20 UTC, Vladimir Riha
Details
stacktrace (3.91 KB, text/plain)
2012-04-07 09:47 UTC, MackSix
Details
Project to use for reproduction. (44.46 KB, application/zip)
2012-04-07 10:09 UTC, MackSix
Details
stacktrace (3.90 KB, text/plain)
2012-04-09 09:44 UTC, Exceptions Reporter
Details
stacktrace (3.90 KB, text/plain)
2012-04-10 07:56 UTC, J Bachorik
Details
stacktrace (3.43 KB, text/plain)
2012-04-11 08:14 UTC, stefan79
Details
stacktrace (3.92 KB, text/plain)
2012-04-11 12:56 UTC, MackSix
Details
stacktrace (3.77 KB, text/plain)
2012-04-11 16:05 UTC, Vladimir Voskresensky
Details
stacktrace (3.77 KB, text/plain)
2012-04-11 16:17 UTC, Egor Ushakov
Details
stacktrace (3.90 KB, text/plain)
2012-04-12 08:29 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-04-05 21:59:53 UTC
Build: NetBeans IDE Dev (Build 201204050400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
ralphbenjamin: Applied patch with conflicts.

crazyjavahacking: I created new Java SE Maven project




Stacktrace: 
java.lang.Throwable: Using stale writer, possibly forgotten call to store, old owner Thread Thread[RepositoryUpdater.worker,1,system], new owner Thread Thread[RepositoryUpdater.worker,1,system] .
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache$OwnerReference.assertNoModifiedWriter(LuceneIndex.java:1046)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.beginTx(LuceneIndex.java:776)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.run(LuceneIndex.java:346)
   at org.netbeans.modules.java.source.usages.PersistentClassIndex$PIWriter.<init>(PersistentClassIndex.java:441)
   at org.netbeans.modules.java.source.usages.PersistentClassIndex.getSourceAnalyser(PersistentClassIndex.java:125)
   at org.netbeans.modules.java.source.indexing.JavaParsingContext.getSourceAnalyzer(JavaParsingContext.java:185)
Comment 1 crazyjavahacking 2012-04-05 22:00:00 UTC
Created attachment 117910 [details]
stacktrace
Comment 2 MackSix 2012-04-06 02:26:21 UTC
Created attachment 117915 [details]
stacktrace

1.) Deleted project called JavaApplication7. 2.) Created new project and named it JavaApplication7 3.) Clicked Finish button. 4.) Opened up tree in Project Window to view source files.
Comment 3 Vladimir Riha 2012-04-06 09:20:22 UTC
Created attachment 117930 [details]
stacktrace

Reopening previously closed project (inside Mercurial repository)
Comment 4 Exceptions Reporter 2012-04-06 16:44:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=186719
Comment 5 MackSix 2012-04-07 09:47:21 UTC
Created attachment 117971 [details]
stacktrace

Revert a Mercurial JavaSE project with Internationalization. JFrame form was moved from one package to another and then I tried to revert.
Comment 6 MackSix 2012-04-07 10:09:31 UTC
Created attachment 117973 [details]
Project to use for reproduction.

1.) Open up attached project.
2.) Create New Package "newpackage".
3.) Drag & Drop NewJFrame.java into newpackage.
4.) Right click on project - Mercurial>>Revert and choose the only entry shown.
5.) Uncheck "Backup any locally modified files to <file>.orig".
6.) Click "Revert" button.

This happens.
Comment 7 Exceptions Reporter 2012-04-09 09:44:23 UTC
Created attachment 118010 [details]
stacktrace

Installed netbeans-trunk-nightly-201204080400-ml-javaee-linux (32 bit)
started netbeans and opened maven EAR project
netbeans started transferring mave repository

received error message
Comment 8 J Bachorik 2012-04-10 07:56:22 UTC
Created attachment 118033 [details]
stacktrace

scan after IDE startup
Comment 9 Exceptions Reporter 2012-04-10 07:56:36 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=186719
Comment 10 Tomas Zezula 2012-04-10 09:23:14 UTC
Fixed jet-main 010d70dac2d0
Comment 11 stefan79 2012-04-11 08:14:23 UTC
Created attachment 118112 [details]
stacktrace

Opened a folder in a Web-Project.
Comment 12 MackSix 2012-04-11 12:56:23 UTC
Created attachment 118125 [details]
stacktrace

Using Mercurial to restore a Internationalized project that was messed up due to the Undo/Redo not working properly on Internationalized projects.
Comment 13 Vladimir Voskresensky 2012-04-11 16:05:25 UTC
Created attachment 118150 [details]
stacktrace

build module
Comment 14 Egor Ushakov 2012-04-11 16:17:24 UTC
Created attachment 118152 [details]
stacktrace
Comment 15 Petr Jiricka 2012-04-12 08:29:25 UTC
Created attachment 118174 [details]
stacktrace

During scanning of netbeans.org sources.
Comment 16 Quality Engineering 2012-04-12 10:02:19 UTC
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/010d70dac2d0
User: Tomas Zezula <tzezula@netbeans.org>
Log: #210786:Throwable: Using stale writer, possibly forgotten call to store