beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <...@beehive.apache.org>
Subject [jira] Assigned: (BEEHIVE-971) NPE on TreeElement when using method clearChildren on a TreeElement with no children
Date Mon, 17 Oct 2005 17:40:47 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-971?page=all ]

Carlin Rogers reassigned BEEHIVE-971:
-------------------------------------

    Assign To: Rich Feit  (was: Carlin Rogers)

Assigning to Rich for review. Thanks.

> 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
>     Assignee: Rich Feit
>      Fix For: 1.1
>  Attachments: j971-patch.txt
>
> 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


Mime
View raw message