This content has been marked as final.
Show 2 replies
-
1. Re: Instance.isUnsatisfied() returns false, but Instance.get() returns NULL.Developer mistake or bug in Weld?
alesj Nov 10, 2011 6:03 PM (in response to assen)Can you create a test for this -- in out tests-arquillian module?
(via github pull request)And I'll have a closer look, if it still fails for you.
-
2. Re: Instance.isUnsatisfied() returns false, but Instance.get() returns NULL.Developer mistake or bug in Weld?
assen Nov 11, 2011 1:40 AM (in response to assen)Hi Ales,
After long debugging session it turns out that my @Authenticated-Producer returns NULL in some cases.Also I think, I did not correct interpret the API-documentation about Instance.isUnsatisfied().I though, this method returns false if a instance - in my case a User-Instance - is already injected and ready for use.
During the debugging session last night I found another problem, that is clearly bug in Seam Solder / Servlet and I did already report it in Jira. If you are interested, take a look at SOLDER-302