The following exception is thrown when locking/unlocking a lesson in the Teacher Tools
2026-09-11T16:01:08.737-07:00 ERROR 28822 --- [nboundChannel-2] .WebSocketAnnotationMethodMessageHandler : Unhandled exception from message handler method
org.springframework.orm.hibernate5.HibernateSystemException: Could not obtain transaction-synchronized Session for current thread
at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:260) ~[spring-orm-6.1.21.jar:6.1.21]
at org.springframework.orm.hibernate5.HibernateExceptionTranslator.convertHibernateAccessException(HibernateExceptionTranslator.java:100) ~[spring-orm-6.1.21.jar:6.1.21]
at org.springframework.orm.hibernate5.HibernateExceptionTranslator.translateExceptionIfPossible(HibernateExceptionTranslator.java:72) ~[spring-orm-6.1.21.jar:6.1.21]
at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) ~[spring-tx-6.1.21.jar:6.1.21]
at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:335) ~[spring-tx-6.1.21.jar:6.1.21]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:160) ~[spring-tx-6.1.21.jar:6.1.21]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.21.jar:6.1.21]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:769) ~[spring-aop-6.1.21.jar:6.1.21]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:721) ~[spring-aop-6.1.21.jar:6.1.21]
at org.wise.portal.dao.run.impl.HibernateRunDao$$SpringCGLIB$$0.getById(<generated>) ~[classes/:5.21.0]
at org.wise.portal.service.run.impl.RunServiceImpl.retrieveById(RunServiceImpl.java:530) ~[classes/:5.21.0]
at jdk.internal.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) ~[?:?]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:355) ~[spring-aop-6.1.21.jar:6.1.21]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717) ~[spring-aop-6.1.21.jar:6.1.21]
at org.wise.portal.service.run.impl.RunServiceImpl$$SpringCGLIB$$0.retrieveById(<generated>) ~[classes/:5.21.0]
at org.wise.portal.presentation.web.controllers.teacher.run.SendNodeToPeriodController.sendNodeToPeriod(SendNodeToPeriodController.java:31) ~[classes/:5.21.0]
... 43 more
The following exception is thrown when locking/unlocking a lesson in the Teacher Tools