javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749

Apereo Issues | Eric Dalquist | 4 years ago
  1. 0

    IEventAggregationManagementDao.setQuarterDetails needlessly deletes and re-persists QuarterDetails every time it is called. The method should only update the DB if the QuarterDetails objects have actually changed. This change can cause the aggregator running on another machine to fail with the following error: {noformat} ERROR [uP-TaskExec-451-aggregateRawEvents] o.j.p.e.a.PortalEventProcessingManagerImpl 2013-05-23 12:00:43,393 - aggregateRawEvents failed javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749 at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:155) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:210) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:260) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:148) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1078) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1005) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:651) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:266) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:160) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2443) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2351) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.list(Loader.java:2324) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:490) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1247) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:254) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.jasig.portal.events.aggr.dao.jpa.JpaEventAggregationManagementDao.getQuartersDetails(JpaEventAggregationManagementDao.java:303) ~[JpaEventAggregationManagementDao.class:na] at sun.reflect.GeneratedMethodAccessor1099.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy280.getQuartersDetails(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.AggregationIntervalHelperImpl.getIntervalInfo(AggregationIntervalHelperImpl.java:197) ~[AggregationIntervalHelperImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.initializeIntervalInfo(PortalRawEventsAggregatorImpl.java:626) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:575) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:538) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.handlers.db.JpaPortalEventStore.aggregatePortalEvents(JpaPortalEventStore.java:207) ~[JpaPortalEventStore.class:na] at sun.reflect.GeneratedMethodAccessor1843.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy322.aggregatePortalEvents(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEventsInternal(PortalRawEventsAggregatorImpl.java:463) ~[PortalRawEventsAggregatorImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.access$000(PortalRawEventsAggregatorImpl.java:77) ~[PortalRawEventsAggregatorImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:205) ~[PortalRawEventsAggregatorImpl$1.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:202) ~[PortalRawEventsAggregatorImpl$1.class:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEvents(PortalRawEventsAggregatorImpl.java:202) ~[PortalRawEventsAggregatorImpl.class:na] at sun.reflect.GeneratedMethodAccessor1839.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy336.doAggregateRawEvents(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:205) ~[PortalEventProcessingManagerImpl$3.class:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:202) ~[PortalEventProcessingManagerImpl$3.class:na] at org.jasig.portal.concurrency.locking.ClusterLockServiceImpl.doInTryLock(ClusterLockServiceImpl.java:201) ~[ClusterLockServiceImpl.class:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl.aggregateRawEvents(PortalEventProcessingManagerImpl.java:200) ~[PortalEventProcessingManagerImpl.class:na] at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.jasig.portal.utils.threading.ThreadNamingRunnable.run(ThreadNamingRunnable.java:41) [ThreadNamingRunnable.class:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_30] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_30] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30] {noformat}

    Apereo Issues | 4 years ago | Eric Dalquist
    javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749
  2. 0

    IEventAggregationManagementDao.setQuarterDetails needlessly deletes and re-persists QuarterDetails every time it is called. The method should only update the DB if the QuarterDetails objects have actually changed. This change can cause the aggregator running on another machine to fail with the following error: {noformat} ERROR [uP-TaskExec-451-aggregateRawEvents] o.j.p.e.a.PortalEventProcessingManagerImpl 2013-05-23 12:00:43,393 - aggregateRawEvents failed javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749 at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:155) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:210) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:260) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:148) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1078) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1005) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:651) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:266) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:160) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2443) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2351) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.Loader.list(Loader.java:2324) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:490) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1247) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:254) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final] at org.jasig.portal.events.aggr.dao.jpa.JpaEventAggregationManagementDao.getQuartersDetails(JpaEventAggregationManagementDao.java:303) ~[JpaEventAggregationManagementDao.class:na] at sun.reflect.GeneratedMethodAccessor1099.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy280.getQuartersDetails(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.AggregationIntervalHelperImpl.getIntervalInfo(AggregationIntervalHelperImpl.java:197) ~[AggregationIntervalHelperImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.initializeIntervalInfo(PortalRawEventsAggregatorImpl.java:626) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:575) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:538) ~[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na] at org.jasig.portal.events.handlers.db.JpaPortalEventStore.aggregatePortalEvents(JpaPortalEventStore.java:207) ~[JpaPortalEventStore.class:na] at sun.reflect.GeneratedMethodAccessor1843.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy322.aggregatePortalEvents(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEventsInternal(PortalRawEventsAggregatorImpl.java:463) ~[PortalRawEventsAggregatorImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.access$000(PortalRawEventsAggregatorImpl.java:77) ~[PortalRawEventsAggregatorImpl.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:205) ~[PortalRawEventsAggregatorImpl$1.class:na] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:202) ~[PortalRawEventsAggregatorImpl$1.class:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEvents(PortalRawEventsAggregatorImpl.java:202) ~[PortalRawEventsAggregatorImpl.class:na] at sun.reflect.GeneratedMethodAccessor1839.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] at $Proxy336.doAggregateRawEvents(Unknown Source) ~[na:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:205) ~[PortalEventProcessingManagerImpl$3.class:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:202) ~[PortalEventProcessingManagerImpl$3.class:na] at org.jasig.portal.concurrency.locking.ClusterLockServiceImpl.doInTryLock(ClusterLockServiceImpl.java:201) ~[ClusterLockServiceImpl.class:na] at org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl.aggregateRawEvents(PortalEventProcessingManagerImpl.java:200) ~[PortalEventProcessingManagerImpl.class:na] at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.jasig.portal.utils.threading.ThreadNamingRunnable.run(ThreadNamingRunnable.java:41) [ThreadNamingRunnable.class:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_30] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_30] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30] {noformat}

    Apereo Issues | 4 years ago | Eric Dalquist
    javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749
  3. 0

    Background: used ant data-delete to delete some portlets. Afterwards the following features of the system did not work: * search (because of auto-suggest) * Customize drop-down * manage portlet The problem is due to uPortal still having a deleted portlet in some cache and the REST API generates: * Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48' for URL=/uPortal/api/portletList Two things: 1. Whichever cache it is, it should be cleared when the ant command deletes the portlet 2. The REST API should be more fault tolerant and simply log a warning message but otherwise ignore the missing item. Stacktrace: ERROR [http-bio-9081-exec-2] o.j.p.web.ExceptionLoggingFilter 2015-12-09 13:57:31,603 - uPortal: unhandled exception 'Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48' for URL=/uPortal/api/portletList, user=null , from IP=128.194.8.98 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) ~[servlet-api.jar:na] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) ~[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat7-websocket.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:75) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:94) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.jasig.portal.spring.security.preauth.PortalPreAuthenticatedProcessingFilter.doFilter(PortalPreAuthenticatedProcessingFilter.java:192) ~[classes/:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.jasig.portal.security.ThreadNamingRequestFilter.doFilterInternal(ThreadNamingRequestFilter.java:76) ~[classes/:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180) ~[spring-orm-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.jasig.portal.web.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:56) ~[classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [catalina.jar:7.0.65] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.65] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.65] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) [catalina.jar:7.0.65] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) [tomcat-coyote.jar:7.0.65] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.65] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51] Caused by: javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48 at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:158) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:214) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:264) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1053) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:980) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:714) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:282) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:170) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2477) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2385) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.list(Loader.java:2358) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:254) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.jasig.portal.portlet.dao.jpa.JpaPortletDefinitionDao.getPortletDefinitions(JpaPortletDefinitionDao.java:240) ~[classes/:na] at sun.reflect.GeneratedMethodAccessor591.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51] at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] ... 77 common frames omitted

    Apereo Issues | 12 months ago | Prashanti
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Background: used ant data-delete to delete some portlets. Afterwards the following features of the system did not work: * search (because of auto-suggest) * Customize drop-down * manage portlet The problem is due to uPortal still having a deleted portlet in some cache and the REST API generates: * Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48' for URL=/uPortal/api/portletList Two things: 1. Whichever cache it is, it should be cleared when the ant command deletes the portlet 2. The REST API should be more fault tolerant and simply log a warning message but otherwise ignore the missing item. Stacktrace: ERROR [http-bio-9081-exec-2] o.j.p.web.ExceptionLoggingFilter 2015-12-09 13:57:31,603 - uPortal: unhandled exception 'Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48' for URL=/uPortal/api/portletList, user=null , from IP=128.194.8.98 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) ~[servlet-api.jar:na] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) ~[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat7-websocket.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:75) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:94) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.jasig.portal.spring.security.preauth.PortalPreAuthenticatedProcessingFilter.doFilter(PortalPreAuthenticatedProcessingFilter.java:192) ~[classes/:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[spring-security-web-3.1.3.RELEASE.jar:3.1.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.jasig.portal.security.ThreadNamingRequestFilter.doFilterInternal(ThreadNamingRequestFilter.java:76) ~[classes/:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180) ~[spring-orm-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.jasig.portal.web.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:56) ~[classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.65] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [catalina.jar:7.0.65] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.65] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.65] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.65] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) [catalina.jar:7.0.65] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) [tomcat-coyote.jar:7.0.65] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.65] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51] Caused by: javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48 at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:158) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:214) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:264) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1053) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:980) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:714) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:282) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:170) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2477) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2385) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.Loader.list(Loader.java:2358) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:254) ~[hibernate-entitymanager-4.2.19.Final.jar:4.2.19.Final] at org.jasig.portal.portlet.dao.jpa.JpaPortletDefinitionDao.getPortletDefinitions(JpaPortletDefinitionDao.java:240) ~[classes/:na] at sun.reflect.GeneratedMethodAccessor591.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51] at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) ~[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) ~[spring-webmvc-3.2.9.RELEASE.jar:3.2.9.RELEASE] ... 77 common frames omitted

    Apereo Issues | 12 months ago | Prashanti
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.jasig.portal.portlet.dao.jpa.PortletDefinitionImpl with id 48
  6. 0

    problem after upgrade to 2.10

    GitHub | 2 years ago | alucionet
    javax.persistence.EntityNotFoundException: Unable to find org.traccar.web.shared.model.Position with id -1

    2 unregistered visitors
    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. javax.persistence.EntityNotFoundException

      Unable to find org.jasig.portal.events.aggr.dao.jpa.QuarterDetailImpl with id 749

      at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound()
    2. Hibernate EJB
      Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound
      1. org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:155)[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
      1 frame
    3. Hibernate
      QueryImpl.list
      1. org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:210)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      2. org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:260)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      3. org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:148)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      4. org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1078)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      5. org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1005)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      6. org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:651)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      7. org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:266)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      8. org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:160)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      9. org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2443)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      10. org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2351)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      11. org.hibernate.loader.Loader.list(Loader.java:2324)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      12. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:490)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      13. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      14. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      15. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1247)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      16. org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
      16 frames
    4. Hibernate EJB
      CriteriaQueryCompiler$3.getResultList
      1. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264)[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
      2. org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:254)[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
      2 frames
    5. org.jasig.portal
      JpaEventAggregationManagementDao.getQuartersDetails
      1. org.jasig.portal.events.aggr.dao.jpa.JpaEventAggregationManagementDao.getQuartersDetails(JpaEventAggregationManagementDao.java:303)[JpaEventAggregationManagementDao.class:na]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1099.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_30]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_30]
      3 frames
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      4. org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      6. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      7. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      8. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      8 frames
    8. Unknown
      $Proxy280.getQuartersDetails
      1. $Proxy280.getQuartersDetails(Unknown Source)[na:na]
      1 frame
    9. org.jasig.portal
      JpaPortalEventStore.aggregatePortalEvents
      1. org.jasig.portal.events.aggr.AggregationIntervalHelperImpl.getIntervalInfo(AggregationIntervalHelperImpl.java:197)[AggregationIntervalHelperImpl.class:na]
      2. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.initializeIntervalInfo(PortalRawEventsAggregatorImpl.java:626)[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na]
      3. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:575)[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na]
      4. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$AggregateEventsHandler.apply(PortalRawEventsAggregatorImpl.java:538)[PortalRawEventsAggregatorImpl$AggregateEventsHandler.class:na]
      5. org.jasig.portal.events.handlers.db.JpaPortalEventStore.aggregatePortalEvents(JpaPortalEventStore.java:207)[JpaPortalEventStore.class:na]
      5 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1843.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_30]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_30]
      3 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3 frames
    12. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2. org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      4. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      6 frames
    14. Unknown
      $Proxy322.aggregatePortalEvents
      1. $Proxy322.aggregatePortalEvents(Unknown Source)[na:na]
      1 frame
    15. org.jasig.portal
      PortalRawEventsAggregatorImpl$1.doInTransaction
      1. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEventsInternal(PortalRawEventsAggregatorImpl.java:463)[PortalRawEventsAggregatorImpl.class:na]
      2. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.access$000(PortalRawEventsAggregatorImpl.java:77)[PortalRawEventsAggregatorImpl.class:na]
      3. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:205)[PortalRawEventsAggregatorImpl$1.class:na]
      4. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl$1.doInTransaction(PortalRawEventsAggregatorImpl.java:202)[PortalRawEventsAggregatorImpl$1.class:na]
      4 frames
    16. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      1 frame
    17. org.jasig.portal
      PortalRawEventsAggregatorImpl.doAggregateRawEvents
      1. org.jasig.portal.events.aggr.PortalRawEventsAggregatorImpl.doAggregateRawEvents(PortalRawEventsAggregatorImpl.java:202)[PortalRawEventsAggregatorImpl.class:na]
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1839.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_30]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_30]
      3 frames
    19. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      3 frames
    20. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      1 frame
    21. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      2 frames
    22. Unknown
      $Proxy336.doAggregateRawEvents
      1. $Proxy336.doAggregateRawEvents(Unknown Source)[na:na]
      1 frame
    23. org.jasig.portal
      PortalEventProcessingManagerImpl.aggregateRawEvents
      1. org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:205)[PortalEventProcessingManagerImpl$3.class:na]
      2. org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl$3.apply(PortalEventProcessingManagerImpl.java:202)[PortalEventProcessingManagerImpl$3.class:na]
      3. org.jasig.portal.concurrency.locking.ClusterLockServiceImpl.doInTryLock(ClusterLockServiceImpl.java:201)[ClusterLockServiceImpl.class:na]
      4. org.jasig.portal.events.aggr.PortalEventProcessingManagerImpl.aggregateRawEvents(PortalEventProcessingManagerImpl.java:200)[PortalEventProcessingManagerImpl.class:na]
      4 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_30]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_30]
      3 frames
    25. Spring Context
      ScheduledMethodRunnable.run
      1. org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)[spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      1 frame
    26. org.jasig.portal
      ThreadNamingRunnable.run
      1. org.jasig.portal.utils.threading.ThreadNamingRunnable.run(ThreadNamingRunnable.java:41)[ThreadNamingRunnable.class:na]
      1 frame
    27. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[na:1.6.0_30]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_30]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_30]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_30]
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_30]
      6. java.lang.Thread.run(Thread.java:662)[na:1.6.0_30]
      6 frames