ICEfaces
  1. ICEfaces
  2. ICE-9359

Running under MyFaces, dragging and dropping modal dialog sometimes results in ArrayIndexOutOfBoundsException and NCI popup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      MyFaces portal
    • Assignee Priority:
      P1

      Description

      It is intermittent and seems easiest to recreate in Safari but did see it in other browsers (Chrome, IE). Using dragging and dropping the modal dialog may work find or could generate the following service side exception and then display the NCI popup.

      {noformat}
      java.lang.ArrayIndexOutOfBoundsException: -1
      at org.icefaces.ace.component.dnd.DroppableRenderer.decode(DroppableRenderer.java:65)
      at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:469)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1379)
      at org.apache.myfaces.context.servlet.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:731)
      at org.apache.myfaces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:214)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:956)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIForm.visitTree(UIForm.java:354)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:984)
      at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1167)
      at org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartialExecute(PartialViewContextImpl.java:420)
      at org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:401)
      at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:88)
      at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:88)
      at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:281)
      at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:88)
      at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:281)
      at javax.faces.component.UIViewRoot$ApplyRequestValuesPhaseProcessor.process(UIViewRoot.java:1488)
      at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1372)
      at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:759)
      at org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:38)
      at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:100)
      at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
      at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
      {noformat}

        Activity

        Deryk Sinotte created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Assignee Priority P1 [ 10010 ]
        Ken Fyten made changes -
        Fix Version/s 3.4 [ 10770 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arturo Zambrano made changes -
        Component/s ACE-Components [ 10050 ]
        Component/s Components [ 10012 ]
        Deryk Sinotte made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: