[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2225) Bad reflection usage leads to race condition

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Thu Dec 23 09:30:18 EST 2010


Bad reflection usage leads to race condition
--------------------------------------------

                 Key: EJBTHREE-2225
                 URL: https://issues.jboss.org/browse/EJBTHREE-2225
             Project: EJB 3.0
          Issue Type: Bug
          Components: interceptors
            Reporter: Carlo de Wolf
            Assignee: Carlo de Wolf
            Priority: Critical
             Fix For: EJB 3.1


Exception in thread "Thread-33" java.lang.reflect.UndeclaredThrowableException
    at $Proxy142.addToLinkedList(Unknown Source)
    at com.sun.ts.tests.ejb30.lite.singleton.concurrency.common.ClientBase$1.run(ClientBase.java:128)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalAccessException: Class org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor can not access a member of class com.sun.ts.tests.ejb30.lite.singleton.common.SingletonInterceptorBase with modifiers "private"
    at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
    at java.lang.reflect.Method.invoke(Method.java:588)
    at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:83)
    at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:70)


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list