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

all users roles assigned to users are deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Gazelle TM 5.3.0
    • Component/s: None
    • Labels:
      None
    • Account:
      Maintenance 2016 (MAINTENANCE2016)

      Description

      gazelle-tm.ear/gazelle-tm.war/ 09:34:32,160 WARN [ApplicationManager] Failed to update session European Connectathon 2013 - Istanbul - Results
      ******* javax.persistence.EntityNotFoundException: Unable to find net.ihe.gazelle.tm.gazelletest.model.definition.RoleInTest with id 12156
          (1) org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
          (2) at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
          (3) at net.ihe.gazelle.tm.application.action.ApplicationManager.updateConnectathonResultsList(ApplicationManager.java:365)
          (4) at net.ihe.gazelle.tm.gazelletest.bean.ConnectathonStatisticsBuilder.updateStatistics(ConnectathonStatisticsBuilder.java:50)
          (5) at net.ihe.gazelle.tm.gazelletest.bean.ConnectathonStatisticsBuilder.countTestInstances(ConnectathonStatisticsBuilder.java:197)
          (6) at net.ihe.gazelle.hql.HQLQueryBuilder.getList(HQLQueryBuilder.java:331)
          (7) at net.ihe.gazelle.hql.HQLQueryBuilder.getListClassic(HQLQueryBuilder.java:337)
          (8) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:391)
          (9) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:424)
         (10) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
         (11) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
         (12) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
         (13) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
         (14) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
         (15) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
         (16) at org.hibernate.loader.Loader.list(Loader.java:2117)
         (17) at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2157)
         (18) at org.hibernate.loader.Loader.doList(Loader.java:2228)
         (19) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
         (20) at org.hibernate.loader.Loader.doQuery(Loader.java:752)
         (21) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:877)
         (22) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139)
         (23) at org.hibernate.type.EntityType.resolve(EntityType.java:412)
         (24) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:590)
         (25) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:873)
         (26) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
         (27) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
         (28) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
         (29) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:171)
         (30) at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:113)

      gazelle-tm.ear/gazelle-tm.war/ 09:34:32,437 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@7187ff3f
      ******* org.hibernate.HibernateException: Found two representations of same collection: net.ihe.gazelle.tm.gazelletest.model.instance.TestInstance.testInstanceParticipants
          (1) org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
          (2) at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
          (3) at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
          (4) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
          (5) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
          (6) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)
          (7) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
          (8) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
          (9) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)
         (10) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
         (11) at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:504)
         (12) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
         (13) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
         (14) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
         (15) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
         (16) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
         (17) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:161)
         (18) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:78)
         (19) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:84)
         (20) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:124)
         (21) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60)
         (22) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:176)
      Caught by :
                  Same first 10 lines
         (11) org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:513)
         (12) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
      Rethrow javax.persistence.PersistenceException: org.hibernate.HibernateException: Found two representations of same collection: net.ihe.gazelle.tm.gazelletest.model.instance.TestInstance.testInstanceParticipants

      gazelle-tm.ear/gazelle-tm.war/ 09:34:32,524 WARN [LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@53da34a3<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@dc10a07>
      gazelle-tm.ear/gazelle-tm.war/ 09:34:32,525 WARN [CollectionLoadContext] On CollectionLoadContext#cleanup, localLoadingCollectionKeys contained [2841] entries
      gazelle-tm.ear/gazelle-tm.war/ 09:34:32,528 ERROR [AsynchronousExceptionHandler] Exception thrown whilst executing asynchronous call
      ******* java.lang.Throwable: setRollbackOnly called from:
          (1) org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
          (2) at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
          (3) at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
          (4) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
          (5) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
          (6) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)
          (7) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
          (8) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
          (9) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)
         (10) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
         (11) at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:513)
         (12) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
         (13) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:576)
         (14) at org.hibernate.ejb.AbstractEntityManagerImpl.markAsRollback(AbstractEntityManagerImpl.java:421)
         (15) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.setRollbackOnly(BaseTransactionManagerDelegate.java:123)
         (16) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.setRollbackOnly(BaseTransaction.java:195)
         (17) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.setRollbackOnly(TransactionImple.java:392)
      Caught by :
                  Same first 5 lines
          (6) com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1435)
      Rethrow javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Could not commit transaction.
      Caught by :
          (1) org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
          (2) at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      Rethrow java.lang.RuntimeException: exception invoking: updateConnectathonResultsList

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jlabbe Jean-François Labbé (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Potential Duplicates