ICEfaces
  1. ICEfaces
  2. ICE-2753

Drag and drop between tree node and panelGroup causes exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      all

      Description

      When dragging a tree node to 1 of 3 panel groups set as drop targets, an internal server error popup is shown and an exception is thrown when the item is dropped:

      11:24:41,031 WARN [lifecycle] java.lang.NullPointerException
      javax.faces.el.EvaluationException: java.lang.NullPointerException
      at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
      at com.icesoft.faces.component.ext.HtmlPanelGroup.broadcast(HtmlPanelGroup.java:743)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
      at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:494)
      .............................

      I have attached my 1.6.2 test case which had been deployed on jboss 4.2.

        Issue Links

          Activity

          Hide
          Tyler Johnson added a comment -

          Example uses 1.6.2. Does not work in 1.7

          Show
          Tyler Johnson added a comment - Example uses 1.6.2. Does not work in 1.7
          Hide
          Mircea Toma added a comment -

          Tyler, please compile the classes with JDK 1.4 or 1.5. I can't run the application on Mac. Also, you have to include all the required libraries in the WAR file. Don't assume that somebody else will have the exact same libraries in the IDE or the app. server classpath.

          Show
          Mircea Toma added a comment - Tyler, please compile the classes with JDK 1.4 or 1.5. I can't run the application on Mac. Also, you have to include all the required libraries in the WAR file. Don't assume that somebody else will have the exact same libraries in the IDE or the app. server classpath.
          Hide
          Tyler Johnson added a comment -

          Source code for test case.

          Show
          Tyler Johnson added a comment - Source code for test case.
          Hide
          Adnan Durrani added a comment -

          The NullPointerException caused by the code inside the bean.

          Show
          Adnan Durrani added a comment - The NullPointerException caused by the code inside the bean.
          Hide
          Adnan Durrani added a comment -

          However I have to test that why the e.getTargetDragValue() is returning null.

          Show
          Adnan Durrani added a comment - However I have to test that why the e.getTargetDragValue() is returning null.
          Hide
          Adnan Durrani added a comment -

          Tyler's app works with 1.7DR#3. This bug seems like a regression of ICE-2680

          Show
          Adnan Durrani added a comment - Tyler's app works with 1.7DR#3. This bug seems like a regression of ICE-2680
          Hide
          Adnan Durrani added a comment -

          ICE-2680 fixes this problem.

          Show
          Adnan Durrani added a comment - ICE-2680 fixes this problem.
          Hide
          Mandeep Hayher added a comment -

          The original problem reported in the support link still exists:

          -If the application has more than one drop targets, user can drag and drop to only first drop target.

          It works fine with Icefaces1.6 but NOT with Icefaces1.7, I didnot see any exceptions in the server logs.

          Show
          Mandeep Hayher added a comment - The original problem reported in the support link still exists: -If the application has more than one drop targets, user can drag and drop to only first drop target. It works fine with Icefaces1.6 but NOT with Icefaces1.7, I didnot see any exceptions in the server logs.
          Hide
          Adnan Durrani added a comment -

          branch 1.7: revision 16590
          trunk: revision 16591

          Show
          Adnan Durrani added a comment - branch 1.7: revision 16590 trunk: revision 16591

            People

            • Assignee:
              Unassigned
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: