Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2225

Bad reflection usage leads to race condition

    XMLWordPrintable

Details

    • 1.1.3

    Description

      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)

      Attachments

        Activity

          People

            rhn-engineering-cdewolf Carlo de Wolf
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: