[richfaces-issues] [JBoss JIRA] Updated: (RF-3928) d'n'd tree: expanded state is loosed while drag&drop/

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Jul 16 12:00:01 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Vitenkov updated RF-3928:
---------------------------------

        Summary: d'n'd tree: expanded state is loosed while drag&drop/  (was: CLONE -D'n'D tree support: java.lang.NullPointerException appears during drug & drop one tree node to another inside dataTable(one node) & subTable(another node).)
    Description: 
Step 1. Put one tree inside rich:dataTable's column.
Step 2. Put another tree inside rich:dataTable subTable's column.
Step 3. Drug a node from the 1st tree to the 2nd.

Actual behavior:
Expanded state is initial.

For more information see attached DataTable.jsp & TreeDndBean.java

  was:
Step 1. Put one tree inside rich:dataTable's column.
Step 2. Put another tree inside rich:dataTable subTable's column.
Step 3. Drug a node from the 1st tree to the 2nd.

Actual behavior:

javax.faces.el.EvaluationException: org.apache.jasper.el.JspELException: /DataTable/DataTable.jsp(91,3) '#{treeDndBean.onDrop}' java.lang.NullPointerException
	at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:56)
	at org.richfaces.component.events.TreeEvents.invokeListenerBindings(TreeEvents.java:78)
	at org.richfaces.component.UITree.broadcast(UITree.java:568)
	at org.richfaces.component.UITreeNode.broadcast(UITreeNode.java:140)
	at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1380)
	at org.richfaces.component.UITree.broadcast(UITree.java:550)
	at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1380)
	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 org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.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:154)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
	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:233)
	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:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.jasper.el.JspELException: /DataTable/DataTable.jsp(91,3) '#{treeDndBean.onDrop}' java.lang.NullPointerException
	at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:77)
	at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:52)
	... 32 more
Caused by: java.lang.NullPointerException
	at tree.TreeDndBean.onDrop(TreeDndBean.java:299)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:152)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
	at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
	... 33 more

For more information see attached DataTable.jsp & TreeDndBean.java

       Priority: Minor  (was: Major)


> d'n'd tree: expanded state is loosed while drag&drop/
> -----------------------------------------------------
>
>                 Key: RF-3928
>                 URL: https://jira.jboss.org/jira/browse/RF-3928
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: IE6, IE7, FF 3.0, Opera 9.27, Safari 3.1(3.2.2)
>            Reporter: Mikhail Vitenkov
>            Assignee: Denis Morozov
>            Priority: Minor
>             Fix For: 3.2.2
>
>
> Step 1. Put one tree inside rich:dataTable's column.
> Step 2. Put another tree inside rich:dataTable subTable's column.
> Step 3. Drug a node from the 1st tree to the 2nd.
> Actual behavior:
> Expanded state is initial.
> For more information see attached DataTable.jsp & TreeDndBean.java

-- 
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

        



More information about the richfaces-issues mailing list