[weld-dev] Possible bug in the Weld implementation
Jozef Hartinger
jharting at redhat.com
Tue Nov 6 11:35:48 EST 2012
Hi, please file an issue in our issue tracker and I'll take a look.
https://issues.jboss.org/browse/WELD
On 11/06/2012 05:00 PM, Daniel Sachse wrote:
> Hey guys,
>
> I already bugged the Errai and Resteasy guys with my problem, but I
> was told that you guys are in charge of this ;)
>
> I possibly discovered a bug in the Weld implementation provided with
> JBoss 7.1.1.Final.
> I was playing around with Errai and JAX-RS and I discovered that when
> I add the JAX-RS annotations to the interface this works as expected.
> As soon as I start to use a CDI Decorator with the JAX-RS interface, i
> start getting the following error:
>
> /"org.jboss.weld.exceptions.UnproxyableResolutionException:
> WELD-001306 Attempting to inject an unproxyable normal scoped bean
> Decorator....."/
> /
> /
> If I then put the JAX-RS annotations back at the implementation,
> everything works fine. Unfortunately this behavior is not working for
> me, because Errai needs the annotations at the interface to create
> client code.
>
> As I was unsure if this only happened with Errai on the classpath, I
> created a very little demo project, which exactly shows the bug I
> mentioned: https://github.com/w0mbat/RESTTest
>
> Hope you guys can confirm this as a bug and fix it soon ;)
>
> Regards,
>
> Daniel
>
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20121106/b50cadf2/attachment.html
More information about the weld-dev
mailing list