Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327890 - Concurrent modification exception in DisjointBitSets.getSubset()
Summary: Concurrent modification exception in DisjointBitSets.getSubset()
Status: RESOLVED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: Core (show other bugs)
Version: 4.0.3   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 09:33 EDT by Greg Watson CLA
Modified: 2011-09-14 09:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2010-10-15 09:33:45 EDT
java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
	at java.util.HashMap$EntryIterator.next(HashMap.java:834)
	at java.util.HashMap$EntryIterator.next(HashMap.java:832)
	at org.eclipse.ptp.utils.core.DisjointBitSets.getSubset(DisjointBitSets.java:294)
	at org.eclipse.ptp.core.elements.attributes.AttributeIndexSet.getSubset(AttributeIndexSet.java:182)
	at org.eclipse.ptp.internal.core.elements.PJob.getProcessAttributes(PJob.java:236)
	at org.eclipse.ptp.internal.core.elements.PJob.getProcessAttribute(PJob.java:178)
	at org.eclipse.ptp.ui.consoles.JobConsole.handleEvent(JobConsole.java:172)
	at org.eclipse.ptp.internal.core.elements.PJob.fireChangedProcesses(PJob.java:472)
	at org.eclipse.ptp.internal.core.elements.PJob.addProcessAttributes(PJob.java:119)
	at org.eclipse.ptp.debug.internal.core.PSession.setProcessOutput(PSession.java:740)
	at org.eclipse.ptp.debug.internal.core.PSession.handleDebugEvents(PSession.java:654)
	at org.eclipse.ptp.debug.core.pdi.manager.AbstractEventManager$1.run(AbstractEventManager.java:137)
	at org.eclipse.ptp.debug.core.pdi.Session$NotifyJob.run(Session.java:965)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Looks like this class requires synchronization.
Comment 1 Greg Watson CLA 2011-09-14 09:56:41 EDT
I haven't seen this problem for a long time. Will reopen if I see it again.