-
1. Re: Inject SLSB into SFSB with @Inject failed
nickarls Dec 2, 2009 2:48 PM (in response to alexanderbell)Sounds like https://jira.jboss.org/jira/browse/WELD-290 ?
-
2. Re: Inject SLSB into SFSB with @Inject failed
alexanderbell Dec 2, 2009 2:54 PM (in response to alexanderbell)Yep, same problem. If you want to inject a stateless object into a stateful object which is gonna be serialized that exception occurs even if the stateless object is serializable.
So the problem should be fixed in 1.0.1.CR1 but it still occurs. Should I file a new JIRA issue?
Alex
-
3. Re: Inject SLSB into SFSB with @Inject failed
asookazian Dec 2, 2009 6:23 PM (in response to alexanderbell)so what happens if you inject an object that does not implement java.io.Serializable marker interface into a SFSB? A runtime exception will be thrown at passivation time or you must use @Transient? It would be nice if EE6 was smart enough to auto-serialize objects in there cases if you don't use @Transient...
-
4. Re: Inject SLSB into SFSB with @Inject failed
nickarls Dec 2, 2009 7:51 PM (in response to alexanderbell)Tip: if the status is
Open
and the Fix version is an unreleased one, it meanswill be fixed
and no further action is needed ;-)