RichFaces
  1. RichFaces
  2. RF-3818

Tree: DnD: Exception while moving items between trees

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Critical Critical
    • Resolution: Done
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.2
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      jsp
      myfaces
      FF 3
      tomcat 6
    • Similar Issues:
      Show 10 results 

      Description

      SEVERE: Exception in the filter chain
      javax.servlet.ServletException: org.apache.jasper.el.JspELException: /Tree/Tree.jsp(213,4) '#

      {treeDndBean.onDrop}' java.lang.IllegalArgumentException: Parent node required!
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
      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: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)
      Caused by: javax.faces.el.EvaluationException: org.apache.jasper.el.JspELException: /Tree/Tree.jsp(213,4) '#{treeDndBean.onDrop}

      ' java.lang.IllegalArgumentException: Parent node required!
      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.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:82)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      ... 18 more
      Caused by: org.apache.jasper.el.JspELException: /Tree/Tree.jsp(213,4) '#

      {treeDndBean.onDrop}

      ' java.lang.IllegalArgumentException: Parent node required!
      at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:77)
      at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:52)
      ... 31 more
      Caused by: java.lang.IllegalArgumentException: Parent node required!
      at org.richfaces.component.UITree.addNode(UITree.java:1184)
      at org.richfaces.component.UITree.addNode(UITree.java:1213)
      at tree.TreeDndBean.onDrop(TreeDndBean.java:313)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
      at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
      ... 32 more
      Jun 27, 2008 6:23:52 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.IllegalArgumentException: Parent node required!
      at org.richfaces.component.UITree.addNode(UITree.java:1184)
      at org.richfaces.component.UITree.addNode(UITree.java:1213)
      at tree.TreeDndBean.onDrop(TreeDndBean.java:313)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
      at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
      at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:52)
      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.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:82)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      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: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)

        Activity

        Hide
        Tsikhon Kuprevich
        added a comment -

        test application

        From the rtee on the left:
        1. Edgar Allan Poe > Plays(Expand Plays node)
        2. Move Plays node to Henry Wadsworth Longfellow directly.

        see exception.

        Show
        Tsikhon Kuprevich
        added a comment - test application From the rtee on the left: 1. Edgar Allan Poe > Plays(Expand Plays node) 2. Move Plays node to Henry Wadsworth Longfellow directly. see exception.
        Hide
        Mikhail Vitenkov
        added a comment -

        Verified at 3.2.2-SNAPSHOT

        Show
        Mikhail Vitenkov
        added a comment - Verified at 3.2.2-SNAPSHOT

          People

          • Assignee:
            Mikhail Vitenkov
            Reporter:
            Tsikhon Kuprevich
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: