Uploaded image for project: 'Gazelle Test Management'
  1. Gazelle Test Management
  2. GZL-4800

Handle exception caused by a missing AIPO

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: Gazelle TM 5.9.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      gazelle.ihe.net/EU-CAT
    • Account:
      Maintenance 2018 (MAINTENANCE2018)

      Description

      In EU-CAT, an AIPO does not exist anymore but is referenced by a system registered for the CAT in Rennes.

      It causes two issues:
      When computing the results for the session

      2019-01-17 12:33:24,088 WARN () [net.ihe.gazelle.tm.application.action.ApplicationManager] (DefaultQuartzScheduler_Worker-3 ) Failed to update session European Connectathon 2019 - Rennes: javax.persistence.EntityNotFoundException: Unable to find net.ihe.gazelle.tf.model.ActorIntegrationProfileOption with id 2988
      at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:158) [hibernate-entitymanager-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:214) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:264) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1053) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:980) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:714) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.type.EntityType.resolve(EntityType.java:502) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:168) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:137) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1112) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.processResultSet(Loader.java:969) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doQuery(Loader.java:917) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:318) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.loadEntity(Loader.java:2145) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:82) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:72) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3939) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:462) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:431) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:208) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:264) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1053) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:980) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:714) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.type.EntityType.resolve(EntityType.java:502) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:168) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:137) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1112) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.processResultSet(Loader.java:969) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doQuery(Loader.java:917) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.doList(Loader.java:2550) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2395) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.Loader.list(Loader.java:2358) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) [hibernate-core-4.2.20.Final.jar:4.2.20.Final]
      at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268) [hibernate-entitymanager-4.2.20.Final.jar:4.2.20.Final]
      at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:443) [gazelle-hql-2.1.1.jar:]
      at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:410) [gazelle-hql-2.1.1.jar:]
      at net.ihe.gazelle.hql.HQLQueryBuilder.getListClassic(HQLQueryBuilder.java:347) [gazelle-hql-2.1.1.jar:]
      at net.ihe.gazelle.hql.HQLQueryBuilder.getList(HQLQueryBuilder.java:335) [gazelle-hql-2.1.1.jar:]
      at net.ihe.gazelle.tm.gazelletest.model.instance.SystemAIPOResultForATestingSessionQuery.getList(SystemAIPOResultForATestingSessionQuery.java:42) [gazelle-model-tm.jar:4.0.40]
      at net.ihe.gazelle.tm.gazelletest.bean.ConnectathonStatisticsBuilder.createResults(ConnectathonStatisticsBuilder.java:116) [gazelle-tm-ejb.jar:5.9.5]
      at net.ihe.gazelle.tm.gazelletest.bean.ConnectathonStatisticsBuilder.updateStatistics(ConnectathonStatisticsBuilder.java:44) [gazelle-tm-ejb.jar:5.9.5]
      at net.ihe.gazelle.tm.application.action.ApplicationManager.updateConnectathonResultsList(ApplicationManager.java:401) [gazelle-tm-ejb.jar:5.9.5]
      at sun.reflect.GeneratedMethodAccessor17302.invoke(Unknown Source) [:1.7.0_141]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_141]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_141]
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.util.Work.workInTransaction(Work.java:61) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.tm.application.action.ApplicationManager_$$_javassist_seam_3.updateConnectathonResultsList(ApplicationManager_$$_javassist_seam_3.java) [gazelle-tm-ejb.jar:5.9.5]
      at sun.reflect.GeneratedMethodAccessor17301.invoke(Unknown Source) [:1.7.0_141]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_141]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_141]
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.callComponentMethod(Component.java:2317) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.core.Events.raiseEvent(Events.java:85) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.async.AsynchronousEvent$1.process(AsynchronousEvent.java:33) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run(Asynchronous.java:80) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.async.AsynchronousEvent.execute(AsynchronousEvent.java:27) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.async.QuartzDispatcher$QuartzJob.execute(QuartzDispatcher.java:243) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:203) [quartz-1.5.2.jar:1.5.2]
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) [quartz-1.5.2.jar:1.5.2]


      When accessing the pre-connectathon test for x-tension's system at : https://gazelle.ihe.net/EU-CAT/testing/test/mesa/listAllSystemsForMesaTesting.seam

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aberge Anne-Gaelle Berge
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Potential Duplicates