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: | Netbeans 6 startup freeze at Opening Main Window... | ||
---|---|---|---|
Product: | obsolete | Reporter: | kiyut <kiyut> |
Component: | Registration | Assignee: | mslama <mslama> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dsimonek, lhasik, mslama |
Priority: | P2 | Keywords: | THREAD |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thread Dump
Another Thread Dump |
Description
kiyut
2008-03-07 05:25:11 UTC
Thanks for inspection of this problem, passing to autoupdate, I think it tries to connect to get info about updates. Feel free to reassign if i'm wrong. Autoupdate does connecting to internet pure out of AWT thus cannot block any AWT operation. I'm sure it could make trouble like this. I'm reassign back. kiyut. please attach full stack traces while freezing open main window to allow us to complete problem evaluation. Thanks Sorry for confusing, I wanted to say: I'm sure that AU _cannot_ make troubles like this. I'm sorry. kiyut, we definitely need a tread dump when the IDE is frozen. Maybe even more thread dumps. If you are able to reproduce it, go ahead, take thread dump - http://wiki.netbeans.org/GenerateThreadDump, and attach it here thank you for your report Created attachment 58025 [details]
Thread Dump
Just attached a thread dump. Additional note: This thread dump is generated under the following condition - Netbeans 6.0.1 - Jdk 1.6.0_04 - Netbeans Settings: Under Menu - Tool - Plugins, I disable (un tick) all the Update Center available and set the Check Interval to "never" If it is Update Center problem, this is also indicate that Update Center does not honour the setting, because I untick all the available Update Center and set the Update Interval to none, so it should not try to connect to Update Center. The problem also exist whether the update center is enabled (ticked) or disabled. To repeat the bug - Just mess around with the DNS setting in the control panel eg: set the dns to non existant dns server, and make sure it unable to resolve the address Created attachment 58026 [details]
Another Thread Dump
Sorry, forget to mention to the condition (Thread Dump generated) I have mercurial plugins installed and it is under Ubuntu 7.10 (Gutsy), which may or may not be related. cc'ing mslama. I can see only registration in the thread dump. kiyut, it is freezing only on start up, right? Could you check if there isn't other dialog hidden behind the main window? Reasigning to registration for evaluation Yes, it is only freezing at startup only. After wait long enough, it will be normal again. And there is no other windows / dialog, it is only main windows. In relation with registration, I registered it sometimes ago when I installed Netbeans IDE and open the first time (I guess), so It have not been popup again. And now during the freeze it is also not popup again, just main windows (but freezing) Yes problem is in registration code. Network activity should be done out of AWT thread. Fixed in main trunk: efa685d71151. Most of work is now done out of AWT thread. Showing dialog is posted to AWT thread using invokeLater. Additional fix: After opening browser using Help->Register registration status is not checked as this is asynchronous anyway. |