ConcurrentModificationException occurs on TimedCachePolicy.getValidKeys()

Solution Unverified - Updated -

Issue

ConcurrentModificationException occurs on TimedCachePolicy.getValidKeys() method.

java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
        at java.util.HashMap$EntryIterator.next(HashMap.java:851)
        at java.util.HashMap$EntryIterator.next(HashMap.java:849)
        at org.jboss.util.TimedCachePolicy.getValidKeys(TimedCachePolicy.java:364)
        at org.jboss.virtual.plugins.cache.IterableTimedVFSCache.findContext(IterableTimedVFSCache.java:65)
        at org.jboss.virtual.plugins.cache.CombinedVFSCache.findContext(CombinedVFSCache.java:116)
        at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(DefaultVFSRegistry.java:148)
        at org.jboss.virtual.VFS.getRoot(VFS.java:243)
        at org.jboss.virtual.VFS.getRoot(VFS.java:313)
  • The exception is occurring when attempting to create a CXF client for a web service

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x
  • JBoss SOA-Platform (SOA-P) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content