if i do a simple template in magnolia 3.5_rc1 that looks like this:

<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"; xmlns:cms="urn:jsptld:cms-taglib" xmlns:cmsu="urn:jsptld:cms-util-taglib" xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core "
  xmlns:fmt="urn:jsptld:http://java.sun.com/jsp/jstl/fmt";>
<jsp:directive.page contentType="text/html; charset=UTF-8" session="true" /> <jsp:useBean id="overworld" scope="session" class="com.ant.web.Overworld" />

        <jsp:directive.page import="info.magnolia.cms.util.Resource" />

        <jsp:text><![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
        ]]></jsp:text>
        
        <html xmlns="http://www.w3.org/1999/xhtml";>
        <head>/head>
                <body>
                        hello
                </body>
        </html>
</jsp:root>

with my bean added:
<jsp:useBean id="overworld" scope="session" class="com.ant.web.Overworld" />

i get this error:
org.apache.jasper.JasperException: java.lang.IllegalArgumentException: PWC2788: setAttribute: Non- serializable attribute

i can provide a bigger stack trace is needed? this error didn't happen on magnolia 3.0

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to