admin@glassfish.java.net

Re: stack trace in log file while using admin console

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Wed, 15 Oct 2008 14:31:48 -0700

This is very similar to what Kedar is seeing. When this happen, does
the page render fine ? Or you can't get to the page at all ?

thanks
Anissa

Siraj Ghaffar wrote:
>
> I was trying to set monitoring levels on the configure monitoring page
> in the admin console, and see these stack traces in the server log
> file. Any ideas?
>
> Thanks.
>
>
>
> [#|2008-10-15T14:14:36.796-0700|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=25;_ThreadName=Thread-3;|ApplicationDispatcher[]
> PWC1231: Servlet.service() for servlet FacesServlet threw exception
> java.lang.NullPointerException: Argument Error: Parameter
> responseWriter is null
> at com.sun.faces.util.Util.notNull(Util.java:241)
> at
> com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:314)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:335)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRootImpl.java:168)
>
> at
> com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
>
> at
> com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:673)
>
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
>
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> at
> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:107)
>
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:467)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:886)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:556)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
>
> at
> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:535)
>
> at
> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:325)
>
> at
> org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:234)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:720)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> |#]
>
> [#|2008-10-15T14:14:36.806-0700|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=25;_ThreadName=Thread-3;|org.apache.catalina.core.StandardHostValve_at_6cf97c:
> Exception Processing
> ErrorPage[exceptionType=javax.faces.application.ViewExpiredException,
> location=/]
> javax.servlet.ServletException: Argument Error: Parameter
> responseWriter is null
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:467)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:886)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:556)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
>
> at
> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:535)
>
> at
> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:325)
>
> at
> org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:234)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:720)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> Caused by: java.lang.NullPointerException: Argument Error: Parameter
> responseWriter is null
> at com.sun.faces.util.Util.notNull(Util.java:241)
> at
> com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:314)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:335)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRootImpl.java:168)
>
> at
> com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
>
> at
> com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:673)
>
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
>
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> at
> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:107)
>
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
> ... 33 more
> ----- Root Cause -----
> java.lang.NullPointerException: Argument Error: Parameter
> responseWriter is null
> at com.sun.faces.util.Util.notNull(Util.java:241)
> at
> com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:314)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:335)
>
> at
> com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRootImpl.java:168)
>
> at
> com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
>
> at
> com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:673)
>
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
>
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> at
> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:107)
>
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:467)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:886)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:556)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
>
> at
> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:535)
>
> at
> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:325)
>
> at
> org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:234)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:720)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> |#]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>