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.
Product Version: NetBeans IDE Dev (Build 200803251204) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ have Java Desktop Application project with db connection 1. open e.g view class if it hasn't been already opened in editor 2. do refactor/rename of package with this class see editor reports errors even though refactoring finished successfully workaround: close and open this class again in editor
If can reproduce it with common j2se project. The code is correct but the fake errors makes refactoring to looks unreliable (justification for higher priority). See issue 130309 for more details Product Version: NetBeans IDE Dev (Build 20080328094427) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
*** Issue 130309 has been marked as a duplicate of this issue. ***
Can you reproduce reliably? Could you please try to reproduce on Linux? Could you please reproduce with: -J-Dorg.netbeans.modules.java.source.usages.RepositoryUpdater.level=0 and send me the log? Thanks. (I was not yet able to reproduce on Linux :-( ).
Created attachment 59296 [details] messages log
I've attached log from WinXP (fresh userdir and common J2se project user) I'll try to reporduce it on Ubuntu Linux later, when I'll download actual build
I'm unable to reproduce it on Linux (tested with the same build and project as on WinXP)
I was able to reliably reproduce a problem by adding delay to refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/RetoucheCommit.java, after calling commit on ModificationResult. Presumably it is the problem described in this issue. I have tried to fix, please verify&test as soon as possible. Thanks. The errors may appear temporarily, should be cleared without user intervention in few seconds. http://hg.netbeans.org/main/rev/c593fde518d8 http://hg.netbeans.org/main/rev/64b6e3644e79
verified on Product Version: NetBeans IDE Dev (Build 200803302302) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)