4 Replies Latest reply on Jun 20, 2008 12:26 PM by bprior

    Big problem when switching to 3.2.1.GA from 3.1.5. (using my

      Hi all,

      I have a following show stopping problem ...

      I have a project using frameworks:

      myfaces 1.2.3.
      faceslets 1.1.4
      richfaces ... 3.1.5. GA, or 3.2.1. GA

      When we used 3.1.5 GA everything worked fine, more or less,
      but when I tried switching to 3.2.1 GA (for some reason not relevant to this problem) all the links stopped working.
      I get a following Exception:

      javax.faces.application.ViewExpiredException: /foobar.jsfThe expected view was not returned for the view identifier: /foobar.jsf
      

      (managed bean methods don't get invoked)

      firebug reports a javascript error which it also reports when 3.1.5 GA is used, but it doesn't break the link
      [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1753" data: no]
      file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
      Line 1753
      


      I made a small test application to demonstrate the behavior and I can send the WAR file if it helps solve the problem.
      I tried the test application with jsf RI and there were no problems, so I guess that this is only myfaces - richfaces issue.
      (I've configured web.xml with no filters, except the ajax4jsf filter, as suggested)

      Thanks in advance!
      Milan



        • 1. Re: Big problem when switching to 3.2.1.GA from 3.1.5. (usin
          jiri.pejchal

          I'm experiencing similar problems. Application displays OK, but when I click somewhere I get the following error:

          javax.faces.application.ViewExpiredException: /html/core/documents.facesThe expected view was not returned for the view identifier: /html/core/documents.faces
          at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:88)
          at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
          at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)

          I'm using latest myfaces+facelets+richfaces 3.2.1.GA.


          Richfaces 3.2.1.CR8 works, but not 3.2.1GA.

          • 2. Re: Big problem when switching to 3.2.1.GA from 3.1.5. (usin

            UPDATE: I've just tried something that i found while searching the forums...
            Someone reported a similar problem when using ricfaces 3.2.1 GA but NOT when using richfaces 3.2.0 SR1.
            Tried it and it WORKS.
            I hope that this helps to developers...

            • 3. Re: Big problem when switching to 3.2.1.GA from 3.1.5. (usin
              ilya_shaikovsky

              Yes we has a bug with viewState and it was fixed only after 3.2.1. So you could:

              1) try 3.2.2 snapshts(preferrable)

              2) or try MyFaces 1.2.0 or SUN JSF RI 1.2 or client side state saving.

              • 4. Re: Big problem when switching to 3.2.1.GA from 3.1.5. (usin
                bprior

                Hi RichFaces Team,

                Just FYI, our team also experienced this exact issue with our migration to 3.2.1.GA.

                We would very much like try out the 3.2.2 Snapshot you mentioned. Can you point me to where I download it?

                Thanks,
                .Burt