Fatal Exception Error 'Failed to Lazily Initialize a Collection' on Location Move Screen (Doc ID 556800.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Price Management - Version 12.0.5.2 and later
Information in this document applies to any platform.
Checked for relevance 24-Aug-2014

Symptoms

Fatal Exception received when trying to access the Retail Price Management (RPM) Location Move screen.

Steps to recreate:
 1. Log in to RPM
 2. From the task pad select Zone Structure > Maintain Location Move
 3. Note that the system throws fatal exception error and does not allow user to open the screen.

Error Received:

Caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201)
at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
at net.sf.hibernate.collection.Set.isEmpty(Set.java:114)
at com.retek.rpm.domain.locationmove.bo.LocationMoveRequestImpl.isPopulated(LocationMoveRequestImpl.java:102)
at com.retek.rpm.domain.locationmove.bo.LocationMoveRequestImpl.hasConflictErrors(LocationMoveRequestImpl.java:90)
at com.retek.rpm.app.zonestructure.service.LocationMoveRequestVoTransformer.transform(LocationMoveRequestVoTransformer.java:56)
at com.retek.rpm.app.locationmove.service.LocationMoveRequestAppServiceImpl.findLocationMoveRequests(LocationMoveRequestAppServiceImpl.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb$1.doExecute(RPMCommandExecutionServiceEjb.java:71)
... 22 more
Caused by: com.retek.platform.exception.InvalidObjectReferenceException: net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: com.retek.platform.bo.StringObjectId@1eb4567d, of class: com.retek.rpm.domain.core.bo.ItemImpl

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms