Text must not be null
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
ist außer Haus.
Ich werde ab 13.05.2013 nicht im Büro sein. Ich kehre zurück am 27.05.2013. In dringenden Fällen kontaktieren Sie bitte für den Bereich Elba Webcare Fr. Daniela Lasinger (eMail.: lasin...@racon-linz.at - DW: 1478). Für Auswertungen Elbanet: Hr. Markus Nopp (eMail.: n...@racon-linz.at) Sowie für Anfragen im Bereich Bankrechner Herrn Hollin (hol...@racon-linz.at) Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema: Text must not be null Gesendet (c) GRZ/RACON Linz 2010 Agent 'Abwesenheit' Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden. Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.
Re: Text must not be null
On Wed, May 15, 2013 at 6:46 AM, Georg Portwich portw...@blueskye.dewrote: 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. Can you reply with the xhtml (file or files) that you 'know' triggers the error?
Re: Text must not be null
I believe a label on a selectItem is null. 2013/5/15 Howard W. Smith, Jr. smithh032...@gmail.com On Wed, May 15, 2013 at 6:46 AM, Georg Portwich portw...@blueskye.de wrote: 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. Can you reply with the xhtml (file or files) that you 'know' triggers the error?