Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 95873 invoked from network); 4 Mar 2009 10:54:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2009 10:54:18 -0000 Received: (qmail 61124 invoked by uid 500); 4 Mar 2009 10:54:17 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 61103 invoked by uid 500); 4 Mar 2009 10:54:17 -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 61093 invoked by uid 99); 4 Mar 2009 10:54:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 02:54:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 10:54:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57B1D234C4AF for ; Wed, 4 Mar 2009 02:53:56 -0800 (PST) Message-ID: <1787081387.1236164036358.JavaMail.jira@brutus> Date: Wed, 4 Mar 2009 02:53:56 -0800 (PST) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1616) Spi2Dav / 283 Conflict: Creation of PropertyInfoImpl fails with NPE if the returned ItemInfo points to a Node In-Reply-To: <1508781587.1211273095676.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 [ https://issues.apache.org/jira/browse/JCR-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-1616: ------------------------ Issue Type: Sub-task (was: Bug) Parent: JCR-2003 > Spi2Dav / 283 Conflict: Creation of PropertyInfoImpl fails with NPE if the returned ItemInfo points to a Node > ------------------------------------------------------------------------------------------------------------- > > Key: JCR-1616 > URL: https://issues.apache.org/jira/browse/JCR-1616 > Project: Jackrabbit Content Repository > Issue Type: Sub-task > Components: jackrabbit-jcr-server, sandbox > Reporter: angela > > jcr-server and jcr2spi do not deal properly with the following 283 functionality > - property and node siblings can have the same name > this results in NPE upon creation of a PropertyInfoImpl from time to time: > java.lang.NullPointerException > at org.apache.jackrabbit.spi2dav.PropertyInfoImpl.(PropertyInfoImpl.java:62) > at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getPropertyInfo(RepositoryServiceImpl.java:914) > this issue cannot be fix by checking the value of the ItemResourceConstants.JCR_TYPE. > instead a fix MUST include cover both jcr-server and jcr2spi and deal with the fact that there are > nodes/properties with the same name. consequently a different URI must be created for them > in order to have the server/client properly deal with the requests/responses. > since there are currently no plans for upgrading SPI and spi2dav in particular to jcr 283 this issue > acts as a reminder. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.