Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 16848 invoked from network); 1 Feb 2010 13:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 13:02:15 -0000 Received: (qmail 66864 invoked by uid 500); 1 Feb 2010 13:02:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 66772 invoked by uid 500); 1 Feb 2010 13:02:14 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 66762 invoked by uid 99); 1 Feb 2010 13:02:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 13:02:14 +0000 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; Mon, 01 Feb 2010 13:02:12 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7FCD229A0014 for ; Mon, 1 Feb 2010 05:01:51 -0800 (PST) Message-ID: <1042199715.6471265029311521.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 13:01:51 +0000 (UTC) From: "Ivan Fedenkov (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (JXPATH-142) DynamicBean with null name property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org DynamicBean with null name property ----------------------------------- Key: JXPATH-142 URL: https://issues.apache.org/jira/browse/JXPATH-142 Project: Commons JXPath Issue Type: Bug Affects Versions: 1.3 Reporter: Ivan Fedenkov VariablePointer.getImmediateValuePointer() on line 127 creates a DynamicPointer with name==null : {code} public NodePointer getImmediateValuePointer() { if (valuePointer == null) { ... if (actual) { ... valuePointer = NodePointer.newChildNodePointer(this, null, value); } ... } return valuePointer; } {code} then DynamicPointer.equals(...) or DynamicPointer.hashCode() throws NPE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.