java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')

myfaces-users | l.penet@senat.fr | 1 year ago
  1. 0

    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')

    myfaces-users | 1 year ago | l.penet@senat.fr
    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
  2. 0

    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')

    myfaces-users | 1 year ago | l.penet@senat.fr
    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
  3. 0

    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')

    myfaces-users | 1 year ago | l.penet@senat.fr
    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug with omnifaces 1.10 when OmniPartialViewContext#startDocument performs transparent redirection

    GitHub | 1 year ago | lpenet
    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
  6. 0

    Bug with omnifaces 1.10 when OmniPartialViewContext#startDocument performs transparent redirection

    Stack Overflow | 1 year ago | Ludovic Pénet
    java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Must be called before the start element is closed (attribute 'id')

      at org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl.writeAttribute()
    2. Apache MyFaces Shared For JSF 2.0 - Core Mirror
      HtmlResponseWriterImpl.writeAttribute
      1. org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl.writeAttribute(HtmlResponseWriterImpl.java:816)
      1 frame
    3. JavaEE 7
      ResponseWriterWrapper.writeAttribute
      1. javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
      1 frame
    4. Impl
      PartialResponseWriterImpl.writeAttribute
      1. org.apache.myfaces.context.PartialResponseWriterImpl.writeAttribute(PartialResponseWriterImpl.java:407)
      1 frame
    5. JavaEE 7
      ResponseWriterWrapper.writeAttribute
      1. javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
      2. javax.faces.context.ResponseWriterWrapper.writeAttribute(ResponseWriterWrapper.java:109)
      2 frames
    6. Impl
      PartialViewContextImpl.processPartial
      1. org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartialRendering(PartialViewContextImpl.java:473)
      2. org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:415)
      2 frames
    7. primefaces
      PrimePartialViewContext.processPartial
      1. org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:60)
      1 frame
    8. JavaEE 7
      UIComponentBase.encodeAll
      1. javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:85)
      2. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:516)
      3. javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
      3 frames
    9. org.apache.myfaces
      FaceletViewDeclarationLanguage.renderView
      1. org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1891)
      1 frame
    10. Impl
      ViewHandlerImpl.renderView
      1. org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:313)
      1 frame
    11. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
      2. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
      3. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
      4. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
      5. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
      5 frames
    12. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267)
      2 frames
    13. org.apache.deltaspike
      DeltaSpikeLifecycleWrapper.render
      1. org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
      1 frame
    14. JavaEE 7
      LifecycleWrapper.render
      1. javax.faces.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:31)
      1 frame
    15. org.apache.deltaspike
      DeltaSpikeLifecycleWrapper.render
      1. org.apache.deltaspike.jsf.impl.listener.request.JsfClientWindowAwareLifecycleWrapper.render(JsfClientWindowAwareLifecycleWrapper.java:160)
      2. org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
      2 frames
    16. JavaEE 7
      LifecycleWrapper.render
      1. javax.faces.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:31)
      1 frame
    17. org.apache.deltaspike
      JsfClientWindowAwareLifecycleWrapper.render
      1. org.apache.deltaspike.jsf.impl.listener.request.JsfClientWindowAwareLifecycleWrapper.render(JsfClientWindowAwareLifecycleWrapper.java:160)
      1 frame
    18. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    20. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    21. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    22. org.apache.logging
      Log4jServletFilter.doFilter
      1. org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
      1 frame
    23. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
      7. org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:384)
      8. org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:229)
      9. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:577)
      10. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      11. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      12. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      13. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      14. org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:291)
      15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      16. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      16 frames
    24. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)
      4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)
      4 frames
    25. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    26. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame