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 181364 - UI freezes when trying to view project properties
Summary: UI freezes when trying to view project properties
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-03-01 08:45 UTC by tnleeuw
Modified: 2010-10-14 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump of Netbeans after UI freezes while trying to view project properties (24.32 KB, text/plain)
2010-08-09 15:21 UTC, monkey1016
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tnleeuw 2010-03-01 08:45:09 UTC
Product Version = NetBeans IDE Dev (Build 201003010200)
Operating System = Windows Vistaversion6.0running onx86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

UI freezes when trying to view project properties.

When I try to view the properties of a Maven Web project, the entire UI freezes: no longer responds to any clicks or keys.
I do see that running tasks still finish and the UI is redrawn after being obscured by other windows, however I can't even close the application with the Window Close button.

I don't know how to get a stack/heap dump of application in this state?
Comment 1 tnleeuw 2010-03-01 08:47:01 UTC
I have the same problem with other Maven projects. Currently I don't have any other projects open in this Netbeans workspace to test it with.
Comment 2 Peter Pis 2010-03-02 01:47:42 UTC
Could you please take and attach thread dump while running into this?
http://wiki.netbeans.org/GenerateThreadDump
Comment 3 aog1v07 2010-04-08 22:20:24 UTC
Same problem, Hugely frustrating.

Cant generate a thread dump. Probably due to my own incompetance but the instructions you linked to really arent that clear. sorry, I realised that this is useless but the problem is still out there, on 6.8 anyway. tried reinstalling twice :P
Comment 4 Antonin Nebuzelsky 2010-07-30 15:18:24 UTC
Reassigning to default owner.
Comment 5 monkey1016 2010-08-09 15:21:16 UTC
Created attachment 101270 [details]
Thread dump of Netbeans after UI freezes while trying to view project properties

This is a thread dump from Netbeans after the UI freezes while trying to view a Maven Project's properties by right-clicking on the project name.
Comment 6 Antonin Nebuzelsky 2010-10-14 13:22:03 UTC
The attached thread dump shows the event queue thread is waiting for events. Other threads also show no activity. Perfectly normal thread dump.

I see only one explanation. Some "invisible" modal dialog box is blocking access to the visible UI. Thus you cannot do any actions on the UI, but it is correctly redrawn when needed.

Do you happen to work in multi-monitor setup? The modal dialog box may be showing on the other monitor, even in the case when you already disconnected the other monitor.

When you run into this situation, does pressing Escape key unlock the main window? This should be the case if the UI is blocked by "invisible" dialog box.
Comment 7 tnleeuw 2010-10-14 13:26:33 UTC
Hi,

I do sometimes work with multiple monitors, and sometimes with just one. As far as I can remember, this happened when working with just 1 monitor. The 2nd monitor was disconnected after shutdown of the laptop.

Next time a freeze like this happens, I will try pressing escape and when that doesn't solve anything, create a new thread dump / add a new comment to this defect.