Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4211 | minor | always | 09-10-10 10:32 | 01-18-11 10:12 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.15 | ||
|
|||||
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) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|