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.
First of all, this is my first NB bug report so I will probably get the Component and Subcomponent wrong. After editing the project properties of a Java project in Netbeans 6.5 (Specifically the JavaDoc options) a small window appeared saying "Saving Project data". This normally flashes on and then goes away but it appears that this small window has crashed: It has only the framework around it and the contents of the window are exactly the same as the things behind it, even when you move. The cross icon does not work, and there is no way to access anything behind it as the dialog has priority. I will End the process and see if I can reproduce the bug, but first I will post a few screenshots of the bug for more information if you need it, email me gigitrix.gigitrix@com (swap .@).
Created attachment 68449 [details] Screenshot of the window. You can see the open modules
Created attachment 68450 [details] Another screenshot
Created attachment 68451 [details] I can resize the window, I just can't close it!
I'd just like to point out that this is pretty high priority since ironically there is no way to save during the supposed "Saving project data" process. I cannot reproduce it though: may just be a one time quirk. Since I cannot reproduce, I have put it on P2.
could you try to take a thread dump? It looks that the IDe is frozen. http://wiki.netbeans.org/GenerateThreadDump
Well if the issue ever repeats I will, but as of now I cannot reproduce it. Will be back with a Thread dump if it happens again. If not, just close the ticket: obviously just a blip!
Well I don't know if it's a related issue but something else happened. Firstly a project I've been using for ages suddenly had some issues in jnlp-impl.xml. I haven't touched this file but it gave errors on lines 61 and 385. I then opened it up, and tried to isolate the problem. Couldn't see it (I know you aren't supposed to mess with it anyway) so I left it as it was. I tried a Clean and Build and got a dialog asking me if I wanted to regenerate the file. I clicked this and the app froze (see new attachments.) I managed to get a Thread dump this time but the top of it appears to be truncated by M$Vista (attached). I still have the app open so I am going to try and get VisualVM as detailed on that wiki page. I do not know if this is the same or separate issue, but since it is on "Saving Project Data" again I'm guessing it is.
Created attachment 68535 [details] Partial Stack Trace (Windows cut it off)
Created attachment 68537 [details] Screenshot of bug 2
Created attachment 68538 [details] Screenshot of bug 2 with window moved
Created attachment 68541 [details] StackTrace->Tools->Dump All
Reassigning to Jarda for evaluation or at least explanation of wait() magic in DialogDisplayerImpl. Thanks.
The DialogDisplayerImpl is not responsible for anything, it runs quite fine, if following line is executed: "at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:231)" then there is no deadlock caused by the displaying infrastructure. Imho, the deadlock is caused by org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties.showModifiedMessage(J2SEProjectProperties.java:620) blocking while holding ProjectManager.mutex() and waiting for result of a task posted to AWT thread. Jesse should probably define and document what is more priviledged: PM.mutex() or AWT thread? Can AWT code access PM.mutex()? Can someone holding PM.mutex() deal with AWT Tree Lock?
"Can AWT code access PM.mutex()?" - yes. "Can someone holding PM.mutex() deal with AWT Tree Lock?" - no.
The deadlock was caused by change of threading in nb 6.1, the save of project properties is done outside the awt.
http://hg.netbeans.org/main/rev/a823ec3eab50
Integrated into 'main-golden', will be available in build *200809161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a823ec3eab50 User: Tomas Zezula <tzezula@netbeans.org> Log: #145304:Unusable after project properties
Nicer fix: http://hg.netbeans.org/main/rev/dced29ff7242
Integrated into 'main-golden', will be available in build *200809180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/dced29ff7242 User: Tomas Zezula <tzezula@netbeans.org> Log: #145304:Unusable after project properties