[ https://issues.apache.org/jira/browse/TRINIDAD-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791739#action_12791739 ]
Pavitra Subramaniam commented on TRINIDAD-1660: ----------------------------------------------- The UnsupportedOperationException was fixed as part of https://issues.apache.org/jira/browse/TRINIDAD-1649. Please pull the latest in the Trinidad branch. - Pavitra > unsupportedoperationexception on partialSubmit using a JSF 2.0 Ajax APIs... > --------------------------------------------------------------------------- > > Key: TRINIDAD-1660 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1660 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 2.0.0-core > Reporter: Gabrielle Crawford > > Source breakpoint occurred at line 165 of CoreResponseStateManager.java. > Source breakpoint occurred at line 395 of PartialViewContextImpl.java. > <FaceletViewHandlingStrategy><handleRenderException> Error Rendering > View[/ajaxPPRDemos.jspx] > java.lang.UnsupportedOperationException > at javax.faces.context.ResponseWriter.endCDATA(ResponseWriter.java:212) > at > javax.faces.context.ResponseWriterWrapper.endCDATA(ResponseWriterWrapper.java:183) > at > javax.faces.context.PartialResponseWriter.endUpdate(PartialResponseWriter.java:208) > at > com.sun.faces.context.PartialViewContextImpl.renderState(PartialViewContextImpl.java:396) > at > com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:292) > at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:988) > at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610) > at > com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:368) > at > com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) > java.lang.UnsupportedOperationException > at javax.faces.context.ResponseWriter.endCDATA(ResponseWriter.java:212) > at > javax.faces.context.ResponseWriterWrapper.endCDATA(ResponseWriterWrapper.java:183) > at > javax.faces.context.PartialResponseWriter.endUpdate(PartialResponseWriter.java:208) > at > com.sun.faces.context.PartialViewContextImpl.renderState(PartialViewContextImpl.java:396) > at > com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:292) > at > javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) > at > org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:200) > at > javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) > at > org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:208) > at > com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311) > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:988) > at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610) > at > com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:368) > at > com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) > at > javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) > at > org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:200) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) > at > org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectFilter.java:97) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:325) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at > weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) > at > javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) > at > org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:208) > at > com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311) > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) > at > org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectFilter.java:97) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:325) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at > weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) > <DebugResponseWriter><endElement> Ending changes when partial-response > expected. Passes:0 > <XhtmlResponseWriter><endElement> Element End name:changes does not match > start name:partial-response > <Dec 16, 2009 5:59:38 PM PST> <Error> <HTTP> <BEA-101020> > <[servletcont...@12959008[app:trinidad module:trinidad-demo-context-root > path:/trinidad-demo-context-root spec-version:2.5]] Servlet failed with > Exception > java.lang.NullPointerException > at java.io.Writer.write(Writer.java:140) > at > com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:200) > at > com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:119) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) > Truncated. see log file for complete stacktrace > > > <Dec 16, 2009 5:59:38 PM PST> <Notice> <Diagnostics> <BEA-320068> <Watch > 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has > triggered at Dec 16, 2009 5:59:38 PM PST. Notification details: > WatchRuleType: Log > WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = > 'BEA-101017') OR (MSGID = 'BEA-000802')) > WatchData: DATE = Dec 16, 2009 5:59:38 PM PST SERVER = DefaultServer MESSAGE > = [servletcont...@12959008[app:trinidad module:trinidad-demo-context-root > path:/trinidad-demo-context-root spec-version:2.5]] Servlet failed with > Exception > java.lang.NullPointerException > at java.io.Writer.write(Writer.java:140) > at > com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:200) > at > com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:119) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311) > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) > at > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) > at > org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectFilter.java:97) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:325) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at > weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) > SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] > ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = > BEA-101020 MACHINE = gcrawfor-pc TXID = CONTEXTID = TIMESTAMP = > 1261015178085 > WatchAlarmType: AutomaticReset > WatchAlarmResetPeriod: 30000 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.