Environment
Novell Vibe 4.0
Situation
With keyShield SSO integration enabled with Vibe 4.0, attempting to save changes to a document using LibreOffice fails and reports the following error in the Vibe appserver.log file:
2015-04-09 16:49:20,204 WARN [http-apr-8443-exec-9] [com.bradmcevoy.http.LockInfo] - resource is being locked with a null user. This won't really be locked at all...
2015-04-09 16:49:20,220 WARN [http-apr-8443-exec-9] [com.bradmcevoy.http.webdav.LockWriterHelper] - owner is null
2015-04-09 16:49:20,937 ERROR [http-apr-8443-exec-2] [org.hibernate.LazyInitializationException] - failed to lazily initialize a collection of role: org.kablink.teaming.domain.UserPrincipal.memberOf, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.kablink.teaming.domain.UserPrincipal.memberOf, 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.initialize(AbstractPersistentCollection.java:368)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
..................
2015-04-09 16:49:20,204 WARN [http-apr-8443-exec-9] [com.bradmcevoy.http.LockInfo] - resource is being locked with a null user. This won't really be locked at all...
2015-04-09 16:49:20,220 WARN [http-apr-8443-exec-9] [com.bradmcevoy.http.webdav.LockWriterHelper] - owner is null
2015-04-09 16:49:20,937 ERROR [http-apr-8443-exec-2] [org.hibernate.LazyInitializationException] - failed to lazily initialize a collection of role: org.kablink.teaming.domain.UserPrincipal.memberOf, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.kablink.teaming.domain.UserPrincipal.memberOf, 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.initialize(AbstractPersistentCollection.java:368)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
..................
Resolution
A fix for this issue is available in the Vibe 4.0 Hot Patch 1, available via the Novell Patch Finder.