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 51024 - ProjectManagerTest.testLoadExceptionWithConcurrentLoad failure
Summary: ProjectManagerTest.testLoadExceptionWithConcurrentLoad failure
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2004-11-01 10:05 UTC by Milan Kubec
Modified: 2008-07-03 07:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (2.83 KB, text/plain)
2004-11-01 10:30 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-11-01 10:05:06 UTC
[SunOS 200410271800 1.5.0
Windows XP 200410271800 1.5.0]

org.netbeans.api.project.ProjectManagerTest.testLoadExceptionWithConcurrentLoad
Fail: finished #2 without deadlock

[Windows 2000 QA-W2K-S3 200410311900 1.4.2_04]

org.netbeans.api.project.ProjectManagerTest.testLoadExceptionWithConcurrentLoad
Fail: not yet finished #2
Comment 1 Milan Kubec 2004-11-01 10:30:58 UTC
Created attachment 18635 [details]
exc stack trace
Comment 2 Jesse Glick 2004-11-05 23:52:55 UTC
Note: my own test4u runs on XP, Solaris, and Linux showed a failure
only on XP.
Comment 3 Jesse Glick 2004-11-09 03:16:21 UTC
Saw one failure on my own machine. May be timing related. Will exclude
from config for now.

committed     Up-To-Date  1.3        
projects/projectapi/test/cfg-unit.xml
Comment 4 Jesse Glick 2004-12-02 14:41:53 UTC
Occurred in continuous build commit validation. Sorry, made a typo
when excluding it before, wasn't really excluded.

projects/projectapi/test/cfg-unit.xml 1.4
Comment 5 Jesse Glick 2005-04-03 19:07:19 UTC
Too late to fix in 4.1.
Comment 6 Milos Kleint 2007-08-02 14:03:57 UTC
I don't understand how the test could fail with the current ProjectManager codebase.

1. Initial load thread waits in createProject() method.
2. second load thread waits in Projectmanager.findproject's dir2proj.wait()
3. the only thread that can run now is the test's own thread.
Comment 7 Milos Kleint 2008-07-03 07:56:41 UTC
please reopen if the test fails in current codebase.