YFaces
  1. YFaces
  2. YFACES-17

"Illegal state of Component" exception

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Under very rarely circumstances the component tree can be changed in such a case that new components are added before a Faces Request starts.
      In that case HtmlYComponent may throw an exception.
      (HtmlYComponent assumed that in each processDecodes/Updates/Validations a YComponent instance is available)

      ERROR [127.0.0.1] (master) [_ErrorPageWriter] An exception occurred

      de.hybris.yfaces.YFacesException: [id]:: Illegal state of Component
      at de.hybris.yfaces.component.HtmlYComponent.processDecodes(HtmlYComponent.java:354)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:688)
      at javax.faces.component.UIViewRoot.access$001(UIViewRoot.java:43)
      at javax.faces.component.UIViewRoot$1.process(UIViewRoot.java:85)
      at javax.faces.component.UIViewRoot.process(UIViewRoot.java:206)
      at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:81)
      at org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:32)
      at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at de.hybris.platform.storefoundation.b2b.util.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:65)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:407)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:190)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at de.hybris.platform.util.RootRequestFilter.doFilter(RootRequestFilter.java:718)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NullPointerException
      ... 44 more

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Denny Strietzbaum
            Reporter:
            Denny Strietzbaum
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: