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 194045 - Ide lockup after hint "change package declaration"
Summary: Ide lockup after hint "change package declaration"
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Other
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 193899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-05 12:09 UTC by Tomas Danek
Modified: 2011-10-18 10:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (17.43 KB, text/plain)
2011-01-05 12:09 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2011-01-05 12:09:08 UTC
Created attachment 104723 [details]
threaddump

Product Version: NetBeans IDE Dev (Build 201101050001)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 20.0-b03
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Users\tester\.netbeans\dev
----------------
- had sample project
- added new testroot
- created junit test in this new testroot
- file was red badged, there was a hint to correct package declaration
-> confirmed to change package decl. --> lockup

thread dump attached
Comment 1 Tomas Danek 2011-01-05 14:43:09 UTC
got lockup again, this time after "implement all abstract methods".
Comment 2 Jan Lahoda 2011-01-05 16:22:14 UTC
Similar to #192548: the implementation of Component.repaint in JDK recently changed in such a way that it cannot be called outside AWT event dispatch thread. AFAIK we were simply moving the repaints to AWT. Adding Mila on CC to check that it is OK for the FoldHierarchy to fire the changes outside AWT.
Comment 3 Ondrej Vrabec 2011-01-05 16:29:39 UTC
I'll move the call inside AWT, then. Thanks Honza for explaining.
Comment 4 Ondrej Vrabec 2011-01-05 16:36:56 UTC
fix: #69ceb559b63a - http://hg.netbeans.org/core-main/rev/ceb2093c7aca
Comment 5 Quality Engineering 2011-01-06 09:08:56 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ceb2093c7aca
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #194045 - Ide lockup after hint "change package declaration"
Comment 6 Ondrej Vrabec 2011-10-18 10:28:31 UTC
*** Bug 193899 has been marked as a duplicate of this bug. ***