-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: PLS HELP!! =>org.hibernate.type.SerializationException
PostPosted: Wed Oct 12, 2005 11:34 pm 
Newbie

Joined: Wed Oct 12, 2005 11:29 pm
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
Hi all,

I have just set up Hibernate 3.0 on JBOSS 4.0.2 on Eclipse 3.1. I've got this error and didn't know what i means..

exception

javax.servlet.ServletException: could not deserialize
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)


root cause

org.hibernate.type.SerializationException: could not deserialize
org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:211)
org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:234)
org.hibernate.type.SerializableType.fromBytes(SerializableType.java:78)
org.hibernate.type.SerializableType.get(SerializableType.java:39)
org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
org.hibernate.type.AbstractType.hydrate(AbstractType.java:80)
org.hibernate.persister.entity.BasicEntityPersister.hydrate(BasicEntityPersister.java:1690)
org.hibernate.loader.Loader.loadFromResultSet(Loader.java:991)
org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:942)
org.hibernate.loader.Loader.getRow(Loader.java:855)
org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:305)
org.hibernate.loader.Loader.doQuery(Loader.java:412)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
org.hibernate.loader.Loader.doList(Loader.java:1593)
org.hibernate.loader.Loader.list(Loader.java:1577)
org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)

......

Anyone have any idea...???Eagerly awaiting rescue... :) THKS!

-David-


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 13, 2005 3:39 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Do all of your POJOs, and their identifier properties, implement Serializable ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.