Tree: illegal state exception moving expanded node
--------------------------------------------------
Key: RF-6457
URL:
https://jira.jboss.org/jira/browse/RF-6457
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: Future
I have a tree on the left and a tree on right , I can move a Parent node (With children)
from Left to right but
whenever I expand the node and move I get a
java.lang.IllegalStateException: No tree element available or row key not set!
when i looked at the trace i saw
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalStateException: No tree element available or row key not set!
at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:176)
at org.richfaces.model.TreeDataModel.walkModel(TreeDataModel.java:295)
at org.richfaces.component.UITree.walkModel(UITree.java:426)
at org.richfaces.component.state.TreeState.visitNodes(TreeState.java:211)
at org.richfaces.component.state.TreeState.expandNode(TreeState.java:273)
at
org.richfaces.component.state.events.ExpandNodeCommandEvent.execute(ExpandNodeCommandEvent.java:48)
at
org.richfaces.component.state.events.TreeStateCommandEvent.processListener(TreeStateCommandEvent.java:59)
at org.richfaces.component.UITree.broadcast(UITree.java:565)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:292)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:249)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:462)
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira