ICEfaces
  1. ICEfaces
  2. ICE-10333

ace:dataTable Column Header Ordering NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r43064. Tomcat 7, all browsers.
    • Assignee Priority:
      P2

      Description

      Williams Tests > Column Header Ordering (/columnHeaderOrdering.jsf): NullPointerException when clicking "Swap Artist & Name", also popup error:
      Oct 03, 2014 5:18:18 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError
      SEVERE: java.lang.NullPointerException
          at org.icefaces.impl.context.DOMResponseWriter.endElement(DOMResponseWriter.java:342)
          at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:260)
          at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:182)
          at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:132)
          at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
          at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
          at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:164)
          at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:430)
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)


      To reproduce:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable
      Navigate to: Williams TableConfigPanel Enhancement Tests > Column/Header Ordering (/views/columnHeaderOrdering.jsf)
      Note styling issue with Album column
      Click "Swap Artist & Name" button.
      NPE will occur.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: