java.lang.IllegalAccessError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Javassist throws java.lang.IllegalAccessError
    via by Lars-Fredrik Smedberg,
  • Javassist throws java.lang.IllegalAccessError
    via by Lars-Fredrik Smedberg,
  • Re: Javassist throws java.lang.IllegalAccessError
    via by Mark Struberg,
  • Re: Javassist throws java.lang.IllegalAccessError
    via by Mark Struberg,
  • Compenent Wizard Utility Starting Error
    via by user1974088,
  • IllegalAccessError
    via by 843797,
    • java.lang.IllegalAccessError: Class <our injected class>_$$_javassist_12 illegally accessing "package private" member of class <our injected class> at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(InjectionBinding.java:1123) at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectableObject(InjectionBinding.java:1032) at com.ibm.wsspi.injectionengine.InjectionTarget.inject(InjectionTarget.java:125) at com.ibm.ws.injectionengine.AbstractInjectionEngine.inject(AbstractInjectionEngine.java:1084) at com.ibm.wsspi.injectionengine.InjectionUtil.createInjectedInstance(InjectionUtil.java:174) at com.ibm.ws.websvcs.server.WSServiceInstanceFactory.createServiceInstance(WSServiceInstanceFactory.java:111) at org.apache.axis2.jaxws.server.EndpointController.handleRequest(EndpointController.java:247) Caused by: 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(Native Method) at java.lang.Class.newInstance(Class.java:1600) at org.apache.webbeans.proxy.JavassistProxyFactory.createNormalScopedBeanProxy(JavassistProxyFactory.java:219) at org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:870) at org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:777) at org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:137) at org.apache.webbeans.inject.InjectableMethods.doInjection(InjectableMethods.java:136) at org.apache.webbeans.component.ProducerMethodBean.createDefaultInstance(ProducerMethodBean.java:204) at org.apache.webbeans.component.ProducerMethodBean.createInstance(ProducerMethodBean.java:166) at org.apache.webbeans.component.AbstractOwbBean.createNewInstance(AbstractOwbBean.java:216) at org.apache.webbeans.portable.creation.AbstractProducer.produce(AbstractProducer.java:82) at org.apache.webbeans.component.InjectionTargetWrapper.produce(InjectionTargetWrapper.java:142) at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:174) at org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:69) at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:191) at org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:892) at org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:770) at com.ibm.ws.webbeans.services.IBMBeanManagerImpl.getInjectableReference(IBMBeanManagerImpl.java:186) at com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getInjectableReference(InjectInjectionObjectFactory.java:315) at com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getObjectInstance(InjectInjectionObjectFactory.java:153) at com.ibm.ws.webbeans.services.InjectInjectionBinding.getInjectionObjectInstance(InjectInjectionBinding.java:100) at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(InjectionBinding.java:1093) ... 7 more
    No Bugmate found.