Skip to main content

[webtier] JSF2 ActionListenerHandler NotSerializableException

3 replies [Last post]
Anonymous

Hi,

I'm trying to run the EdBurns example (located on
http://blogs.sun.com/enterprisetechtips/entry/true_abstraction_composite...
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:

Environment:
INFO: Initializing Mojarra 2.0.0 (PR2 09)
glassfish-v3-b44-04_08_2009

Anyone knows what can be?

Thanks.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

On 4/8/09 5:37 AM, Paulo Cesar Reis wrote:
> Hi,
>
> I'm trying to run the EdBurns example (located on
> http://blogs.sun.com/enterprisetechtips/entry/true_abstraction_composite...)
> 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:
>
> * > 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?folder...
[att1.html]

Paulo Cesar Reis

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" 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...
>> 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:
>>
>>
>>
>> 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?folder...
> 4&expandFolder=9814&folderID=0
>

[att1.html]

Ryan Lubke

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" 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...)
> 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:
>
> * > 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?folder...
>
>

[att1.html]