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 119433 - Deadlock while starting NetBeans
Summary: Deadlock while starting NetBeans
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 05:35 UTC by Jiri Rechtacek
Modified: 2007-10-19 13:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
heap stack (51.23 KB, text/plain)
2007-10-19 05:37 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2007-10-19 05:35:46 UTC
Dev Build 20071019 (details see bellow). I started NetBeans which contains 4 netbeans projects, during startup the
deadlock was found - see attachment. Beside this I was also started another instance NetBeans from another installation
directory with fresh userdir, second one NetBeans started correctly.

>Log Session: Friday, October 19, 2007 6:25:17 AM CEST
>System Info:
  Product Version         = NetBeans IDE Dev (Build 20071019005952)
  Operating System        = Linux version 2.6.20-16-386 running on i386
  Java; VM; Vendor        = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc.
  Java Home               = /space/shared/java/jdk1.6.0_02/jre
  System Locale; Encoding = us (nb); UTF-8
  Home Directory          = /space/home/jirka
  Current Directory       = /space/builds
  User Directory          = /space/builds/settings.nb6
  Installation            = /space/builds/nb6/nb6.0
                            /space/builds/nb6/ide8
                            /space/builds/nb6/java1
                            /space/builds/nb6/apisupport1
                            /space/builds/nb6/profiler2
                            /space/builds/nb6/harness
                            /space/builds/nb6/platform7
Comment 1 Jiri Rechtacek 2007-10-19 05:37:03 UTC
Created attachment 51261 [details]
heap stack
Comment 2 Jiri Rechtacek 2007-10-19 05:38:57 UTC
I have caught the same deadlock again.
Comment 3 Tomas Zezula 2007-10-19 07:21:10 UTC
The rg.netbeans.modules.apisupport.project.Evaluator fires an event under the lock, the same lock is been acquired when
org.netbeans.modules.apisupport.project.Evaluator.getProperty() is called. I will make the ProjectClassPathImpl more
defensive.