myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l.penet@senat.fr" <l.pe...@senat.fr>
Subject java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
Date Mon, 16 Nov 2015 19:59:40 GMT
Dear all,

I randomly get the following exception in one of my apps :

16-Nov-2015 16:36:35.980 SEVERE [http-apr-8444-exec-10] 
org.omnifaces.exceptionhandler.FullAjaxExceptionHandler.logException 
FullAjaxExceptionHandler: An exception occurred during rendering JSF 
ajax response. Error page '/error.xhtml' will be shown.
  java.lang.IllegalStateException: Must be called before the start 
element is closed (attribute 'id')
         at 
org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl.writeAttribute(HtmlResponseWriterImpl.java:816)
         at 
javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
         at 
org.apache.myfaces.context.PartialResponseWriterImpl.writeAttribute(PartialResponseWriterImpl.java:407)
         at 
javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
         at 
javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
         at 
org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartialRendering(PartialViewContextImpl.java:473)
         at 
org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:415)
         at 
org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:60)
         at 
javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:85)
         at 
javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:516)
         at 
javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
         at 
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1891)
         at 
org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:313)
         at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
         at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
         at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
         at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
         at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
         at 
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
         at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267)
         at 
org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
         at 
javax.faces.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:31)
         at 
org.apache.deltaspike.jsf.impl.listener.request.JsfClientWindowAwareLifecycleWrapper.render(JsfClientWindowAwareLifecycleWrapper.java:160)
         at 
org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
         at 
javax.faces.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:31)
         at 
org.apache.deltaspike.jsf.impl.listener.request.JsfClientWindowAwareLifecycleWrapper.render(JsfClientWindowAwareLifecycleWrapper.java:160)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
         at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
         at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
         at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
         at 
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:384)
         at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:229)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:577)
         at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
         at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
         at 
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:291)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
         at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
         at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
         at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)
         at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.lang.Thread.run(Thread.java:745)

I am certainly missing something big, but I really do not understand 
what is happening. Can anyone please indicate me directions do seek ?

Thanks in advance,

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Mime
View raw message