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 80771 - ConcurrentModificationException from logviewer
Summary: ConcurrentModificationException from logviewer
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
: 76974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-21 01:47 UTC by _ pcw
Modified: 2006-07-30 22:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-07-21 01:47:25 UTC
I was using latest 5.5 dev build of NetBeans and got the following exception...

java.util.ConcurrentModificationException
	at org.openide.util.WeakSet$WeakSetIterator.checkModcount(WeakSet.java:435)
	at org.openide.util.WeakSet$WeakSetIterator.hasNext(WeakSet.java:386)
	at java.util.Collections$UnmodifiableCollection$1.hasNext(Collections.java:1009)
[catch] at
org.netbeans.modules.j2ee.sun.ide.j2ee.LogViewerSupport.run(LogViewerSupport.java:117)

Hopefully the cause is clear without context because while the appserver was up
and running, I was just examining the File view and doing builds.  I wasn't
viewing the log at the time so this was probably a background log file
monitoring thread interfering with an update monitor thread or something.
Comment 1 Nitya Doraisamy 2006-07-21 01:54:26 UTC

*** This issue has been marked as a duplicate of 76974 ***
Comment 2 Nitya Doraisamy 2006-07-26 01:50:10 UTC
Reopened this as changes have been made to the LogViewerSupport after the older
issue 76974 which makes that stacktrace information wrong.
Marking 76974 as duplicate of this instead.
Comment 3 Nitya Doraisamy 2006-07-26 01:50:28 UTC
*** Issue 76974 has been marked as a duplicate of this issue. ***
Comment 4 _ ludo 2006-07-30 22:55:49 UTC
fixed
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/LogViewerSupport.java,v
 <--  LogViewerSupport.java
new revision: 1.1.16.3.2.2; previous revision: 1.1.16.3.2.1