org.hibernate.LazyInitializationException: could not initialize proxy - no Session

Apereo Issues | Dan McCallum | 3 years ago
  1. 0

    Observed in the field on a 2.3 instance yesterday and was finally able to reproduce this morning. Doesn't seem to happen every time, but in some cases when the background coach sync adds a new {{person}} record you'll get an error like the following: {noformat} 10:05:57.787 [sspScheduler-6] INFO o.j.s.s.i.ScheduledTaskWrapperServiceImpl - Scheduled coach sync starting. 10:05:58.229 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read 50 coaches from PersonAttributesService in 441 ms 10:05:58.272 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jandersonadv19t in 42 ms 10:05:58.272 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jandersonadv19t completed in 43 ms 10:05:58.314 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username randersonadv20t in 42 ms 10:05:58.314 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username randersonadv20t completed in 42 ms 10:05:58.329 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach advisor0 not found 10:05:58.329 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username advisor0 in 14 ms 10:05:58.332 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach advisor0 not found in external data 10:05:58.332 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username advisor0 completed in 18 ms 10:05:58.374 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username bbrownadv9t in 42 ms 10:05:58.374 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username bbrownadv9t completed in 42 ms 10:05:58.416 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jbrownadv13t in 40 ms 10:05:58.416 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jbrownadv13t completed in 41 ms 10:05:58.462 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jbrownadv34t in 46 ms 10:05:58.462 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jbrownadv34t completed in 46 ms 10:05:58.514 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username cdavisadv7t in 51 ms 10:05:58.515 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username cdavisadv7t completed in 53 ms 10:05:58.567 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jdavisadv15t in 52 ms 10:05:58.567 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jdavisadv15t completed in 52 ms 10:05:58.596 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username tdavisadv4 in 28 ms 10:05:58.597 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username tdavisadv4 completed in 30 ms 10:05:58.640 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username foo1 in 43 ms 10:05:58.641 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username foo1 completed in 44 ms 10:05:58.656 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach foo2 not found 10:05:58.656 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username foo2 in 15 ms 10:05:58.658 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read external coach by username foo2 in 2 ms 10:05:58.699 [sspScheduler-6] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task): 1 10:05:58.699 [sspScheduler-6] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task-cleanup): 0 10:05:58.703 [sspScheduler-6] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task. org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:142) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:94) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:72) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:294) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.spi.CascadingAction$5.cascade(CascadingAction.java:258) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:380) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:208) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:165) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:437) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:266) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:604) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.jasig.ssp.dao.AbstractAuditableCrudDao.save(AbstractAuditableCrudDao.java:92) ~[AbstractAuditableCrudDao.class:na] at org.jasig.ssp.service.impl.PersonServiceImpl.save(PersonServiceImpl.java:455) ~[PersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy261.save(Unknown Source) ~[na:na] at org.jasig.ssp.service.external.impl.ExternalPersonServiceImpl.updatePersonFromExternalPerson(ExternalPersonServiceImpl.java:393) ~[ExternalPersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy266.updatePersonFromExternalPerson(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.PersonServiceImpl$5.call(PersonServiceImpl.java:704) ~[PersonServiceImpl$5.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:61) ~[WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:66) ~[WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.withNewTransactionAndUncheckedExceptions(WithTransactionImpl.java:39) ~[WithTransactionImpl.class:na] at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy267.withNewTransactionAndUncheckedExceptions(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.PersonServiceImpl.withCoachSyncTransaction(PersonServiceImpl.java:764) ~[PersonServiceImpl.class:na] at org.jasig.ssp.service.impl.PersonServiceImpl.syncCoaches(PersonServiceImpl.java:669) ~[PersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy261.syncCoaches(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$8.run(ScheduledTaskWrapperServiceImpl.java:626) ~[ScheduledTaskWrapperServiceImpl$8.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$5.run(ScheduledTaskWrapperServiceImpl.java:548) ~[ScheduledTaskWrapperServiceImpl$5.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$4.run(ScheduledTaskWrapperServiceImpl.java:467) ~[ScheduledTaskWrapperServiceImpl$4.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$6.run(ScheduledTaskWrapperServiceImpl.java:568) ~[ScheduledTaskWrapperServiceImpl$6.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.execWithTaskContext(ScheduledTaskWrapperServiceImpl.java:599) ~[ScheduledTaskWrapperServiceImpl.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.syncCoaches(ScheduledTaskWrapperServiceImpl.java:618) ~[ScheduledTaskWrapperServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_37] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_37] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37] at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] 10:07:37.370 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (pre-task): 0 10:07:37.371 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - Insufficient Authentication in SecurityContext. Executing task via sudo. 10:07:37.372 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - BEGIN : sendQueuedMessages() 10:07:37.372 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Before message queue processing transaction at start row 0 10:07:37.373 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Looking for queued message batch at start row 0, batch size 25 10:07:37.395 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Start processing 0 queued messages in batchstart row 0, max batch size 25 10:07:37.396 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Stop message queue processing. Transaction at start row 0 processed fewer messages (0) than allowed batch size 25. 10:07:37.396 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - END : sendQueuedMessages() 10:07:37.396 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task): 1 10:07:37.396 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task-cleanup): 0 {noformat} Possibly a regression caused by SSP-2241 since we weren't seeing this until that patch was deployed.

    Apereo Issues | 3 years ago | Dan McCallum
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    Observed in the field on a 2.3 instance yesterday and was finally able to reproduce this morning. Doesn't seem to happen every time, but in some cases when the background coach sync adds a new {{person}} record you'll get an error like the following: {noformat} 10:05:57.787 [sspScheduler-6] INFO o.j.s.s.i.ScheduledTaskWrapperServiceImpl - Scheduled coach sync starting. 10:05:58.229 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read 50 coaches from PersonAttributesService in 441 ms 10:05:58.272 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jandersonadv19t in 42 ms 10:05:58.272 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jandersonadv19t completed in 43 ms 10:05:58.314 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username randersonadv20t in 42 ms 10:05:58.314 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username randersonadv20t completed in 42 ms 10:05:58.329 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach advisor0 not found 10:05:58.329 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username advisor0 in 14 ms 10:05:58.332 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach advisor0 not found in external data 10:05:58.332 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username advisor0 completed in 18 ms 10:05:58.374 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username bbrownadv9t in 42 ms 10:05:58.374 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username bbrownadv9t completed in 42 ms 10:05:58.416 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jbrownadv13t in 40 ms 10:05:58.416 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jbrownadv13t completed in 41 ms 10:05:58.462 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jbrownadv34t in 46 ms 10:05:58.462 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jbrownadv34t completed in 46 ms 10:05:58.514 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username cdavisadv7t in 51 ms 10:05:58.515 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username cdavisadv7t completed in 53 ms 10:05:58.567 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username jdavisadv15t in 52 ms 10:05:58.567 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username jdavisadv15t completed in 52 ms 10:05:58.596 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username tdavisadv4 in 28 ms 10:05:58.597 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username tdavisadv4 completed in 30 ms 10:05:58.640 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username foo1 in 43 ms 10:05:58.641 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - SSP coach merge for username foo1 completed in 44 ms 10:05:58.656 [sspScheduler-6] DEBUG o.j.s.service.impl.PersonServiceImpl - Coach foo2 not found 10:05:58.656 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read local coach by username foo2 in 15 ms 10:05:58.658 [sspScheduler-6] INFO t.o.j.s.s.impl.PersonServiceImpl - Read external coach by username foo2 in 2 ms 10:05:58.699 [sspScheduler-6] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task): 1 10:05:58.699 [sspScheduler-6] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task-cleanup): 0 10:05:58.703 [sspScheduler-6] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task. org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:142) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:94) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:72) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:294) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.spi.CascadingAction$5.cascade(CascadingAction.java:258) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:380) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:208) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:165) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:437) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:266) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:604) ~[hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.jasig.ssp.dao.AbstractAuditableCrudDao.save(AbstractAuditableCrudDao.java:92) ~[AbstractAuditableCrudDao.class:na] at org.jasig.ssp.service.impl.PersonServiceImpl.save(PersonServiceImpl.java:455) ~[PersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy261.save(Unknown Source) ~[na:na] at org.jasig.ssp.service.external.impl.ExternalPersonServiceImpl.updatePersonFromExternalPerson(ExternalPersonServiceImpl.java:393) ~[ExternalPersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy266.updatePersonFromExternalPerson(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.PersonServiceImpl$5.call(PersonServiceImpl.java:704) ~[PersonServiceImpl$5.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:61) ~[WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:66) ~[WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.withNewTransactionAndUncheckedExceptions(WithTransactionImpl.java:39) ~[WithTransactionImpl.class:na] at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy267.withNewTransactionAndUncheckedExceptions(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.PersonServiceImpl.withCoachSyncTransaction(PersonServiceImpl.java:764) ~[PersonServiceImpl.class:na] at org.jasig.ssp.service.impl.PersonServiceImpl.syncCoaches(PersonServiceImpl.java:669) ~[PersonServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy261.syncCoaches(Unknown Source) ~[na:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$8.run(ScheduledTaskWrapperServiceImpl.java:626) ~[ScheduledTaskWrapperServiceImpl$8.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$5.run(ScheduledTaskWrapperServiceImpl.java:548) ~[ScheduledTaskWrapperServiceImpl$5.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$4.run(ScheduledTaskWrapperServiceImpl.java:467) ~[ScheduledTaskWrapperServiceImpl$4.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$6.run(ScheduledTaskWrapperServiceImpl.java:568) ~[ScheduledTaskWrapperServiceImpl$6.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.execWithTaskContext(ScheduledTaskWrapperServiceImpl.java:599) ~[ScheduledTaskWrapperServiceImpl.class:na] at org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.syncCoaches(ScheduledTaskWrapperServiceImpl.java:618) ~[ScheduledTaskWrapperServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_37] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_37] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_37] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37] at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] 10:07:37.370 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (pre-task): 0 10:07:37.371 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - Insufficient Authentication in SecurityContext. Executing task via sudo. 10:07:37.372 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - BEGIN : sendQueuedMessages() 10:07:37.372 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Before message queue processing transaction at start row 0 10:07:37.373 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Looking for queued message batch at start row 0, batch size 25 10:07:37.395 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Start processing 0 queued messages in batchstart row 0, max batch size 25 10:07:37.396 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - Stop message queue processing. Transaction at start row 0 processed fewer messages (0) than allowed batch size 25. 10:07:37.396 [sspScheduler-1] INFO o.j.s.s.impl.MessageServiceImpl - END : sendQueuedMessages() 10:07:37.396 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task): 1 10:07:37.396 [sspScheduler-1] DEBUG o.j.s.s.i.ScheduledTaskWrapperServiceImpl - SspUser cleanup queue size (post-task-cleanup): 0 {noformat} Possibly a regression caused by SSP-2241 since we weren't seeing this until that patch was deployed.

    Apereo Issues | 3 years ago | Dan McCallum
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  3. 0

    We used to run JBoss 4.0.4.GA and we included Hibernate 3.2.0CR2 ourselves. Now we migrated to JBoss 4.2.2.GA and in that one Hibernate 3.2.4.sp1 is included by default. Unfortunately, we're getting LazyInitializationException when the object graph is more than 2 levels deep. E.g. RtTask --[OK]--> Priority --[FAIL]--> DictionaryEntry We haven't changed anything to our beans or configuration files. I did find out that v.3.2.4 is the first version that throws the exception. Example stack trace: 2008-02-18 13:52:35,425 ERROR [org.hibernate.LazyInitializationException] could not initialize proxy - no Session org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:166) at com.fpc.nokeos.core.common.beans.persistent.Priority_$$_javassist_13.getEntryName(Priority_$$_javassist_13.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.fpc.nokeos.core.server.dictionary.DictionaryContext.getField(DictionaryContext.java:319) at com.fpc.nokeos.core.server.dictionary.DictionaryContext.preparePojoAfterGetting(DictionaryContext.java:276) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.cleanRtTask(ControlPanelPluginTaskHelper.java:184) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.executeQueryToGetCPItem(ControlPanelPluginTaskHelper.java:575) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.getControlPanelItemsByFilter(ControlPanelPluginTaskHelper.java:525) at com.fpc.nokeos.component.controlpanel.task.server.ejb.ControlPanelPluginTaskBean.getControlPanelItemsByFilter(ControlPanelPluginTaskBean.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166) at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) 2008-02-18 13:52:35,534 ERROR [com.fpc.nokeos.core.server.dictionary.DictionaryContext] Could not get field 'NAME'. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.fpc.nokeos.core.server.dictionary.DictionaryContext.getField(DictionaryContext.java:319) at com.fpc.nokeos.core.server.dictionary.DictionaryContext.preparePojoAfterGetting(DictionaryContext.java:276) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.cleanRtTask(ControlPanelPluginTaskHelper.java:184) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.executeQueryToGetCPItem(ControlPanelPluginTaskHelper.java:575) at com.fpc.nokeos.component.controlpanel.task.server.business.ControlPanelPluginTaskHelper.getControlPanelItemsByFilter(ControlPanelPluginTaskHelper.java:525) at com.fpc.nokeos.component.controlpanel.task.server.ejb.ControlPanelPluginTaskBean.getControlPanelItemsByFilter(ControlPanelPluginTaskBean.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166) at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:166) at com.fpc.nokeos.core.common.beans.persistent.Priority_$$_javassist_13.getEntryName(Priority_$$_javassist_13.java) ... 46 more

    Hibernate JIRA | 9 years ago | Nick de Graeve
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dealing with org.hibernate.LazyInitializationException: could not initialize proxy - no Session in Hibernate Java

    blogspot.com | 2 months ago
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  6. 0

    解决org.hibernate.LazyInitializationException: could not initialize proxy,couldnotopenkey_WEB编程教程 | 帮客之家

    bkjia.com | 2 months ago
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.LazyInitializationException

      could not initialize proxy - no Session

      at org.hibernate.proxy.AbstractLazyInitializer.initialize()
    2. Hibernate
      SessionImpl.saveOrUpdate
      1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:149)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:195)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      3. org.hibernate.engine.internal.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:142)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      4. org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:94)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      5. org.hibernate.engine.internal.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:72)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      6. org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:294)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      7. org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      8. org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      9. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      10. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      11. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      12. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      13. org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      14. org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      15. org.hibernate.engine.spi.CascadingAction$5.cascade(CascadingAction.java:258)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      16. org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:380)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      17. org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      18. org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:208)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      19. org.hibernate.engine.internal.Cascade.cascade(Cascade.java:165)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      20. org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:437)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      21. org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:266)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      22. org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      23. org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      24. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      25. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      26. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      27. org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      28. org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:615)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      29. org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:608)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      30. org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:604)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
      30 frames
    3. org.jasig.ssp
      PersonServiceImpl.save
      1. org.jasig.ssp.dao.AbstractAuditableCrudDao.save(AbstractAuditableCrudDao.java:92)[AbstractAuditableCrudDao.class:na]
      2. org.jasig.ssp.service.impl.PersonServiceImpl.save(PersonServiceImpl.java:455)[PersonServiceImpl.class:na]
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
      3 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    8. Unknown
      $Proxy261.save
      1. $Proxy261.save(Unknown Source)[na:na]
      1 frame
    9. org.jasig.ssp
      ExternalPersonServiceImpl.updatePersonFromExternalPerson
      1. org.jasig.ssp.service.external.impl.ExternalPersonServiceImpl.updatePersonFromExternalPerson(ExternalPersonServiceImpl.java:393)[ExternalPersonServiceImpl.class:na]
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
      3 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    12. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    14. Unknown
      $Proxy266.updatePersonFromExternalPerson
      1. $Proxy266.updatePersonFromExternalPerson(Unknown Source)[na:na]
      1 frame
    15. org.jasig.ssp
      WithTransactionImpl.withNewTransactionAndUncheckedExceptions
      1. org.jasig.ssp.service.impl.PersonServiceImpl$5.call(PersonServiceImpl.java:704)[PersonServiceImpl$5.class:na]
      2. org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:61)[WithTransactionImpl.class:na]
      3. org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:66)[WithTransactionImpl.class:na]
      4. org.jasig.ssp.util.transaction.WithTransactionImpl.withNewTransactionAndUncheckedExceptions(WithTransactionImpl.java:39)[WithTransactionImpl.class:na]
      4 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
      3 frames
    17. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    18. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    19. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    20. Unknown
      $Proxy267.withNewTransactionAndUncheckedExceptions
      1. $Proxy267.withNewTransactionAndUncheckedExceptions(Unknown Source)[na:na]
      1 frame
    21. org.jasig.ssp
      PersonServiceImpl.syncCoaches
      1. org.jasig.ssp.service.impl.PersonServiceImpl.withCoachSyncTransaction(PersonServiceImpl.java:764)[PersonServiceImpl.class:na]
      2. org.jasig.ssp.service.impl.PersonServiceImpl.syncCoaches(PersonServiceImpl.java:669)[PersonServiceImpl.class:na]
      2 frames
    22. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
      3 frames
    23. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    24. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    25. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    26. Unknown
      $Proxy261.syncCoaches
      1. $Proxy261.syncCoaches(Unknown Source)[na:na]
      1 frame
    27. org.jasig.ssp
      ScheduledTaskWrapperServiceImpl.syncCoaches
      1. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$8.run(ScheduledTaskWrapperServiceImpl.java:626)[ScheduledTaskWrapperServiceImpl$8.class:na]
      2. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$5.run(ScheduledTaskWrapperServiceImpl.java:548)[ScheduledTaskWrapperServiceImpl$5.class:na]
      3. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$4.run(ScheduledTaskWrapperServiceImpl.java:467)[ScheduledTaskWrapperServiceImpl$4.class:na]
      4. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl$6.run(ScheduledTaskWrapperServiceImpl.java:568)[ScheduledTaskWrapperServiceImpl$6.class:na]
      5. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.execWithTaskContext(ScheduledTaskWrapperServiceImpl.java:599)[ScheduledTaskWrapperServiceImpl.class:na]
      6. org.jasig.ssp.service.impl.ScheduledTaskWrapperServiceImpl.syncCoaches(ScheduledTaskWrapperServiceImpl.java:618)[ScheduledTaskWrapperServiceImpl.class:na]
      6 frames
    28. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_37]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_37]
      3 frames
    29. Spring Context
      DelegatingErrorHandlingRunnable.run
      1. org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    30. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[na:1.6.0_37]
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[na:1.6.0_37]
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[na:1.6.0_37]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[na:1.6.0_37]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[na:1.6.0_37]
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[na:1.6.0_37]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_37]
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_37]
      9. java.lang.Thread.run(Thread.java:680)[na:1.6.0_37]
      9 frames