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: | IDE hangs during refactoring a JAV file with mercurial plugin | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Winston Prakash <wjprakash> |
Component: | Mercurial | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | issues |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Winston Prakash
2008-01-30 20:34:14 UTC
When I press cancel, then IDE simple freezes and doesn't repaint. FYI. If I uninstall mercurial, then refactoring doesn't hang. IDE hanged in mercurial code. Can you give me some help to try and reproduce this? Are you in Projects, Files or Favourites view? Is the file you are refactoring managed or LocallyNew? Are you not able to reproduce with a simple case of refactoring a file in a project with mercurial plugins installed? I had two projects - Opened both the projects - Refactor move several files from project 1 to project 2 - Hand edit some files to clear all the compilation error. (I had to hand edit because refactor could not correctly handle some imports in the moved file which were in different package in the second project) - Made sure everything compiles fine. - Now started renaming the moved files to suite my second project convention. This is when IDE started hanging. I removed both mercurial plugin. (BTW after removing plugin, I started seeing several Class Not Found Exception, but that is not related to this bug). Now, I was able to refactor all the files with out any problem. As I mentioned when the refactoring was going on, refactoring dialog has a progress bar. There was another progress bar in the task bar (lower left corner of IDE) saying "Chaning". Looks like there was a race condition between both the tasks. Thanks for the instructions. I am currently working on #126385 which has a stack dump similar to yours and which I could reproduce. I am hopeful that the same fix will fix both bugs. This thread dump shows the same locking contention as #126385. *** This issue has been marked as a duplicate of 126385 *** |