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 40539 - NoSuchElementException in a commit validation test
Summary: NoSuchElementException in a commit validation test
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-02-26 20:01 UTC by Jiri Skrivanek
Modified: 2004-07-07 10:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (7.78 KB, text/plain)
2004-02-26 20:04 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-02-26 20:01:40 UTC
Sometimes it happens that the attached
NoSuchElementException is thrown during the commit
validation test. Maybe it is similar to issue 39655.
Comment 1 Jiri Skrivanek 2004-02-26 20:04:32 UTC
Created attachment 13689 [details]
stack trace
Comment 2 Martin Entlicher 2004-02-27 13:37:45 UTC
This is probably reproducible only in the automatic test. The
customization have to run really fast in order to fill various
commands sets concurrently.

Some sort of synchronization is necessary.
Comment 3 Martin Entlicher 2004-02-27 13:40:30 UTC
Fixed in trunk. The commit validation should run O.K. now.

/cvs/vcscore/src/org/netbeans/modules/vcscore/DefaultVcsCommandsProvider.java,v
 <--  DefaultVcsCommandsProvider.java
new revision: 1.8; previous revision: 1.7
Comment 4 Jiri Skrivanek 2004-02-27 14:05:21 UTC
What about issue 39655? Is the similar fix applicable to it?
Comment 5 Martin Entlicher 2004-02-27 14:41:11 UTC
Yes, issue #39655 needs a similar fix. However, additional
synchronization in VcsFileSystem class is more dangerous...
Comment 6 Jiri Skrivanek 2004-07-07 10:02:23 UTC
Verified.