Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » ConcurrencyModificationException CacheAdapter
ConcurrencyModificationException CacheAdapter [message #469709] Mon, 29 January 2007 12:23 Go to next message
saurabh bhola is currently offline saurabh bholaFriend
Messages: 5
Registered: July 2009
Junior Member
hi,

Has anyone come across this? how to get around it??

Saurabh
java.util.ConcurrentModificationException: concurrent access to HashMap
attempted by Thread[Worker-1,5,main]

at java.util.HashMap.onExit(HashMap.java:217)

at java.util.HashMap.transfer(HashMap.java:514)

at java.util.HashMap.resize(HashMap.java:500)

at java.util.HashMap.addEntry(HashMap.java:800)

at java.util.HashMap.put(HashMap.java:441)

at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:420)

at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:393)

at
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotypes(Element
Impl.java:233)

at
org.eclipse.uml2.uml.internal.operations.ElementOperations.g etAppliedStereot
ype(ElementOperations.java:337)

at
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotype(ElementI
mpl.java:248)

at
com.ibm.mtools.dw.req.impl.DimensionLevelImpl.getMembers(Dim ensionLevelImpl.
java:165)

at
com.ibm.mtools.dependency.collectors.dependant.req.Dimension LevelDependantCo
llector.collectSemanticDependants(DimensionLevelDependantCol lector.java:46)

