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 258669

Summary: ConcurrentModificationException in OneProjectDashboard
Product: connecteddeveloper Reporter: Tomas Pavek <tpavek>
Component: Team FrameworkAssignee: Tomas Stupka <tstupka>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Tomas Pavek 2016-04-05 17:15:41 UTC
Got this exception reported from JDev without further details.

Mar 31, 2016 10:31:52 AM org.openide.util.RequestProcessor$Processor doNotify 
SEVERE: Error in RequestProcessor org.netbeans.modules.team.server.ui.picker.ServerPanel$ProjectLoader 
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at org.netbeans.modules.team.server.ui.common.OneProjectDashboard.getProjectsList(OneProjectDashboard.java:907) 
at org.netbeans.modules.team.server.ui.common.DashboardSupport.getProjectsList(DashboardSupport.java:176) 
at org.netbeans.modules.odcs.ui.api.ODCSUiServer.getProjects(ODCSUiServer.java:239) 
at org.netbeans.modules.team.server.ui.picker.ServerPanel$ProjectLoader.run(ServerPanel.java:489) 
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) 
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)


BTW it seems that OneProjectDashboard.SelectedProjectsLoader.run() potentially does some manipulation without lock...
Comment 1 Tomas Stupka 2016-04-06 09:23:51 UTC
fixed in jet-main #4a7918976a75
Comment 2 Tomas Pavek 2016-04-06 13:49:49 UTC
Looks good, thanks.
Comment 3 Quality Engineering 2016-04-07 01:53:29 UTC
Integrated into 'main-silver', will be available in build *201604070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4a7918976a75
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #258669 - ConcurrentModificationException in OneProjectDashboard