Hi all!
I have a problem with Glassfish throwing a NPE (see below) when the startpage is redirected via mod_proxy sometimes. For example, if Google crawls the page the exception is thrown - calling the page directly works nicely.
So I'm looking for some hints what may be the problem here, searching didn't bring too much valuable results.
Thanks for any information,
Jan
Log Entry Detail
Details
Timestamp:
Apr 17, 2007 13:59:13.065
Log Level:
SEVERE
Logger:
javax.enterprise.system.container.web
Name-Value Pairs:
_ThreadID=29;_ThreadName=httpWorkerThread-8080-3;_RequestID=71cd8103-d189-448d-be17-4d9516df5121;
Record Number:
795
Message ID:
StandardWrapperValve[Faces Servlet]
Complete Message
PWC1406: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.sun.rave.web.ui.util.ClientSniffer.<init>(ClientSniffer.java:116)
at com.sun.rave.web.ui.util.ClientSniffer.getInstance(ClientSniffer.java:154)
at com.sun.rave.web.ui.renderer.ImageRenderer.isPngAndIE(ImageRenderer.java:248)
at com.sun.rave.web.ui.renderer.ImageRenderer.renderAttributes(ImageRenderer.java:144)
at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeBegin(AbstractRenderer.java:148)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:809)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:242)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:602)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:542)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:762)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:322)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:247)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:201)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
[Message sent by forum member 'jankesten' (jankesten)]
http://forums.java.net/jive/thread.jspa?messageID=212702