You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tamilla (JIRA)" <de...@myfaces.apache.org> on 2012/05/02 08:57:00 UTC

[jira] [Created] (TRINIDAD-2265) Trinidad tr:treeTable expand/collapse commands

Tamilla created TRINIDAD-2265:
---------------------------------

             Summary: Trinidad tr:treeTable expand/collapse commands
                 Key: TRINIDAD-2265
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2265
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.1-core, 2.0.0-core
         Environment: MyEclipse 10
            Reporter: Tamilla


problem is expand/collapse commands of treeTable. I think they are supposed to automatically expand/collapse tree nodes, but by clicking them, nothing happens and I got the exception

SEVERE: Error Rendering View[/MyXhtml.xhtml] 01/05/2012 15:31:08 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll    SEVERE: Error displaying partial page    java.lang.NullPointerException        at org.apache.myfaces.trinidad.render.CoreRenderer.getFacesBean(CoreRenderer.java:739)   

the reason of this that it is happening around line 739 of CoreRenderer#getFacesBean():

  736     protected FacesBean getFacesBean(
  737     UIComponent component)
  738    {
  739     return ((UIXComponent) component).getFacesBean(); 
  740     } 

So, component is null.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira