ICEfaces
  1. ICEfaces
  2. ICE-6190

UnsupportedOperationException: createTemporaryDOMResponseWriter not implemented

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.0, compat, ice:config

      Description


      The following cryptic Exception may be observed:

      java.lang.UnsupportedOperationException: createTemporaryDOMResponseWriter not implemented
      at com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:197)
      at com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:92)
      at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:66)
      at com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:42)
      at org.icefaces.impl.renderkit.RendererWrapper.encodeBegin(RendererWrapper.java:50)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:717)

        Activity

        Hide
        Ted Goddard added a comment -

        This exception occurs when ICEfaces is configured to be applied per-view:

        <context-param>
        <param-name>org.icefaces.render.auto</param-name>
        <param-value>false</param-value>
        </context-param>

        and a page contains ICEfaces components, but does not contain

        <icecore:config render="true" />

        Either the ICEfaces component should enable ICEfaces rendering for the page, or the error message should be improved.

        Show
        Ted Goddard added a comment - This exception occurs when ICEfaces is configured to be applied per-view: <context-param> <param-name>org.icefaces.render.auto</param-name> <param-value>false</param-value> </context-param> and a page contains ICEfaces components, but does not contain <icecore:config render="true" /> Either the ICEfaces component should enable ICEfaces rendering for the page, or the error message should be improved.
        Hide
        Ted Goddard added a comment -

        Assigning to Ken for investigation by the component team (improve the error message or enable ICEfaces rendering for the page).

        Show
        Ted Goddard added a comment - Assigning to Ken for investigation by the component team (improve the error message or enable ICEfaces rendering for the page).
        Hide
        Ted Goddard added a comment -

        It may be easiest to improve the logging just in the form renderer.

        Show
        Ted Goddard added a comment - It may be easiest to improve the logging just in the form renderer.
        Hide
        Ted Goddard added a comment -

        Mark suggested catching this in attachDOMContext and logging it there.

        Show
        Ted Goddard added a comment - Mark suggested catching this in attachDOMContext and logging it there.
        Hide
        Ted Goddard added a comment -

        Fix checked in to DOMContext.java.

        Show
        Ted Goddard added a comment - Fix checked in to DOMContext.java.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: