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 198097 - CME from OpenProjectList.shutdown
Summary: CME from OpenProjectList.shutdown
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2011-04-26 16:52 UTC by bruff
Modified: 2011-05-03 05:25 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 bruff 2011-04-26 16:52:01 UTC
I'm getting this exception opening a project group, in .netbeans/../messages.log.

INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 19 source roots took: 4 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
SEVERE [org.netbeans.core.modules]
java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
        at java.util.AbstractList$Itr.next(AbstractList.java:343)
        at org.netbeans.modules.project.ui.OpenProjectList.shutdown(OpenProjectList.java:1052)
        at org.netbeans.modules.project.ui.ProjectUiModule.close(ProjectUiModule.java:66)
[catch] at org.netbeans.core.startup.NbInstaller.close(NbInstaller.java:696)
        at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1745)
        at org.netbeans.core.startup.ModuleSystem.shutDown(ModuleSystem.java:316)
        at org.netbeans.core.NbLifecycleManager.doExit(NbLifecycleManager.java:167)
        at org.netbeans.core.NbLifecycleManager.access$000(NbLifecycleManager.java:75)
        at org.netbeans.core.NbLifecycleManager$ExitActions.run(NbLifecycleManager.java:123)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
        at java.awt.EventQueue.access$000(EventQueue.java:86)
        at java.awt.EventQueue$1.run(EventQueue.java:639)
        at java.awt.EventQueue$1.run(EventQueue.java:637)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Jesse Glick 2011-05-02 12:31:33 UTC
Only affects shutdown. Could properly lock the field, though I am afraid of acquiring any locks during shutdown. Can probably just skip closing projects in the rare case this happens.
Comment 2 Jesse Glick 2011-05-02 12:38:51 UTC
Workaround: core-main #93f521222b07
Comment 3 Quality Engineering 2011-05-03 05:25:02 UTC
Integrated into 'main-golden', will be available in build *201105030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/93f521222b07
User: Jesse Glick <jglick@netbeans.org>
Log: #198097: CME.