jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-541) NPE in PredefinedNodeTypeTest.getPropertyDefSpec
Date Fri, 11 Aug 2006 07:55:14 GMT
     [ http://issues.apache.org/jira/browse/JCR-541?page=all ]

Marcel Reutegger resolved JCR-541.

    Fix Version/s: 1.1
       Resolution: Fixed

I agree. The JavaDoc of PropertyDefinition.getValueConstraints() says:

"Reporting of value constraints is optional. An implementation may return null, indicating
that value constraint information is unavailable (though a constraint may still exist)."

I removed the check from PredefinedNodeTypeTest and adapted the node type specs in org.apache.jackrabbit.test.api.nodetype.spec.

svn revision: 430715

Thank you for reporting this issue.

> NPE in PredefinedNodeTypeTest.getPropertyDefSpec
> ------------------------------------------------
>                 Key: JCR-541
>                 URL: http://issues.apache.org/jira/browse/JCR-541
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>            Reporter: Julian Reschke
>            Priority: Minor
>             Fix For: 1.1
> Occurs when PropertyDefinition.getValueConstraints returns null, which is allowed by
the spec.

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


View raw message