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 141228 - exception in log file
Summary: exception in log file
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 20:54 UTC by Vince Kraemer
Modified: 2008-09-23 20:26 UTC (History)
1 user (show)

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 Vince Kraemer 2008-07-22 20:54:16 UTC
I have a recently pulled trunk...

and saw this in the log

java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
        at java.util.AbstractList$Itr.next(AbstractList.java:420)
        at org.netbeans.modules.db.mysql.impl.MySQLDatabaseServer.notifyChange(MySQLDatabaseServer.java:296)
        at org.netbeans.modules.db.mysql.impl.MySQLDatabaseServer.refreshDatabaseList(MySQLDatabaseServer.java:324)
        at org.netbeans.modules.db.mysql.impl.MySQLDatabaseServer$2.execute(MySQLDatabaseServer.java:384)
[catch] at org.netbeans.modules.db.mysql.impl.MySQLDatabaseServer$DatabaseCommand.run(MySQLDatabaseServer.java:737)
        at org.netbeans.modules.db.mysql.impl.ConnectionProcessor.run(ConnectionProcessor.java:79)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 David Vancouvering 2008-09-23 20:26:54 UTC
This code has gone through a major rewrite, and it doesn't look like this could happen any more.  notifyChange() simply
checks to see if the server is running and notifies listeners.  It doesn't go mucking about in any lists.

Please re-open if you can reproduce in with the latest nightly build at
http://bits.netbeans.org/download/trunk/nightly/latest/.

Thanks!

David