org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class io.astefanutti.metrics.cdi.MetricProducer] with qualifiers [@Any @Default] with class class io.astefanutti.metrics.cdi.MetricProducer using classloader BundleClassLoader{bundle=[DelegatingBundle: [io.astefanutti.camel.cdi.camel-cdi-sample-metrics [15], org.ops4j.pax.cdi.weld [87], org.jboss.weld.osgi-bundle [73], io.astefanutti.camel.cdi.camel-cdi [14], io.astefanutti.metrics.cdi.metrics-cdi [16]]],parent=null}

JBoss Issue Tracker | Antonin Stefanutti | 12 months ago
  1. 0

    h1. Non public interface producer With the following: {code} /* package-private */ interface NonPublicInterface { } @Produces @ApplicationScoped NonPublicInterface producer() { } {code} With Weld SE, the following exception is thrown: {code} Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Producer Method [NonPublicInterface] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @ApplicationScoped producer()] with class class java.lang.Object using classloader sun.misc.Launcher$AppClassLoader@5ce345c2 Caused by: java.lang.RuntimeException: java.lang.IllegalAccessError: class org.jboss.weld.proxies.NonPublicInterface$1654568476$Proxy$_$$_WeldClientProxy cannot access its superinterface NonPublicInterface Caused by: java.lang.IllegalAccessError: class org.jboss.weld.proxies.NonPublicInterface$1654568476$Proxy$_$$_WeldClientProxy cannot access its superinterface NonPublicInterface {code} *For injection points within the same package.* Note that works fine with OpenWebBeans. h1. Private nested class With the following: {code} import com.codahale.metrics.MetricRegistry; @Produces @ApplicationScoped MetricRegistry registry = new MetricRegistry(); {code} With Weld OSGi (in Karaf with PAX CDI) and JDK 7 (HotSpot build 1.7.0_80-b15), the following exception is thrown: {code} Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.IllegalAccessError: tried to access class com.codahale.metrics.MetricRegistry$MetricBuilder from class com.codahale.metrics.MetricRegistry$Proxy$_$$_WeldClientProxy at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2256) at com.google.common.cache.LocalCache.get(LocalCache.java:3990) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878) at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49) at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74) at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:222) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:755) at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:861) at org.jboss.weld.injection.ParameterInjectionPointImpl.getValueToInject(ParameterInjectionPointImpl.java:76) at org.jboss.weld.injection.ConstructorInjectionPoint.getParameterValues(ConstructorInjectionPoint.java:150) at org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:75) at org.jboss.weld.injection.producer.AbstractInstantiator.newInstance(AbstractInstantiator.java:28) at org.jboss.weld.injection.producer.BasicInjectionTarget.produce(BasicInjectionTarget.java:116) at org.jboss.weld.injection.producer.BeanInjectionTarget.produce(BeanInjectionTarget.java:179) at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:158) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141) at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:761) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:784) at org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61) at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85) at io.astefanutti.metrics.cdi.MetricsExtension.getBeanInstance(MetricsExtension.java:123) at io.astefanutti.metrics.cdi.MetricsExtension.configuration(MetricsExtension.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) ... 44 more Caused by: java.lang.IllegalAccessError: tried to access class com.codahale.metrics.MetricRegistry$MetricBuilder from class com.codahale.metrics.MetricRegistry$Proxy$_$$_WeldClientProxy at com.codahale.metrics.MetricRegistry$Proxy$_$$_WeldClientProxy.<clinit>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at org.jboss.weld.bean.proxy.DefaultProxyInstantiator.newInstance(DefaultProxyInstantiator.java:43) at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:307) at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:299) at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83) at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:198) at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:188) at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:46) at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:57) at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:53) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252) ... 74 more {code} Because {{MetricRegistry}} contains a private nested class. The same test run with JDK 8 (HotSpot build 1.8.0_66-b17) throws a different exception: {code} org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Producer Field [MetricRegistry] with qualifiers [@Default @Named @Any] declared as [[BackedAnnotatedField] @Produces @ApplicationScoped @Named org.apache.camel.cdi.sample.metrics.MetricsCdiConfig.registry] with class class com.codahale.metrics.MetricRegistry using classloader BundleClassLoader{bundle=[DelegatingBundle: [io.astefanutti.camel.cdi.camel-cdi-sample-metrics [15], org.ops4j.pax.cdi.weld [87], org.jboss.weld.osgi-bundle [73], io.astefanutti.metrics.cdi.metrics-cdi [16], io.astefanutti.camel.cdi.camel-cdi [14]]],parent=null} at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:364) at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:327) at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:319) at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83) at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:198) at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:188) at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:46) at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:57) at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:53) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252) at com.google.common.cache.LocalCache.get(LocalCache.java:3990) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878) at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49) at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74) at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:222) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:736) at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:842) at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92) at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:378) at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:389) at org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70) at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48) at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72) at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:121) at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:159) at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:70) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742) at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:765) at org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61) at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85) at io.astefanutti.metrics.cdi.MetricsExtension.getBeanInstance(MetricsExtension.java:123) at io.astefanutti.metrics.cdi.MetricsExtension.configuration(MetricsExtension.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53) at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35) at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28) at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:450) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90) at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.createBeanManager(WeldCdiContainer.java:115) at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.access$000(WeldCdiContainer.java:55) at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:95) at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:91) at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60) at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiContainer.java:91) at org.ops4j.pax.cdi.spi.AbstractCdiContainer.start(AbstractCdiContainer.java:87) at org.ops4j.pax.cdi.extender.impl.CdiExtender.createContainer(CdiExtender.java:184) at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:133) at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:64) at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469) at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541) at org.apache.felix.framework.Felix.startBundle(Felix.java:2172) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1189) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:836) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1079) at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:975) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: java.lang.LinkageError: loader (instance of org/ops4j/pax/swissbox/core/BundleClassLoader): attempted duplicate class definition for name: "com/codahale/metrics/MetricRegistry$Proxy$_$$_WeldClientProxy" at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:101) at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:484) at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:357) ... 86 more Caused by: java.lang.LinkageError: loader (instance of org/ops4j/pax/swissbox/core/BundleClassLoader): attempted duplicate class definition for name: "com/codahale/metrics/MetricRegistry$Proxy$_$$_WeldClientProxy" at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:108) at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:97) ... 88 more {code} h1. Package private class With the following: {code} /* package-private */ class MyBean { } {code} With Weld OSGi (in Karaf with PAX CDI), the following exception is thrown: {code} Caused by: java.lang.IllegalAccessError: class MyBean$Proxy$_$$_WeldClientProxy cannot access its superclass MyBean at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:108) at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:97) ... 75 more {code} For injection point within the same package and same bundle.

    JBoss Issue Tracker | 12 months ago | Antonin Stefanutti
    org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class io.astefanutti.metrics.cdi.MetricProducer] with qualifiers [@Any @Default] with class class io.astefanutti.metrics.cdi.MetricProducer using classloader BundleClassLoader{bundle=[DelegatingBundle: [io.astefanutti.camel.cdi.camel-cdi-sample-metrics [15], org.ops4j.pax.cdi.weld [87], org.jboss.weld.osgi-bundle [73], io.astefanutti.camel.cdi.camel-cdi [14], io.astefanutti.metrics.cdi.metrics-cdi [16]]],parent=null}
  2. 0

    grails errors on all commands

    Stack Overflow | 4 years ago | ekaqu
    java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor1 cannot access its superclass sun.reflect.MethodAccessorImpl
  3. 0

    grails 2.2.2 Error executing script RunApp: class sun.reflect.GeneratedMethodAccessor44 cannot access its superclass sun.reflect.MethodAccessorImpl

    Stack Overflow | 2 years ago | SteveHJ
    java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor44 cannot access its superclass sun.reflect.MethodAccessorImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when instrumenting inner classes

    GitHub | 2 years ago | jschneider
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.cedarsoft.maven:instrumentation-plugin:1.1:instrument-tests (instrument-test-classes) on project ui: Execution instrument-test-classes of goal com.cedarsoft.maven:instrumentation-plugin:1.1:instrument-tests failed: Should not happen. Failed to convert a valid compiled class into bytecode
  6. 0

    Strange error with java.lang.reflect.Method.invoke() and JDK 1.4

    Google Groups | 1 decade ago | Laurent Martelli
    java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor1 cannot access its superclass sun.reflect.MethodAccessorImpl The same code works with the JDK 1.3. Here's the stack trace :

    1 unregistered visitors
    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 io.astefanutti.metrics.cdi.MetricProducer$Proxy$_$$_WeldClientProxy cannot access its superclass io.astefanutti.metrics.cdi.MetricProducer

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      Method.invoke
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      3. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      4. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      5. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      6. java.lang.reflect.Method.invoke(Method.java:606)
      6 frames
    3. Weld Implementation
      ClientProxyProvider$CreateClientProxy.load
      1. org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:108)
      2. org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:97)
      3. org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:484)
      4. org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:357)
      5. org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:327)
      6. org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:319)
      7. org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83)
      8. org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:198)
      9. org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:188)
      10. org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:46)
      11. org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:57)
      12. org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:53)
      12 frames
    4. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
      7 frames
    5. Weld Implementation
      BeanManagerProxy.getReference
      1. org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
      2. org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
      3. org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:222)
      4. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:736)
      5. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:765)
      6. org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61)
      7. org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85)
      7 frames
    6. io.astefanutti.metrics
      MetricsExtension.configuration
      1. io.astefanutti.metrics.cdi.MetricsExtension.getBeanInstance(MetricsExtension.java:123)
      2. io.astefanutti.metrics.cdi.MetricsExtension.configuration(MetricsExtension.java:99)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. Weld Implementation
      WeldBootstrap.validateBeans
      1. org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
      2. org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)
      3. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)
      4. org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)
      5. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)
      6. org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)
      7. org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)
      8. org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)
      9. org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)
      10. org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)
      11. org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
      12. org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)
      13. org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
      14. org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:450)
      15. org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      15 frames
    9. org.ops4j.pax
      WeldCdiContainer$1.call
      1. org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.createBeanManager(WeldCdiContainer.java:115)
      2. org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.access$000(WeldCdiContainer.java:55)
      3. org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:95)
      4. org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:91)
      4 frames
    10. OPS4J Pax Swissbox :: OSGi Core
      ContextClassLoaderUtils.doWithClassLoader
      1. org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
      1 frame
    11. org.ops4j.pax
      CdiExtender.addingBundle
      1. org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiContainer.java:91)
      2. org.ops4j.pax.cdi.spi.AbstractCdiContainer.start(AbstractCdiContainer.java:87)
      3. org.ops4j.pax.cdi.extender.impl.CdiExtender.createContainer(CdiExtender.java:184)
      4. org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:133)
      5. org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:64)
      5 frames
    12. OSGi
      BundleTracker$Tracked.bundleChanged
      1. org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
      2. org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
      3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
      4. org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
      5. org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
      5 frames
    13. Apache Felix Framework
      BundleImpl.start
      1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
      3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
      4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)
      5. org.apache.felix.framework.Felix.startBundle(Felix.java:2172)
      6. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      7. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      7 frames
    14. org.apache.karaf
      FeaturesServiceImpl$1.call
      1. org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1189)
      2. org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:836)
      3. org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1079)
      4. org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:975)
      4 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames