Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_dev
    • Fix Version/s: 4.0_dev
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Manfred Riem added a comment -

      Any of the Flow tests will intermittently trigger the exception as seen in the logs. For a pointer to the tests see https://svn.java.net/svn/mojarra~svn/trunk/test/web-profile/flow/

      Show
      Manfred Riem added a comment - Any of the Flow tests will intermittently trigger the exception as seen in the logs. For a pointer to the tests see https://svn.java.net/svn/mojarra~svn/trunk/test/web-profile/flow/
      Hide
      jjsnyder83 added a comment -
      Show
      jjsnyder83 added a comment - Created https://issues.jboss.org/browse/WELD-1387
      Hide
      Jozef Hartinger added a comment -

      This is an ordering issue in GlassFish. What happens is that the loadFlows() method of http://java.net/projects/mojarra/sources/svn/content/trunk/jsf-ri/src/main/java/com/sun/faces/application/ApplicationAssociate.java

      is being invoked before WeldBootstrap.endInitialization() has finished. It is necessary to fully initialize Weld before invoking producers (which loadFlows() does).

      Show
      Jozef Hartinger added a comment - This is an ordering issue in GlassFish. What happens is that the loadFlows() method of http://java.net/projects/mojarra/sources/svn/content/trunk/jsf-ri/src/main/java/com/sun/faces/application/ApplicationAssociate.java is being invoked before WeldBootstrap.endInitialization() has finished. It is necessary to fully initialize Weld before invoking producers (which loadFlows() does).
      Hide
      Manfred Riem added a comment -

      Note this problem does not only impact JSF application. Any application that uses CDI and does initialization using contextInitialized will spuriously be impacted by this.

      Show
      Manfred Riem added a comment - Note this problem does not only impact JSF application. Any application that uses CDI and does initialization using contextInitialized will spuriously be impacted by this.
      Hide
      jjsnyder83 added a comment -

      Committed revision 61150

      Show
      jjsnyder83 added a comment - Committed revision 61150

        People

        • Assignee:
          jjsnyder83
          Reporter:
          Manfred Riem
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: