1 2 Previous Next 17 Replies Latest reply on May 17, 2009 7:48 AM by gsoultan Go to original post
      • 15. Re: Seam: @In attribute requires non-null value
        sghazi

        I'm seeing the same error, but for obviously different reasons.  On of my database tables contains two fk references to the same table.  I've generated my entities and renamed the redundant variable name appropriately.  Is such functionality supported by SEAM 2.0.2? 

        • 16. Re: Seam: @In attribute requires non-null value
          matthewdemerath

          I got the same error but for another reason.
          In my code I had


          @Stateless
          @Scope(ScopeType.APPLICATION)
          @Name("EmailManager")
          public class EmailManagerBean implements EmailManager
          



          AND


              @In(create = true, required = true)
              EmailManager emailManager;
          



          When I changed the case of the name to match the local variable it all started working!


          now it reads


          @Stateless
          @Scope(ScopeType.APPLICATION)
          @Name("emailManager")
          public class EmailManagerBean implements EmailManager
          
          


          • 17. Re: Seam: @In attribute requires non-null value
            gsoultan

            I'm also have the problem like this.


            To solve it, I just type set @required to false.




            1 2 Previous Next