Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 42042 invoked from network); 11 Aug 2006 07:58:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 07:58:11 -0000 Received: (qmail 47704 invoked by uid 500); 11 Aug 2006 07:58:10 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 47682 invoked by uid 500); 11 Aug 2006 07:58:10 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 47673 invoked by uid 99); 11 Aug 2006 07:58:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:58:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 00:58:07 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E26AC7142C9 for ; Fri, 11 Aug 2006 07:55:14 +0000 (GMT) Message-ID: <27176549.1155282914925.JavaMail.jira@brutus> Date: Fri, 11 Aug 2006 00:55:14 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-541) NPE in PredefinedNodeTypeTest.getPropertyDefSpec In-Reply-To: <29831040.1155219673882.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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