-
Bug
-
Resolution: Done
-
Major
-
1.0.GA
-
None
-
Low
When using resteasy client to connect to other system form stateless bean I have (sometimes!) following stack trace (see bellow):
public PlaceImageResource getPlaceImageResource()
{ RegisterBuiltin.register(ResteasyProviderFactory.getInstance()); return ProxyFactory.create(PlaceImageResource.class, getResourceInterfaceUrl()); }Frequency of reproducibility of this problem indicate that it is some concurrency problem e.g. racing condition:
Stack trace:
java.lang.ArrayIndexOutOfBoundsException: -1
[INFO] [talledLocalContainer] at java.util.ArrayList.get(ArrayList.java:324)
[INFO] [talledLocalContainer] at org.jboss.resteasy.util.ThreadLocalStack.get(ThreadLocalStack.java:30)
[INFO] [talledLocalContainer] at org.jboss.resteasy.core.ThreadLocalResteasyProviderFactory.getDelegate(ThreadLocalResteasyProviderFactory.java:40)
[INFO] [talledLocalContainer] at org.jboss.resteasy.core.ThreadLocalResteasyProviderFactory.addMessageBodyReader(ThreadLocalResteasyProviderFactory.java:100)
[INFO] [talledLocalContainer] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:27)