You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected exception with the NotInstantiatedList using in the Jmix entities.
Steps To Reproduce
It is hard to reproduce the problem in a test project. The entities has inheritance, has uuid attribute that is not primary key, they countains MappedSuperClasses.
Current Behavior
The error is occured (only the platform specific frames are showed, the project specific frames are not showed).
Caused by: java.lang.ClassCastException: class org.eclipse.persistence.indirection.ValueHolder cannot be cast to class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder (org.eclipse.persistence.indirection.ValueHolder and org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder are in unnamed module of loader 'app')
at io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder.(AbstractValueHolder.java:56)
at io.jmix.eclipselink.impl.lazyloading.CollectionValuePropertyHolder.(CollectionValuePropertyHolder.java:44)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.processCollectionValueHolder(JpaLazyLoadingListener.java:121)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.processValueHolders(JpaLazyLoadingListener.java:106)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.afterEntityLoad(JpaLazyLoadingListener.java:72)
at io.jmix.core.datastore.DataStoreAfterEntityLoadEvent.sendTo(DataStoreAfterEntityLoadEvent.java:78)
at io.jmix.core.datastore.AbstractDataStore.fireEvent(AbstractDataStore.java:343)
at io.jmix.core.datastore.AbstractDataStore.loadList(AbstractDataStore.java:156)
at io.jmix.core.impl.UnconstrainedDataManagerImpl.loadList(UnconstrainedDataManagerImpl.java:112)
at io.jmix.core.FluentLoader$ByCondition.list(FluentLoader.java:819)
at r.t.l.m.r.j.BaseDocumentRepository.findAllActualByDocVersionUidsIn(BaseDocumentRepository.java:318)
Expected Behavior
There are no any exceptions
The text was updated successfully, but these errors were encountered:
Environment
Jmix version: 1.5.0
Bug Description
Unexpected exception with the NotInstantiatedList using in the Jmix entities.
Steps To Reproduce
It is hard to reproduce the problem in a test project. The entities has inheritance, has uuid attribute that is not primary key, they countains MappedSuperClasses.
Current Behavior
The error is occured (only the platform specific frames are showed, the project specific frames are not showed).
Caused by: java.lang.ClassCastException: class org.eclipse.persistence.indirection.ValueHolder cannot be cast to class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder (org.eclipse.persistence.indirection.ValueHolder and org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder are in unnamed module of loader 'app')
at io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder.(AbstractValueHolder.java:56)
at io.jmix.eclipselink.impl.lazyloading.CollectionValuePropertyHolder.(CollectionValuePropertyHolder.java:44)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.processCollectionValueHolder(JpaLazyLoadingListener.java:121)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.processValueHolders(JpaLazyLoadingListener.java:106)
at io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener.afterEntityLoad(JpaLazyLoadingListener.java:72)
at io.jmix.core.datastore.DataStoreAfterEntityLoadEvent.sendTo(DataStoreAfterEntityLoadEvent.java:78)
at io.jmix.core.datastore.AbstractDataStore.fireEvent(AbstractDataStore.java:343)
at io.jmix.core.datastore.AbstractDataStore.loadList(AbstractDataStore.java:156)
at io.jmix.core.impl.UnconstrainedDataManagerImpl.loadList(UnconstrainedDataManagerImpl.java:112)
at io.jmix.core.FluentLoader$ByCondition.list(FluentLoader.java:819)
at r.t.l.m.r.j.BaseDocumentRepository.findAllActualByDocVersionUidsIn(BaseDocumentRepository.java:318)
Expected Behavior
There are no any exceptions
The text was updated successfully, but these errors were encountered: