0 Replies Latest reply on Jan 29, 2009 9:07 AM by Rupesh Nangalia

    inject and outject annotations forsession scope

    Rupesh Nangalia Newbie
      Below is code for user defined object
          Code in Initial file is
      @In(required = false)
      @Out(scope=ScopeType.SESSION, required=false)
      public AuthUsers currentUser;

      Code dor retriving the Session scope variable is as under
           @In(scope=ScopeType.SESSION,required = false)
           public AuthUsers currentUser;
      while accesing the object am getting "Null pointer exception"
      Kindly help
      Thanks in Advance