[ 
http://issues.apache.org/jira/browse/MYFACES-160?page=comments#action_62058 ]
     
sean schofield commented on MYFACES-160:
----------------------------------------

I am happy to make this fix.  Before I do I would like to understand why you 
are seeing a stack trace and I am not.  I'd like to know where my logic is 
breaking down.

> 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
>     Priority: Minor

>
> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to