ICEfaces
  1. ICEfaces
  2. ICE-11344

NPE in showcase icecore > Refresh demo when PartialStateSaving = false

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.2.0.GA
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      After navigating to the icecore:refresh demo a NPE occurs:
      Jul 17, 2017 12:42:25 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError
      SEVERE: java.lang.NullPointerException: WriteText method cannot write null text
              at org.icefaces.impl.context.DOMResponseWriter.writeText(DOMResponseWriter.java:423)
              at org.icefaces.impl.facelets.tag.icefaces.core.RefreshHandler$RefreshSetupOutput.encodeBegin(RefreshHandler.java:107)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:302)
              at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
              at org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:74)
              at org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:62)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:294)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:141)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:77)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
              at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
              at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
              at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
              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:300)
              at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219)
              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:432)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
              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)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)






        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-4.2.0 trunk r51758, Tomcat 8, MS Edge, IE 11, 10, 9, 8, FF 47, Chrome 59.

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-4.2.0 trunk r51758, Tomcat 8, MS Edge, IE 11, 10, 9, 8, FF 47, Chrome 59.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51759 Tue Jul 18 08:57:52 MDT 2017 mircea.toma ICE-11344 Acquire the interval and duration parameters from the view map during render phase to ensure that they are made available by the tag handler first.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mircea Toma added a comment -

        Acquire the interval and duration parameters from the view map during render phase to ensure that they are made available by the tag handler first.

        Show
        Mircea Toma added a comment - Acquire the interval and duration parameters from the view map during render phase to ensure that they are made available by the tag handler first.
        Liana Munroe made changes -
        Affects Version/s EE-4.2.0.GA [ 13071 ]
        Liana Munroe made changes -
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Liana Munroe made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Liana Munroe created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: