-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Beta1
-
None
Running Solder ServiceHandlerTest fails with
Exception 0 : java.lang.RuntimeException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-000059 No delegate injection points defined for [EnhancedAnnotatedTypeImpl] public abstract @EchoService class org.jboss.solder.test.serviceHandler.GoodbyeWorld at org.jboss.solder.serviceHandler.ServiceHandlerExtension.buildBean(ServiceHandlerExtension.java:118) at org.jboss.solder.serviceHandler.ServiceHandlerExtension.processAnnotatedType(ServiceHandlerExtension.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:268) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:264) at org.jboss.weld.annotated.runtime.InvokableAnnotatedMethod.invokeOnInstance(InvokableAnnotatedMethod.java:82) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:97) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:134) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:228) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232) at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170) at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:47) at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:131) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:116) at org.jboss.weld.bootstrap.events.ProcessAnnotatedTypeImpl.fire(ProcessAnnotatedTypeImpl.java:81) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:145) at org.jboss.weld.bootstrap.BeanDeployer.processAnnotatedTypes(BeanDeployer.java:135) at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:217) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:427) at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:91) at org.jboss.as.weld.services.WeldService.start(WeldService.java:77) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-000059 No delegate injection points defined for [EnhancedAnnotatedTypeImpl] public abstract @EchoService class org.jboss.solder.test.serviceHandler.GoodbyeWorld at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1046) at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1034) at org.jboss.solder.bean.BeanBuilder.readFromType(BeanBuilder.java:114) at org.jboss.solder.serviceHandler.ServiceHandlerExtension.buildBean(ServiceHandlerExtension.java:112) ... 32 more Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000059 No delegate injection points defined for [EnhancedAnnotatedTypeImpl] public abstract @EchoService class org.jboss.solder.test.serviceHandler.GoodbyeWorld at org.jboss.weld.util.Decorators.findDelegateInjectionPoint(Decorators.java:139) at org.jboss.weld.injection.producer.DecoratorInjectionTarget.initInstantiator(DecoratorInjectionTarget.java:84) at org.jboss.weld.injection.producer.AbstractInjectionTarget.<init>(AbstractInjectionTarget.java:95) at org.jboss.weld.injection.producer.DefaultInjectionTarget.<init>(DefaultInjectionTarget.java:47) at org.jboss.weld.injection.producer.DecoratorInjectionTarget.<init>(DecoratorInjectionTarget.java:62) at org.jboss.weld.manager.BeanManagerImpl.internalCreateInjectionTarget(BeanManagerImpl.java:1054) at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1041) ... 35 more at org.jboss.as.weld.services.WeldService.start(WeldService.java:84) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
- relates to
-
WELD-1289 BeanManager refuses to create an InjectionTarget for an abstract class
- Closed