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.
Created attachment 106406 [details] thread dump
1. Unzip a project default to some work directory - there is link: http://wiki.netbeans.org/wiki/images/e/ec/Refactoring_STS_68_Refactoring.zip 2. Start IDE with a clean userdir 3. Invoke File | Open Project... action 4. Select unzipped projects default 5. Scanning structure of project should be performed (It takes a while) 6. Open file packageE.ClassB 7. Select constant 3 in the method statMethod() 8. Perform Refactor -> Introduce Constant 9. Uncheck Replace all occurrence and fill in a new name 10. Press OK Deadlock shows when I uncheck Replace all occurence. Product Version: NetBeans IDE Dev (Build 201102240001) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b02 System: Linux version 2.6.32-28-generic running on i386; UTF-8; en_US (nb) P.S. Sorry for empty description, I was miss-clicked.
Note: According to thread dump, "repaint bug" has nothing to do with that.
The thread dump does not indicate any deadlock. Just that the IDE was trying to show some dialog and waited for the dialog to close. Wasn't the dialog hidden behind your other windows? It might look like a deadlock if the dialog was not there at all and the rest waited for it to close ...
Hm, it's possible, but I can't tell for sure. It's random, so I can hardly reproduce it. If this happens to me one more time I'll let you know immediately. Between that, maybe you can lower the priority?
(In reply to comment #4) > The thread dump does not indicate any deadlock. Just that the IDE was trying to > show some dialog and waited for the dialog to close. Wasn't the dialog hidden > behind your other windows? Another possibility is that this is a JDK bug.
Last week, when I talked to the reporter, it seemed more like a JDK bug: after clicking at the checkbox, the dialog was not repainted anymore. The thread dump shows AWT waiting for next event. So far, I know only about one single case when this happened: reporter, did you see it again? Thanks.
No, I don't met this bug anymore.
Closing as worksforme ... Tomas reopen this issue if you meet it once again please. Thanks in advance.
v/c