javax.persistence.PersistenceException: error during managed flush

jboss.org | 7 months 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

    could not get a field value by reflection getter of Topic.id

    Stack Overflow | 2 years ago
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: could not get a field value by reflection getter of Topic.id
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      error during managed flush

      at org.hibernate.jpa.spi.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure()
    2. org.hibernate.jpa
      AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure
      1. org.hibernate.jpa.spi.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1887)[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]
      1 frame
    3. Hibernate
      RegisteredSynchronization.beforeCompletion
      1. org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:119)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
      2. org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:50)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
      2 frames
    4. JBossTS jbossjta
      BaseTransaction.commit
      1. com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      2. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:358)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      3. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      4. com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      5. com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1166)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      6. com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      6 frames
    5. Narayana: ArjunaJTS integration
      BaseTransactionManagerDelegate.commit
      1. com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
      1 frame
    6. Narayana: ArjuntaJTS narayana-jts-jacorb
      TransactionalInterceptorRequired.intercept
      1. com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase.endTransaction(TransactionalInterceptorBase.java:147)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      2. com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:93)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      3. com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:52)[narayana-jts-jacorb-5.0.0.Final.jar:5.0.0.Final (revision: 9aa71)]
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.8.0_20]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[rt.jar:1.8.0_20]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_20]
      4. java.lang.reflect.Method.invoke(Method.java:483)[rt.jar:1.8.0_20]
      4 frames
    8. Weld Implementation
      SimpleInterceptorInvocation$SimpleMethodInvocation.invoke
      1. org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      1 frame
    9. org.jboss.weld
      AbstractInterceptionChain.invokeNextInterceptor
      1. org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNext(AbstractInterceptionChain.java:124)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      2. org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNextInterceptor(AbstractInterceptionChain.java:102)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      2 frames
    10. Weld Implementation
      CombinedInterceptorAndDecoratorStackMethodHandler.invoke
      1. org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:43)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      2. org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:36)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      3. org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:51)[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
      3 frames
    11. frol.txobserver
      FooService$Proxy$_$$_WeldSubclass.managedFlush
      1. frol.txobserver.FooService$Proxy$_$$_WeldSubclass.managedFlush(Unknown Source)[f4da9dfa-ba67-446a-abe8-e5172fa8d5f3.jar:]
      1 frame