webtier@glassfish.java.net

Re: [webtier] JSF2 ActionListenerHandler NotSerializableException

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Wed, 08 Apr 2009 10:31:42 -0700

On 4/8/09 10:28 AM, Paulo Cesar Reis wrote:
> Hi Ryan, thanks for the answer.
>
> I've updated the version to Mojarra 2.0.0 (SNAPSHOT b10) and now its
> working like a charm.
Great!
>
> Thanks for the help.
>
> Cya.
>
> On 4/8/09 1:57 PM, "Ryan Lubke" <Ryan.Lubke_at_Sun.COM> wrote:
>
> On 4/8/09 5:37 AM, Paulo Cesar Reis wrote:
>
> JSF2 ActionListenerHandler NotSerializableException Hi,
>
> I'm trying to run the EdBurns example (located on
> http://blogs.sun.com/enterprisetechtips/entry/true_abstraction_composite_ui_components1)
> but I'm getting the follow error:
>
> *SEVERE: Error Rendering View[/login.xhtml]
> java.io.NotSerializableException:
> com.sun.faces.facelets.tag.jsf.core.ActionListenerHandler
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
> at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
> at java.util.ArrayList.writeObject(ArrayList.java:570)
> ...
>
> *The error happens when I put the follow piece of code inside
> the ez:LoginPanel:
>
> * <f:actionListener for="loginEvent"
> type="example01.LoginActionListener" />
>
> *Environment:
> *INFO: Initializing Mojarra 2.0.0 (PR2 09)
> glassfish-v3-b44-04_08_2009
>
> *Anyone knows what can be?
>
> Thanks.
>
> Could you please update to a nightly build [1] and see if the
> problem persists?
>
> [1]
> https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=9814&expandFolder=9814&folderID=0
> <https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=9814&expandFolder=9814&folderID=0>
>