myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Portwich" <portw...@blueskye.de>
Subject Text must not be null
Date Wed, 15 May 2013 10:46:59 GMT
Hi,

 

we get sometimes a ‘Text must not be null’ exception from the HtmlResponseWriterImpl.


We see the exception randomly.  We now the xhtml file that triggers the error including the
parameter the user has entered on the page. 

But we are not able to reproduce it on the server (you now – it works on my machine). 

 

Has anybody an idea? What is the reason for the error? How could we trace the error based
on the stacktrace?

 

Thanks Georg

 

We use tomcat7 with myfaces 2.1.10 and tomahawk20 1.1.14.

 

Here is the complete stacktrace: 

java.lang.NullPointerException: 'Text must not be null.'

 

java.lang.NullPointerException: Text must not be null.

                at org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl.writeText(HtmlResponseWriterImpl.java:822)

                at org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.renderSelectOptions(HtmlRendererUtils.java:654)

                at org.apache.myfaces.shared.renderkit.html.HtmlSelectableRendererBase.internalRenderSelect(HtmlSelectableRendererBase.java:169)

                at org.apache.myfaces.shared.renderkit.html.HtmlMenuRendererBase.renderMenu(HtmlMenuRendererBase.java:91)

                at org.apache.myfaces.shared.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:76)

                at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545)

                at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:693)

                at org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:115)

                at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at org.apache.myfaces.renderkit.html.HtmlCompositeComponentRenderer.encodeEnd(HtmlCompositeComponentRenderer.java:71)

                at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at org.apache.myfaces.renderkit.html.HtmlCompositeComponentRenderer.encodeEnd(HtmlCompositeComponentRenderer.java:71)

                at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at org.apache.myfaces.renderkit.html.HtmlCompositeComponentRenderer.encodeEnd(HtmlCompositeComponentRenderer.java:71)

                at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)

                at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981)

                at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)

                at com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:163)

                at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)

                at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:169)

                at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)

                at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.tagwerk.webapp.utils.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:110)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.tagwerk.general.web.HibernateSessionConversationFilter.doFilter(HibernateSessionConversationFilter.java:92)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:357)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)

                at com.tagwerk.webapp.utils.AuthPrettyFacesFilter.doFilter(AuthPrettyFacesFilter.java:92)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

                at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:137)

                at com.tagwerk.webapp.utils.AuthPrettyFacesFilter.doFilter(AuthPrettyFacesFilter.java:92)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at com.tagwerk.webapp.utils.CustomCharacterEncodingFilter.doFilter(CustomCharacterEncodingFilter.java:42)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

                at java.lang.Thread.run(Thread.java:722)

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message