[
http://issues.ops4j.org/jira/browse/QI-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11406
]
Georg Ragaller commented on QI-70:
----------------------------------
IssueTest added in tests/auxillary/src/test/java/org/qi4j/tests/jira/qi70/
> @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