Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR - AbstractAddressHierarchyTask.run(39) |2015-12-23 13:55:57,425| An error occurred while running scheduled address hierarchy task
- org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.openmrs.module.addresshierarchy.AddressHierarchyLevel#7]
- at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435)
- at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233)
- at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
- at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
- at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
- at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1038)
- at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:630)
- at org.hibernate.type.EntityType.resolve(EntityType.java:438)
- at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139)
- at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:982)
- at org.hibernate.loader.Loader.doQuery(Loader.java:857)
- at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
- at org.hibernate.loader.Loader.doList(Loader.java:2533)
- at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
- at org.hibernate.loader.Loader.list(Loader.java:2271)
- at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
- at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
- at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
- at org.hibernate.impl.CriteriaImpl$Subcriteria.list(CriteriaImpl.java:559)
- at org.openmrs.module.addresshierarchy.db.hibernate.HibernateAddressHierarchyDAO.getChildAddressHierarchyEntries(HibernateAddressHierarchyDAO.java:119)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.getChildAddressHierarchyEntries(AddressHierarchyServiceImpl.java:457)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:667)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:701)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:701)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:701)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:701)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCacheHelper(AddressHierarchyServiceImpl.java:701)
- at org.openmrs.module.addresshierarchy.service.AddressHierarchyServiceImpl.initializeFullAddressCache(AddressHierarchyServiceImpl.java:658)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
- at com.sun.proxy.$Proxy475.initializeFullAddressCache(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
- at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
- at com.sun.proxy.$Proxy476.initializeFullAddressCache(Unknown Source)
- at org.openmrs.module.addresshierarchy.scheduler.InitializeFullAddressCacheTask.execute(InitializeFullAddressCacheTask.java:14)
- at org.openmrs.module.addresshierarchy.scheduler.AbstractAddressHierarchyTask.run(AbstractAddressHierarchyTask.java:36)
- at java.util.TimerThread.mainLoop(Timer.java:555)
- at java.util.TimerThread.run(Timer.java:505)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement