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.
After unpacking the new rc1 from the zip and starting it for the first time, Netbeans will start but the entire UI is a grey rectangle and unresponsive. This is the way it stays until the process is killed. I first noticed this in beta2 on our Solaris 8 dev box (JDK5). The problem does not occur on our Windows desktops. We're behind a firewall at work, so after a little looking around I found that ensuring the proxy is setup and the welcome screen turned off Netbeans starts ok and the UI doesn't hang. After a fresh "install" of Netbeans, manually copying the two files below seems to be a work around. I'm guessing something has changed with the welcome screen and the online resources it pulls in. If it can't find the host the UI freezes. (Note I've changed the proxy details) ~/.netbeans/6.0rc1/config/Preferences/org/netbeans/core.properties #Tue May 08 16:45:10 EST 2007 WWWBrowser=SL[/Browsers/FirefoxBrowser proxyHttpPort=someportnumber proxyType=2 proxyHttpHost=someproxy.hostname.com UIMode=2 ~/.netbeans/6.0rc1/config/Preferences/org/netbeans/modules/welcome.properties #Tue Oct 23 16:43:24 EST 2007 startCounter=3 planetnetbeans.org/rss20.xml=Tue, 23 Oct 2007 06\:11\:32 GMT showOnStartup=false lastActiveTab=1 feedback.survey.startups=2 feedback.survey.show.at=1194934658760 www.netbeans.org/demos.xml=Fri, 24 Aug 2007 03\:20\:54 GMT
Please attach a thread dump of hung IDE: http://wiki.netbeans.org/wiki/view/GenerateThreadDump But as the culprit is, probably, the welcome screen, reassigning accordingly
Can't find the welcome screen category, reassigning manually.
BTW: P2 at least (but no data lost YET ;-))
Created attachment 53351 [details] Thread Dump
i'm not able to reproduce this. the thread dump does not indicate any problem in welcome and all http calls are made in separate thread that don't block EDT anyway crichter, can you pls try running netbeans with start page enabled *and* correct proxy settings? does it still freeze ui?
The thread dump shows no welcome screen but rather delayed menu initialization. But this shouldn't take that long and shouldn't be influenced by proxies/networking at all. Well, maybe it's a coincidence and you hit the thread dump too early? In case you're sure there's relation to networking, please generate more thread dumps during the hang (3 or so with 10-20s delay) and post them.
Created attachment 53635 [details] Second threaddump, several minutes after program launch.
Created attachment 53636 [details] Another thread dump.
Created attachment 53637 [details] Screen shot of initial launch.
Created attachment 53638 [details] Example of window repainting locking.
Sorry for the delay. I've tried rc2 as well, without the proxy setup I am getting the same issue. Attached is a thread dump (several minutes after launching). With the proxy settings added (but leaving the welcome screen turned on) I don't get the issue. Repainting certain tasks seems a little slow but I believe that is to do with JDK5 and swing painting problems fixed in JDK6. Turning off the proxy settings results in the below. Initially the entire window is not painted. After a few minutes it seems some of the UI is painted and then will freeze again (something locking down the EDT??). Attached are some screen shots and several more thread dumps. Adding correct proxy settings resolved the problem.
crichter, can you pls try resizing the whole ide window when the ui lock happens again? thanks
*** Issue 133836 has been marked as a duplicate of this issue. ***
judging from the attached thread dumps this seems like a duplicate of #132857 - slow repaints of welcome screen. if the proxy isn't set correctly the feeds are not loaded so the upper and bottom stripes are very large making repaints slow due to #132857 please reopen if this issue is still reproducible in recent builds *** This issue has been marked as a duplicate of 132857 ***