TitleSerialization error
Date04-Mar-2005 22:54:55 EET
Version2.0.52
Submitter80.98.61.186
Bug criticalityMediumBug
Browser versionFirefox
Bug statusClosedBug
PageProvider useddefault
Servlet ContainerTomcat 5.0
Operating SystemSuSe 9.2
URLhttp://www.bossas.com/intrawiki/Edit.jsp?page=Main
Java version1.4.2_06

Seems as if the session object that Tomcat is trying to serialize is not serializable.

This error occurs when I hit the save button on a newly created page. The wiki is a new install and no saved pages in the file system. There is no left menu, left footer, main page etc. It is quite raw!

04-Mar-2005 20:15:27 org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; j ava.io.NotSerializableException: org.apache.jasper.runtime.PageContextImpl java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.jasper.run time.PageContextImpl at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

.....

One other comment, every template that I've tried has broken, either at the JSP compile stage or shortly after.


This is not fatal, it should not prevent operations. It'll just look annoying on your logs. It's a real bug though - or in fact, it's a bug in servlet specifications (and therefore implementations that don't check if something is serializable or not...)

Will be fixed in due course.

-- JanneJalkanen


I don't mean to be argumentative but this is a fatal error in this instance as it prevents anyone from being able to create a wiki page.

-- Kirk

It absolutely should not prevent anyone from creating a page. I'm running Tomcat 5 as well (though on Ubuntu) and it works fine (even if I occasionally get the same errors). Please check your server.xml; or try and reinstall on a fresh Tomcat system (for testing purposes).

-- JanneJalkanen

Downgrading again; the reason for not being able to create a page is something else than a serialization error. It's impossible to debug/fix anyway; I need complete log files.

-- JanneJalkanen

The serialization exception should be fixed in current CVS. Closing this one for now.

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-7) was last changed on 17-Apr-2005 01:26 by Administrator