org.springframework.orm.hibernate4.HibernateSystemException: Error while indexing in Hibernate Search (before transaction completion); nested exception is org.hibernate.HibernateException: Error while indexing in Hibernate Search (before transaction completion)

Stack Overflow | Marc | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    EntityIndexingInterceptor fails processing Hibernate proxy

    Stack Overflow | 7 months ago | Marc
    org.springframework.orm.hibernate4.HibernateSystemException: Error while indexing in Hibernate Search (before transaction completion); nested exception is org.hibernate.HibernateException: Error while indexing in Hibernate Search (before transaction completion)
  2. 0

    GitHub comment 117#170189406

    GitHub | 1 year ago | lizhi2013
    org.springframework.orm.hibernate4.HibernateSystemException: Found shared references to a collection: com.mossle.form.persistence.domain.FormTemplate.formSchemas; nested exception is org.hibernate.HibernateException: Found shared references to a collection: com.mossle.form.persistence.domain.FormTemplate.formSchemas

    Root Cause Analysis

    1. org.springframework.orm.hibernate4.HibernateSystemException

      Error while indexing in Hibernate Search (before transaction completion); nested exception is org.hibernate.HibernateException: Error while indexing in Hibernate Search (before transaction completion)

      at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException()
    2. Spring ORM
      HibernateTransactionManager.doCommit
      1. org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:218)[spring-orm-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      2. org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:730)[spring-orm-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      3. org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:592)[spring-orm-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      3 frames
    3. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)[spring-tx-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)[spring-tx-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:521)[spring-tx-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      4. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)[spring-tx-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      5. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      5 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      4 frames
    5. com.sun.proxy
      $Proxy231.saveGroup
      1. com.sun.proxy.$Proxy231.saveGroup(Unknown Source)[?:?]
      1 frame