admin@glassfish.java.net

Exception in server.log while clicking on Web Applications node in console?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 15 Oct 2008 13:19:21 -0700

Build: b28a, on MacOS X and JDK 1.5.

- Install, start the server, connect to admin console URL.
- Click on the Web Applications node.
- Click on Web Applications link on the right hand panel.

server.log contains following exception log message.

Known issue?

Regards,
Kedar

Oct 15, 2008 1:14:38 PM org.apache.catalina.core.StandardHostValve log
SEVERE: org.apache.catalina.core.StandardHostValve_at_f09a2f: 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:431)
        at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:885)
        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:431)
        at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:885)
        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)