2 Replies Latest reply on Feb 25, 2011 9:29 AM by Monkey Den

    How to solve "In attribute requires non-null value"

    naveen chanda Newbie
      Hi,

      I am getting the below error when i try to inject the object using the jboss seam.

      I tried with different cases but, still i am getting the below errors.

      Cases:
      1) @In(value = "ObjPlanStateDAO", create=true)

      2)@In(value = "ObjPlanStateDAO", create=true, required ="false")

      3) @In(value = "objPlanStateDAO", create=true) Which i changed to case sensitive.

      But, the problem is still exists.

      I don't what is the cause for this issue and can anyone help me on this.


      ERROR [ServiceCommandProcessorEJB] RuntimeException caught while executing service com.successfactors.gm.service.GetObjPlanState
      org.jboss.seam.RequiredException: In attribute requires non-null value: ObjPlanStateDAO.session

              at org.jboss.seam.Component.getValueToInject(Component.java:1919)

              at org.jboss.seam.Component.injectAttributes(Component.java:1368)

              at org.jboss.seam.Component.inject(Component.java:1195)

              at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
              at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)



      Thanks,
      Naveen Chanda