Mantis - Resin
Viewing Issue Advanced Details
3726 minor always 10-22-09 18:11 01-21-11 14:10
ferg  
ferg  
urgent  
closed 3.1.6  
fixed  
none    
none 4.0.15  
0003726: HashMapImpl bug
(rep by Fiaz Hossein)

 we recently hit a very nasty bug in our code that was cause by the following exception. We have been looking at this and the only logical explanation seems to be that the request object was accessed by multiple threads. We are still looking how that could have happened but do you know of bugs related to this area in HashMapImpl?

Cause0: java.lang.IllegalStateException
Cause0-StackTrace:=20
at com.caucho.util.HashMapImpl.putImpl(HashMapImpl.java:216)
at com.caucho.util.HashMapImpl.put(HashMapImpl.java:159)
at com.caucho.server.connection.AbstractHttpRequest.setAttribute(Abstrac=
tHttpRequest.java:2143)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrappe=
r.java:308)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrappe=
r.java:308)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrappe=
r.java:308)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrappe=
r.java:308)
at system.context.RequestContext.release(RequestContext.java:353)
at system.context.RequestContext.release(RequestContext.java:333)
at common.request.servlet.DynamicCachableResourceServlet.doGet(DynamicCa=
chableResourceServlet.java:199)

There are no notes attached to this issue.