hmsiccbl / screensaver1

Screensaver Version 1 - End of life on December 1, 2018
GNU General Public License v2.0
3 stars 3 forks source link

User viewer LazyInitializationException when viewing selected users #191

Closed seanderickson closed 6 years ago

seanderickson commented 6 years ago

This error occurs when viewing the following users:

ID: 7 - Junying Yuan and also when viewing the screen: Facility ID: 1144 It seems to be related to the user: ID: 3929 - Helen Norberg (Lead Screener/ PI)

The hibernate system is failing to load user # 3929 as the Lead Screener in certain contexts.

@JAS60

ERROR org.hibernate.LazyInitializationException:42 - could not initialize proxy - the owning Session was closed org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:170) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at edu.harvard.med.screensaver.model.users.ScreeningRoomUser_$$_javassist32.getFullNameLastFirst(ScreeningRoomUser$$_javassist_32.java) at edu.harvard.med.screensaver.ui.arch.datatable.column.entity.UserNameColumn.getCellValue(UserNameColumn.java:61) at edu.harvard.med.screensaver.ui.arch.datatable.column.entity.UserNameColumn.getCellValue(UserNameColumn.java:25) at edu.harvard.med.screensaver.ui.arch.datatable.DataTable.getCellValue(DataTable.java:204) at edu.harvard.med.screensaver.ui.arch.datatable.DataTable$$FastClassByCGLIB$$2b6cdec5.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621) at edu.harvard.med.screensaver.ui.screens.ScreenSearchResults$$EnhancerByCGLIB$$9c2e81d8.getCellValue()