Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 17731 invoked from network); 18 Dec 2006 08:53:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 08:53:44 -0000 Received: (qmail 61208 invoked by uid 500); 18 Dec 2006 08:53:51 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60971 invoked by uid 500); 18 Dec 2006 08:53:50 -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 60962 invoked by uid 99); 18 Dec 2006 08:53:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 00:53:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 00:53:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A44867141A5 for ; Mon, 18 Dec 2006 00:53:21 -0800 (PST) Message-ID: <32808513.1166432001642.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 00:53:21 -0800 (PST) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-681) NullPointerException in ServerRow In-Reply-To: <30802848.1166430800957.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 [ http://issues.apache.org/jira/browse/JCR-681?page=all ] Jukka Zitting resolved JCR-681. ------------------------------- Resolution: Fixed Fixed in revision 488157. > NullPointerException in ServerRow > --------------------------------- > > Key: JCR-681 > URL: http://issues.apache.org/jira/browse/JCR-681 > Project: Jackrabbit > Issue Type: Bug > Components: rmi > Affects Versions: 1.0, 1.0.1, 1.1, 0.9, 1.1.1 > Reporter: Jukka Zitting > Assigned To: Jukka Zitting > Priority: Minor > Fix For: 1.2 > > > A NullPointerException occurs in ServerRow.getValues() when the underlying Value array contains a null reference. See http://www.nabble.com/exception-after-calling-webdav-search-command-tf2826750.html for the details. > java.lang.NullPointerException > at org.apache.jackrabbit.rmi.value.StatefulValueAdapter.getType(StatefulValueAdapter.java:98) > at org.apache.jackrabbit.rmi.value.SerialValue.(SerialValue.java:65) > at org.apache.jackrabbit.rmi.value.SerialValueFactory.makeSerialValue(SerialValueFactory.java:100) > at org.apache.jackrabbit.rmi.value.SerialValueFactory.makeSerialValueArray(SerialValueFactory.java:77) > at org.apache.jackrabbit.rmi.server.ServerRow.getValues(ServerRow.java:58) > The best solution would be to explicitly handle nulls in SerialValueFactory.makeSerialValue(). -- 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