@NotEmpty causes java.lang.NullPointerException
-----------------------------------------------

                 Key: QI-70
                 URL: http://issues.ops4j.org/jira/browse/QI-70
             Project: Qi4j
          Issue Type: Bug
            Reporter: Georg Ragaller
            Assignee: Rickard Öberg


The javadoc of @NotEmpty states 'Marks a property as being a string, non null, 
non empty.'.
But if a null value is checked a 

java.lang.NullPointerException
        at 
org.qi4j.library.framework.constraint.NotEmptyConstraint.isValid(NotEmptyConstraint.java:37)
        at 
org.qi4j.library.framework.constraint.NotEmptyConstraint.isValid(NotEmptyConstraint.java:1)
        at 
org.qi4j.runtime.composite.ConstraintInstance.isValid(ConstraintInstance.java:41)
        ...

occures (Proj.Rev. 12020)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to