Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 28353 invoked from network); 13 Oct 2005 13:23:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 13:23:34 -0000 Received: (qmail 7058 invoked by uid 500); 13 Oct 2005 13:23:29 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 6900 invoked by uid 500); 13 Oct 2005 13:23:27 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 6883 invoked by uid 99); 13 Oct 2005 13:23:26 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 06:23:26 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7D8C6512 for ; Thu, 13 Oct 2005 15:23:05 +0200 (CEST) Message-ID: <1944058993.1129209785511.JavaMail.jira@ajax.apache.org> Date: Thu, 13 Oct 2005 15:23:05 +0200 (CEST) From: "Pete Hale (JIRA)" To: dev@beehive.apache.org Subject: [jira] Created: (BEEHIVE-971) NPE on TreeElement when using method clearChildren on a TreeElement with no children 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 NPE on TreeElement when using method clearChildren on a TreeElement with no children ------------------------------------------------------------------------------------ Key: BEEHIVE-971 URL: http://issues.apache.org/jira/browse/BEEHIVE-971 Project: Beehive Type: Bug Components: NetUI Versions: V1 Reporter: Pete Hale The method clearChildren in TreeElement calls _children.clear() without making sure that the member variable _children is not null. Reproduction: TreeRootElement root = new TreeRootElement(); root.clearChildren(); NPE is thrown -- 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