I just start the transition from 4.0.2 to 4.0.3 and ran into this issue as 
well.  Even more interesting is one of the exceptions I ran into yesterday with 
the following exception:

  | java.lang.IndexOutOfBoundsException: Index: 14, Size: 15
  |         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
  |         at java.util.ArrayList.remove(ArrayList.java:390)
  |         at 
org.jboss.security.SecurityAssociation$SubjectThreadLocalStack.pop(SecurityAssociation.java:762)
  |         at 
org.jboss.security.SecurityAssociation.popSubjectContext(SecurityAssociation.java:486)
  |         at 
org.jboss.ejb.plugins.SecurityActions$PrincipalInfoAction$2.pop(SecurityActions.java:88)
  |         at 
org.jboss.ejb.plugins.SecurityActions.popSubjectContext(SecurityActions.java:277)
  |         at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:159)
  |         at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  |         at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  |         at 
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
  |         at org.jboss.ejb.Container.invoke(Container.java:873)
  |         at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)

This happened both under JavaSE 1.5.0_03 and 1.5.0_05.

I haven't had a chance to dig any further yet today, but this definitely looks 
like unsynchronized access to the ArrayList to me.

Regards,

--Jeff

Jeffrey Peden
Software Architect
Newbury Networks, Inc.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900707#3900707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900707


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to