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 190226 - NB Hangs after start
Summary: NB Hangs after start
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0
Hardware: PC All
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 190229 190241 190252 190253 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-08 07:24 UTC by Ivan Sidorkin
Modified: 2010-09-13 16:35 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (36.11 KB, text/plain)
2010-09-08 07:34 UTC, Ivan Sidorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2010-09-08 07:24:48 UTC
Product Version         = NetBeans IDE Dev (Build 201009080000) (#fc7eb51bb6c3)
  Operating System        = Mac OS X version 10.6.4 running on x86_64
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 

NB doesn't respond after opening main window
Comment 1 Ivan Sidorkin 2010-09-08 07:34:55 UTC
Created attachment 101926 [details]
thread dump
Comment 2 Marian Mirilovic 2010-09-08 07:52:07 UTC
reproduced on Ubuntu, started with an empty userdir and created new Java project -> IDE hangs
Comment 3 Vladimir Voskresensky 2010-09-08 08:19:16 UTC
reproduced on Solaris.
Just start IDE (no ergonomics) with fresh userdir => "Opening Main Window..." never finishes, IDE is frozen

Looks like P0 (zero)...
Comment 4 Alexander Simon 2010-09-08 08:34:25 UTC
probably related issue #190229
Comment 5 Stanislav Aubrecht 2010-09-08 08:57:30 UTC
reproduced on windows as well. reverting the fix for #190176 solves the problem

reassigning
Comment 6 Jaroslav Tulach 2010-09-08 14:12:53 UTC
Use 

hg pull -r 2b08d72f24dc http://hg.netbeans.org/core-main/

to get the backout to your repository.
Comment 7 David Konecny 2010-09-09 01:25:22 UTC
*** Bug 190253 has been marked as a duplicate of this bug. ***
Comment 8 David Konecny 2010-09-09 01:44:44 UTC
P4 bug fix in data systems (issue 190176) made the IDE completely unusable - basically IDE never starts again. Changing synchronization in error-prone and hard to maintain code like Data System without testing is reckless. And despite our build infrastructure the problem spreads through all team repositories and everybody is impacted.

I would probably suggest to stay away from DataSystem and fix only priority issues there.
Comment 9 Jaroslav Tulach 2010-09-09 08:13:42 UTC
I'd like to apologize for causing one day instability in NetBeans builds.

The problems spread around as we no longer run any part of UI validation during the sanity tests.

In contrast to other parts of NetBeans code base, the P4 bug 190176 was the highest open priority bug in openide.loaders. Causing regression is indeed unfortunate, but unless it affects stability of 6.10 release, it is not a reason to give up: 1482ef3b369d
Comment 10 Jaroslav Tulach 2010-09-09 08:14:40 UTC
*** Bug 190252 has been marked as a duplicate of this bug. ***
Comment 11 Ivan Sidorkin 2010-09-09 08:44:13 UTC
verified
Comment 12 Quality Engineering 2010-09-10 03:15:16 UTC
Integrated into 'main-golden', will be available in build *201009100000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ded431f6f9f3
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #190226: Test to simulate the deadlock and one ThreadLocal to prevent it
Comment 13 Jaroslav Tulach 2010-09-10 11:22:10 UTC
*** Bug 190229 has been marked as a duplicate of this bug. ***
Comment 14 Antonin Nebuzelsky 2010-09-13 16:35:38 UTC
*** Bug 190241 has been marked as a duplicate of this bug. ***