Anonymous | Login | Signup for a new account | 12-17-2024 08:35 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004211 | [Resin] | minor | always | 09-10-10 10:32 | 01-18-11 10:12 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0004211: hessian/hibernate deserialization | ||||||||
Description |
(rep by Matthew Schmidt) Hey guys. Our project that's using Spring and Hibernate seems to have an issue with Spring Security and the remember me logins. Lazy loading collections has always been a problem with Hessian, but I'm not sure how to fix it here: ERROR - failed to lazily initialize a collection of role: com.qato.models.user.User.containers, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.qato.models.user.User.containers, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375) at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:122) at org.hibernate.collection.PersistentSet.size(PersistentSet.java:162) at com.caucho.hessian.io.CollectionSerializer.writeObject(CollectionSerializer.java:96) at com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:421) at com.caucho.hessian.io.UnsafeSerializer$ObjectFieldSerializer.serialize(UnsafeSerializer.java:293) at com.caucho.hessian.io.UnsafeSerializer.writeInstance(UnsafeSerializer.java:212) at com.caucho.hessian.io.UnsafeSerializer.writeObject(UnsafeSerializer.java:171) at com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:421) at com.caucho.hessian.io.UnsafeSerializer$ObjectFieldSerializer.serialize(UnsafeSerializer.java:293) at com.caucho.hessian.io.UnsafeSerializer.writeInstance(UnsafeSerializer.java:212) at com.caucho.hessian.io.UnsafeSerializer.writeObject(UnsafeSerializer.java:171) at com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:421) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |