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 - ConcurrentModificationException in OneProjectDashboard
Summary: ConcurrentModificationException in OneProjectDashboard
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 17:15 UTC by Tomas Pavek
Modified: 2016-04-07 01:53 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 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