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 202944 - Rename of module resources package does not return from refactor window
Summary: Rename of module resources package does not return from refactor window
Status: RESOLVED DUPLICATE of bug 203335
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-02 12:14 UTC by monezz
Modified: 2011-10-14 19:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Hanging refactor screen (19.53 KB, image/png)
2011-10-02 12:18 UTC, monezz
Details
FTD taken when UI freeze occurred. (32.56 KB, application/octet-stream)
2011-10-04 19:52 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description monezz 2011-10-02 12:14:56 UTC
[ JDK VERSION : 1.6.27 ]

When you rename a resource package in a maven rcp module, the refactor window
hangs. No failure is reported. The refactoring seems to have executed
completely. New directory is created, files are moved and old directory is
removed.

steps to reproduce:
- creater a maven rcp module project
- goto Other Sources->source/main/resources
- right click the package myproject.mavenproject1
- choose refactor->rename
- rename to myproject.mavenproject2
- click refactor (comments checkbox does not make difference)

expected result:
- refactoring is executed and refactor window is closed when done
actual result:
- refactoring is executed, but the window is never closed and blocks the IDE.

workaround:
1- execute refactoring, kill IDE process and restart IDE
2- rename resources folder outside the IDE

Both workarounds are impractical.
Comment 1 monezz 2011-10-02 12:18:45 UTC
Created attachment 111401 [details]
Hanging refactor screen

Hanging refactor screen.
Does not respond to cancel or closing (X)
Comment 2 Jiri Kovalsky 2011-10-04 19:52:07 UTC
Created attachment 111478 [details]
FTD taken when UI freeze occurred.

Reproduced. Very good report Timon! Jesse, can you please take a look at this? Thanks.
Comment 3 Jan Becicka 2011-10-14 06:18:34 UTC
ExplorerActionsImpl is waiting for something in AWT EQ
Comment 4 Jaroslav Tulach 2011-10-14 19:08:32 UTC
I removed the waiting while fixing bug 203335.

*** This bug has been marked as a duplicate of bug 203335 ***