Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

gigaspaces webui no session error

We got following error when checking an entry from GS WebUI either from the Queries or Types tabs in Spaces page. The entry has 2 collections and is loaded through initialLoad. The odd thing is a standard gs client can fetch the data correctly, but not through GS WebUI, which tries to fetch it from DB, which seems wrong. Also the error will disappear if the entry is directly written to the space instead of through initial loading.

Looks a GS WebUI bug or some config we missing. Thanks in advance any insights on this.

2018-02-05 15:41:20,993 SEVERE [com.gigaspaces.webui.common] - org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session; Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:186) at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:545) at org.hibernate.collection.internal.PersistentSet.add(PersistentSet.java:206) at com.gigaspaces.document.DocumentObjectConverter.toDocumentCollectionIfNeeded(DocumentObjectConverter.java:434) at com.gigaspaces.document.DocumentObjectConverter.toDocumentIfNeededInternal(DocumentObjectConverter.java:219) at com.gigaspaces.document.DocumentObjectConverter.toDocumentIfNeeded(DocumentObjectConverter.java:209) at com.gigaspaces.internal.document.DocumentObjectConverterInternal.toDocumentIfNeeded(DocumentObjectConverterInternal.java:46) at com.gigaspaces.internal.document.DocumentObjectConverterInternal.toDocumentIfNeeded(DocumentObjectConverterInternal.java:178) at com.gigaspaces.internal.document.DocumentObjectConverterInternal.convertNonPrimitiveFixedPropertiesToDocuments(DocumentObjectConverterInternal.java:113) at com.gigaspaces.internal.document.DocumentObjectConverterInternal.convertNonPrimitivePropertiesToDocuments(DocumentObjectConverterInternal.java:71) at com.gigaspaces.internal.server.space.SpaceImpl.applyEntryPacketOutFilter(SpaceImpl.java:2334) at com.gigaspaces.internal.server.space.SpaceImpl.readNew(SpaceImpl.java:2176) at com.gigaspaces.internal.server.space.operations.ReadTakeEntrySpaceOperation.execute(ReadTakeEntrySpaceOperation.java:33) at com.gigaspaces.internal.server.space.operations.ReadTakeEntrySpaceOperation.execute(ReadTakeEntrySpaceOperation.java:23) at com.gigaspaces.internal.server.space.operations.SpaceOperationsExecutor.executeOperation(SpaceOperationsExecutor.java:78) at com.gigaspaces.internal.server.space.SpaceImpl.executeOperation(SpaceImpl.java:1826) at com.gigaspaces.internal.server.space.SpaceImpl.executeOperationAsync(SpaceImpl.java:1833) at com.gigaspaces.internal.remoting.RemoteOperationsExecutorGigaspacesMethodinternalInvoke3.internalInvoke(Unknown Source) at com.gigaspaces.internal.reflection.fast.AbstractMethod.invoke(AbstractMethod.java:41) at com.gigaspaces.lrmi.LRMIRuntime.invoked(LRMIRuntime.java:477) at com.gigaspaces.lrmi.nio.Pivot.consumeAndHandleRequest(Pivot.java:573) at com.gigaspaces.lrmi.nio.Pivot.handleRequest(Pivot.java:667) at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:196) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)