[
http://jira.jboss.com/jira/browse/RF-3316?page=all ]
Nick Belaevski resolved RF-3316.
--------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
NPE in ajax single tree
-----------------------
Key: RF-3316
URL:
http://jira.jboss.com/jira/browse/RF-3316
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Tsikhon Kuprevich
Fix For: 3.2.1
<rich:tree id="tree" value="#{bean.data}" var="data"
limitToList="false"
ajaxSingle="true"
switchType="ajax"
ajaxSubmitSelection="true"
toggleOnClick="false"
immediate="false"
showConnectingLines="false"
rendered="true">
</rich:tree>
java.lang.NullPointerException
at
org.richfaces.model.AbstractTreeDataModel.processElement(AbstractTreeDataModel.java:124)
at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:112)
at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:157)
at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:181)
at org.richfaces.model.CacheableTreeDataModel.walk(CacheableTreeDataModel.java:126)
at org.richfaces.model.AbstractTreeDataModel.walk(AbstractTreeDataModel.java:58)
at
org.richfaces.model.CacheableTreeDataModel.convertToKey(CacheableTreeDataModel.java:147)
at org.richfaces.component.UITree.invokeOnComponent(UITree.java:923)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:237)
at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:450)
at
org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
at org.ajax4jsf.Filter.doFilter(Filter.java:175)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira