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 121059 - IllegalArgumentException: Already listening to /tmp/SlowOutput/src
Summary: IllegalArgumentException: Already listening to /tmp/SlowOutput/src
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-11-03 17:16 UTC by Jesse Glick
Modified: 2008-10-24 04:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 10459


Attachments
stacktrace (4.37 KB, text/plain)
2007-11-03 17:16 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-11-03 17:16:13 UTC
Build: NetBeans IDE Dev (Build 071102)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
Just created a j2seproject and was starting to edit its main class.
Comment 1 Jesse Glick 2007-11-03 17:16:17 UTC
Created attachment 52447 [details]
stacktrace
Comment 2 Jesse Glick 2007-11-03 17:29:59 UTC
Looks like a race condition, adding synchronization.

Checking in SourcesHelper.java;
/shared/data/ccvs/repository/ant/project/src/org/netbeans/spi/project/support/ant/SourcesHelper.java,v  <-- 
SourcesHelper.java
new revision: 1.24; previous revision: 1.23
done
Comment 3 Quality Engineering 2008-10-24 04:21:14 UTC
Integrated into 'main-golden', will be available in build *200810240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/cdefc815695e
User: Martin Krauskopf <mkrauskopf@netbeans.org>
Log: #120014: Preventing apparent race condition (similarly to #121059). Utilizing o.o.u.ChangeSupport.