at
Re: ConcurrencyModificationException CacheAdapter [message #469713 is a reply to message #469709] Mon, 29 January 2007 16:53 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Saurabh,

No, I've not come accross this, but it look like the maps that get created
for resources and objects in the cache need to made thread-safe (wrapped in
a synchronized map). Please open a Bugzilla report and we'll fix it ASAP.

Kenn

"EMf" <sbhola@hotmail.com> wrote in message
news:epkov8$dk7$2@utils.eclipse.org...
> hi,
>
> Has anyone come across this? how to get around it??
>
> Saurabh
> java.util.ConcurrentModificationException: concurrent access to HashMap
> attempted by Thread[Worker-1,5,main]
>
> at java.util.HashMap.onExit(HashMap.java:217)
>
> at java.util.HashMap.transfer(HashMap.java:514)
>
> at java.util.HashMap.resize(HashMap.java:500)
>
> at java.util.HashMap.addEntry(HashMap.java:800)
>
> at java.util.HashMap.put(HashMap.java:441)
>
> at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:420)
>
> at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:393)
>
> at
> org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotypes(Element
> Impl.java:233)
>
> at
> org.eclipse.uml2.uml.internal.operations.ElementOperations.g etAppliedStereot
> ype(ElementOperations.java:337)
>
> at
> org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotype(ElementI
> mpl.java:248)
>
> at
> com.ibm.mtools.dw.req.impl.DimensionLevelImpl.getMembers(Dim ensionLevelImpl.
> java:165)
>
> at
> com.ibm.mtools.dependency.collectors.dependant.req.Dimension LevelDependantCo
> llector.collectSemanticDependants(DimensionLevelDependantCol lector.java:46)
>
> at
>
>
Re: ConcurrencyModificationException CacheAdapter [message #469715 is a reply to message #469713] Mon, 29 January 2007 19:17 Go to previous message
saurabh bhola is currently offline saurabh bholaFriend
Messages: 5
Registered: July 2009
Junior Member
hi Kenn,

thanks, have opened a new bug, the bug # is 172040

Saurabh
"Kenn Hussey" <khussey@ca.ibm.com> wrote in message
news:epl8ql$8m8$1@utils.eclipse.org...
> Saurabh,
>
> No, I've not come accross this, but it look like the maps that get created
> for resources and objects in the cache need to made thread-safe (wrapped
in
> a synchronized map). Please open a Bugzilla report and we'll fix it ASAP.
>
> Kenn
>
> "EMf" <sbhola@hotmail.com> wrote in message
> news:epkov8$dk7$2@utils.eclipse.org...
> > hi,
> >
> > Has anyone come across this? how to get around it??
> >
> > Saurabh
> > java.util.ConcurrentModificationException: concurrent access to HashMap
> > attempted by Thread[Worker-1,5,main]
> >
> > at java.util.HashMap.onExit(HashMap.java:217)
> >
> > at java.util.HashMap.transfer(HashMap.java:514)
> >
> > at java.util.HashMap.resize(HashMap.java:500)
> >
> > at java.util.HashMap.addEntry(HashMap.java:800)
> >
> > at java.util.HashMap.put(HashMap.java:441)
> >
> > at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:420)
> >
> > at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:393)
> >
> > at
> >
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotypes(Element
> > Impl.java:233)
> >
> > at
> >
org.eclipse.uml2.uml.internal.operations.ElementOperations.g etAppliedStereot
> > ype(ElementOperations.java:337)
> >
> > at
> >
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotype(ElementI
> > mpl.java:248)
> >
> > at
> >
com.ibm.mtools.dw.req.impl.DimensionLevelImpl.getMembers(Dim ensionLevelImpl.
> > java:165)
> >
> > at
> >
com.ibm.mtools.dependency.collectors.dependant.req.Dimension LevelDependantCo
> >
llector.collectSemanticDependants(DimensionLevelDependantCol lector.java:46)
> >
> > at
> >
> >
>
>
Re: ConcurrencyModificationException CacheAdapter [message #576717 is a reply to message #469709] Mon, 29 January 2007 16:53 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Saurabh,

No, I've not come accross this, but it look like the maps that get created
for resources and objects in the cache need to made thread-safe (wrapped in
a synchronized map). Please open a Bugzilla report and we'll fix it ASAP.

Kenn

"EMf" <sbhola@hotmail.com> wrote in message
news:epkov8$dk7$2@utils.eclipse.org...
> hi,
>
> Has anyone come across this? how to get around it??
>
> Saurabh
> java.util.ConcurrentModificationException: concurrent access to HashMap
> attempted by Thread[Worker-1,5,main]
>
> at java.util.HashMap.onExit(HashMap.java:217)
>
> at java.util.HashMap.transfer(HashMap.java:514)
>
> at java.util.HashMap.resize(HashMap.java:500)
>
> at java.util.HashMap.addEntry(HashMap.java:800)
>
> at java.util.HashMap.put(HashMap.java:441)
>
> at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:420)
>
> at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:393)
>
> at
> org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotypes(Element
> Impl.java:233)
>
> at
> org.eclipse.uml2.uml.internal.operations.ElementOperations.g etAppliedStereot
> ype(ElementOperations.java:337)
>
> at
> org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotype(ElementI
> mpl.java:248)
>
> at
> com.ibm.mtools.dw.req.impl.DimensionLevelImpl.getMembers(Dim ensionLevelImpl.
> java:165)
>
> at
> com.ibm.mtools.dependency.collectors.dependant.req.Dimension LevelDependantCo
> llector.collectSemanticDependants(DimensionLevelDependantCol lector.java:46)
>
> at
>
>
Re: ConcurrencyModificationException CacheAdapter [message #576782 is a reply to message #469713] Mon, 29 January 2007 19:17 Go to previous message
saurabh bhola is currently offline saurabh bholaFriend
Messages: 5
Registered: July 2009
Junior Member
hi Kenn,

thanks, have opened a new bug, the bug # is 172040

Saurabh
"Kenn Hussey" <khussey@ca.ibm.com> wrote in message
news:epl8ql$8m8$1@utils.eclipse.org...
> Saurabh,
>
> No, I've not come accross this, but it look like the maps that get created
> for resources and objects in the cache need to made thread-safe (wrapped
in
> a synchronized map). Please open a Bugzilla report and we'll fix it ASAP.
>
> Kenn
>
> "EMf" <sbhola@hotmail.com> wrote in message
> news:epkov8$dk7$2@utils.eclipse.org...
> > hi,
> >
> > Has anyone come across this? how to get around it??
> >
> > Saurabh
> > java.util.ConcurrentModificationException: concurrent access to HashMap
> > attempted by Thread[Worker-1,5,main]
> >
> > at java.util.HashMap.onExit(HashMap.java:217)
> >
> > at java.util.HashMap.transfer(HashMap.java:514)
> >
> > at java.util.HashMap.resize(HashMap.java:500)
> >
> > at java.util.HashMap.addEntry(HashMap.java:800)
> >
> > at java.util.HashMap.put(HashMap.java:441)
> >
> > at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:420)
> >
> > at org.eclipse.uml2.common.util.CacheAdapter.put(CacheAdapter.j ava:393)
> >
> > at
> >
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotypes(Element
> > Impl.java:233)
> >
> > at
> >
org.eclipse.uml2.uml.internal.operations.ElementOperations.g etAppliedStereot
> > ype(ElementOperations.java:337)
> >
> > at
> >
org.eclipse.uml2.uml.internal.impl.ElementImpl.getAppliedSte reotype(ElementI
> > mpl.java:248)
> >
> > at
> >
com.ibm.mtools.dw.req.impl.DimensionLevelImpl.getMembers(Dim ensionLevelImpl.
> > java:165)
> >
> > at
> >
com.ibm.mtools.dependency.collectors.dependant.req.Dimension LevelDependantCo
> >
llector.collectSemanticDependants(DimensionLevelDependantCol lector.java:46)
> >
> > at
> >
> >
>
>
Previous Topic:ConcurrencyModificationException CacheAdapter
Next Topic:Eclipse UML2 and other tools compatibility
Goto Forum:
  


Current Time: Fri Aug 12 12:32:09 GMT 2022

Powered by FUDForum. Page generated in 0.02092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top