Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.0
-
Fix Version/s: 3.1.0
-
Component/s: Core: Concurrency / Threading
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
When configuring a <flow> with a component the entry point resolver of the component is shared between all threads. The DefaultEntryPointResolverSet has an instance variable that stores the exceptions that occur when running the entry point resolvers. However, since a single instance of this class is shared between multiple threads, the list of exceptions may contain invalid error messages from different threads.
Either store the exceptions in a ThreadLocal store or refactor to use one entry point resolver per thread.
Issue Links
- relates to
-
MULE-5161
ArrayIndexOutOfBoundsException in CopyOnWriteArrayList
-
http://fisheye.codehaus.org/changelog/mule/?cs=20309