org.hibernate.exception.LockAcquisitionException: could not initialize a collection: [uk.ac.ebi.interpro.scan.model.Protein.matches#1474]

Google Groups | Unknown author | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    IPRScan 5 RC 2 - [org.hibernate.util.JDBCExceptionReporter:234] ERROR

    Google Groups | 5 years ago | Unknown author
    org.hibernate.exception.LockAcquisitionException: could not initialize a collection: [uk.ac.ebi.interpro.scan.model.Protein.matches#1474]
  2. 0

    IPRScan 5 RC2 - [org.hibernate.util.JDBCExceptionReporter:234] ERROR

    Google Groups | 5 years ago | Unknown author
    org.hibernate.exception.LockAcquisitionException: could not initialize a collection: [uk.ac.ebi.interpro.scan.model.Protein.matches#1474]
  3. 0

    Using NOLOCK to eliminate deadlocks for application which has pessimistic locking

    Stack Overflow | 3 years ago | Vineet Bhatia
    org.hibernate.exception.LockAcquisitionException: could not initialize a collection: [com.co.app.domain.Customer.customerBusElemtVals#component[custId,txnId]{txnId=11111111, CustomerId=22222222}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.exception.LockAcquisitionException

      could not initialize a collection: [uk.ac.ebi.interpro.scan.model.Protein.matches#1474]

      at org.hibernate.exception.SQLStateConverter.convert()
    2. Hibernate
      AbstractCollectionPersister.initialize
      1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:107)
      2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      3. org.hibernate.loader.Loader.loadCollection(Loader.java:2173)
      4. org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:62)
      5. org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:627)
      5 frames
    3. Hibernate
      PersistentSet.add
      1. org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
      2. org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1863)
      3. org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:369)
      4. org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
      5. org.hibernate.collection.AbstractPersistentCollection.readElementExistence(AbstractPersistentCollection.java:167)
      6. org.hibernate.collection.PersistentSet.add(PersistentSet.java:210)
      6 frames
    4. uk.ac.ebi
      FilteredMatchDAOImpl.persist
      1. uk.ac.ebi.interpro.scan.model.Protein.addMatch(Protein.java:267)
      2. uk.ac.ebi.interpro.scan.persistence.SignalPFilteredMatchDAOImpl.persist(SignalPFilteredMatchDAOImpl.java:82)
      3. uk.ac.ebi.interpro.scan.persistence.FilteredMatchDAOImpl.persist(FilteredMatchDAOImpl.java:90)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    9. Unknown
      $Proxy61.persist
      1. $Proxy61.persist(Unknown Source)
      1 frame
    10. uk.ac.ebi
      StepExecutionTransactionImpl.executeInTransaction
      1. uk.ac.ebi.interpro.scan.management.model.implementations.signalp.ParseAndPersistBinaryOutputStep.execute(ParseAndPersistBinaryOutputStep.java:91)
      2. uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:82)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    13. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    15. Unknown
      $Proxy90.executeInTransaction
      1. $Proxy90.executeInTransaction(Unknown Source)
      1 frame
    16. uk.ac.ebi
      AmqInterProScanWorker.onMessage
      1. uk.ac.ebi.interpro.scan.jms.activemq.AmqInterProScanWorker.onMessage(AmqInterProScanWorker.java:96)
      1 frame
    17. Spring Framework
      DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
      1. org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:561)
      2. org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:499)
      3. org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
      4. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
      5. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
      6. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1059)
      7. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1051)
      8. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:948)
      8 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame