webtier@glassfish.java.net

Re: [webtier] JSF2 ActionListenerHandler NotSerializableException

From: Paulo Cesar Reis <casmeiron_at_gmail.com>
Date: Wed, 08 Apr 2009 14:28:31 -0300

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.

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_c
>> omponents1) 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=981
> 4&expandFolder=9814&folderID=0
>