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?
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...
Tip: if the status is
Openand the Fix version is an unreleased one, it means
will be fixedand no further action is needed ;-)