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.
Summary: | After package rename - editor incorrectly reports error in classes | ||
---|---|---|---|
Product: | java | Reporter: | Jana Maleckova <janie> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages log |
Description
Jana Maleckova
2008-03-28 13:56:12 UTC
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) |