6 Replies Latest reply on Oct 24, 2007 6:37 AM by Nicklas Karlsson

    @In gets not injected thou it exists

    Marc Lustig Newbie

      in one particular case the @In annotation is not working here.

      @Stateful
      @Name("shopTree")
      @Scope(ScopeType.SESSION)
      public class ShopTreeBean implements ShopTree {
       @In
       private ApplicationUser applicationUser; <-- ALWAYS NULL
      


      I have verified that ApplicationUser applicationUser IS existing in the Seam session-context, and it is not null. No exception (such as In-property required) is occuring.
      Anyone has any idea why Seam (2.0CR1) is not injecting this session-property?
      It is rather annoying if this injection-mechanism works sometimes, and sometimes not.