Re: IllegalArgumentException: setAttribute: Non-serializable attribute

Scott Farquhar <[email protected]> Wed, 7 Sep 2005 19:37:20 +1000
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
Reiner,

On Tue, Sep 06, 2005 at 09:10:58PM -0500, Reiner Kappenberger wrote:
> Hi,
> 
> I've been using Sitemesh for quite a while now with good success. However I've just moved to JBoss 4.0.2 (from 3.2.6) and using the same application encounter a problem with the above exception being thrown at me when trying to access the root page.
> 
> The output is:
> java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
> 	at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
> 	at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
> 	at org.apache.jasper.runtime.PageContextImpl.doSetAttribute(PageContextImpl.java:341)
> 	at org.apache.jasper.runtime.PageContextImpl.setAttribute(PageContextImpl.java:320)
> 	at org.apache.jsp.decorators.default_jsp._jspService(org.apache.jsp.decorators.default_jsp:163)

It appears that in your decorator, you are setting some page attribute
that isn't serializable.  I doubt that it is anything to do with
Sitemesh.

Cheers,
Scott 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]