java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class>

openwebbeans-user | Lars-Fredrik Smedberg | 3 years ago
  1. 0

    Javassist throws java.lang.IllegalAccessError

    openwebbeans-user | 3 years ago | Lars-Fredrik Smedberg
    java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class>
  2. 0

    Javassist throws java.lang.IllegalAccessError

    openwebbeans-user | 3 years ago | Lars-Fredrik Smedberg
    java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class>
  3. 0

    Re: Javassist throws java.lang.IllegalAccessError

    openwebbeans-user | 3 years ago | Mark Struberg
    java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Javassist throws java.lang.IllegalAccessError

    openwebbeans-user | 3 years ago | Mark Struberg
    java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class>
  6. 0

    db:: 3.25::Spring java.lang.IllegalAccessError: tried to access method org.springframe d8

    hivmr.com | 9 months ago
    java.lang.IllegalAccessError: class sun.reflect.GeneratedConstructorAccessor23 cannot access its superclass sun.reflect.ConstructorAccessorImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      Class<our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class> at <our injected class>_$$_javassist_12.<init>(CachingClasspathPropertyFileManager_$$_javassist_12.java)

      at java.lang.J9VMInternals.newInstanceImpl()
    2. Java RT
      Class.newInstance
      1. java.lang.J9VMInternals.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1600)
      2 frames
    3. OpenWebBeans Core
      AbstractOwbBean.createNewInstance
      1. org.apache.webbeans.proxy.JavassistProxyFactory.createNormalScopedBeanProxy(JavassistProxyFactory.java:219)
      2. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:870)
      3. org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:777)
      4. org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:137)
      5. org.apache.webbeans.inject.InjectableMethods.doInjection(InjectableMethods.java:136)
      6. org.apache.webbeans.component.ProducerMethodBean.createDefaultInstance(ProducerMethodBean.java:204)
      7. org.apache.webbeans.component.ProducerMethodBean.createInstance(ProducerMethodBean.java:166)
      8. org.apache.webbeans.component.AbstractOwbBean.createNewInstance(AbstractOwbBean.java:216)
      8 frames
    4. org.apache.webbeans
      AbstractProducer.produce
      1. org.apache.webbeans.portable.creation.AbstractProducer.produce(AbstractProducer.java:82)
      1 frame
    5. OpenWebBeans Core
      BeanManagerImpl.getInjectableReference
      1. org.apache.webbeans.component.InjectionTargetWrapper.produce(InjectionTargetWrapper.java:142)
      2. org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:174)
      3. org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:69)
      4. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:191)
      5. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:892)
      6. org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:770)
      6 frames
    6. com.ibm.ws
      InjectInjectionBinding.getInjectionObjectInstance
      1. com.ibm.ws.webbeans.services.IBMBeanManagerImpl.getInjectableReference(IBMBeanManagerImpl.java:186)
      2. com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getInjectableReference(InjectInjectionObjectFactory.java:315)
      3. com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getObjectInstance(InjectInjectionObjectFactory.java:153)
      4. com.ibm.ws.webbeans.services.InjectInjectionBinding.getInjectionObjectInstance(InjectInjectionBinding.java:100)
      4 frames
    7. com.ibm.wsspi
      InjectionTarget.inject
      1. com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(InjectionBinding.java:1093)
      2. com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(InjectionBinding.java:1123)
      3. com.ibm.wsspi.injectionengine.InjectionBinding.getInjectableObject(InjectionBinding.java:1032)
      4. com.ibm.wsspi.injectionengine.InjectionTarget.inject(InjectionTarget.java:125)
      4 frames
    8. com.ibm.ws
      AbstractInjectionEngine.inject
      1. com.ibm.ws.injectionengine.AbstractInjectionEngine.inject(AbstractInjectionEngine.java:1084)
      1 frame
    9. com.ibm.wsspi
      InjectionUtil.createInjectedInstance
      1. com.ibm.wsspi.injectionengine.InjectionUtil.createInjectedInstance(InjectionUtil.java:174)
      1 frame
    10. com.ibm.ws
      WSServiceInstanceFactory.createServiceInstance
      1. com.ibm.ws.websvcs.server.WSServiceInstanceFactory.createServiceInstance(WSServiceInstanceFactory.java:111)
      1 frame
    11. Axis2
      EndpointController.handleRequest
      1. org.apache.axis2.jaxws.server.EndpointController.handleRequest(EndpointController.java:247)
      1 frame