Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 37461 invoked from network); 23 Feb 2005 23:33:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Feb 2005 23:33:12 -0000 Received: (qmail 41350 invoked by uid 500); 23 Feb 2005 23:33:11 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 41337 invoked by uid 99); 23 Feb 2005 23:33:11 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web51704.mail.yahoo.com (HELO web51704.mail.yahoo.com) (206.190.38.222) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 23 Feb 2005 15:33:10 -0800 Received: (qmail 88512 invoked by uid 60001); 23 Feb 2005 23:33:08 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Jqq7zg9YGjAuvsivfX9HwSPrZsTvGqYiZcrBPFSN6j681b6gL4Vb9n5ACsO5awgCAnraGaP/Wg9Cjcc4BXcvm5fjDIOu0mjqdN/ONWaQqVfe8SNSHHq4XtkI8zES+au8/Q0LzgIAd3UmWQldRW+hbwnG31XTriOoCykoCVnSlUQ= ; Message-ID: <20050223233308.88510.qmail@web51704.mail.yahoo.com> Received: from [69.193.62.60] by web51704.mail.yahoo.com via HTTP; Wed, 23 Feb 2005 15:33:07 PST Date: Wed, 23 Feb 2005 15:33:07 -0800 (PST) From: Manoj Prasad Subject: JCRTest.java NullPointerException To: jackrabbit-dev@incubator.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, This run time error results during the call to RegistryHelper.registerRepository. The actual point of failure is in the first line of VersioningConfig because the passed variable is NULL. The code from RepositoryConfig.java is below: // load versioning config Element vElement = config.getRootElement().getChild(VERSIONING_ELEMENT); vConfig = new VersioningConfig(vElement, vars); The variable vElement is NULL because getChild returns NULL because no elements exist in the repository yet. I'm guessing an element should exist, but I'm not sure what I'm missing to have that happen. Let me know if you require any additional information. Thanks. Manoj __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com