You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/05/23 20:21:52 UTC
[jira] Closed: (MYFACES-160) HtmlTree.isNodeSelected doesn't check for null node id
[ http://issues.apache.org/jira/browse/MYFACES-160?page=all ]
sean schofield closed MYFACES-160:
----------------------------------
Resolution: Fixed
Fix Version: Nightly Build
Thanks for the bug report and patch.
> HtmlTree.isNodeSelected doesn't check for null node id
> ------------------------------------------------------
>
> Key: MYFACES-160
> URL: http://issues.apache.org/jira/browse/MYFACES-160
> Project: MyFaces
> Type: Bug
> Versions: 1.0.9 beta
> Environment: All
> Reporter: Rob Decker
> Assignee: sean schofield
> Priority: Minor
> Fix For: Nightly Build
> Attachments: nodeId_npe.patch
>
> Apparently UITreeData can return a null node id when getNodeId() is called. HtmlTree.isNodeSelected() doesn't check for a null id and dumps a long strack trace in the log. It would be nicer for the log file if checked for a null value:
> return (getNodeId() != null) ? getNodeId().equals(_selectedNodeId) : false;
--
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