org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException

Kuali JIRA | Jodi McKeeman | 3 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    In env2 - created a new calendar with terms by copying. (2014-15 CE calendar) saved it (did not attach a holiday calendar). made the academic year calendar official - fine. Clicked Make official on the CE term 1 on the Academic Calendar tab and got a stacktrace..... org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1013) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactio...blah blah and an error message that says " Intended message with key: error.enroll.acal.term.official.failed - Error updating Holiday state - Multiple Type Type relations exists for kuali.atp.milestone.AdvancedRegistrationPeriod, which is causing issue with state propagation. not found." Need to have a CE calendar to roll CE data into..... Exception From Server Logs: {code} org.kuali.student.r2.common.exceptions.OperationFailedException: Error updating Holiday state - Multiple Type Type relations exists for kuali.atp.milestone.AdvancedRegistrationPeriod, which is causing issue with state propagation. at org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.processAtpStateChange(AcademicCalendarServiceImpl.java:1250) at org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.changeTermState(AcademicCalendarServiceImpl.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy297.changeTermState(Unknown Source) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController.makeTermOfficial(AcademicCalendarController.java:905) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController.makeTermOfficial(AcademicCalendarController.java:485) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController$$FastClassByCGLIB$$ed610153.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController$$EnhancerByCGLIB$$872b08b6.makeTermOfficial(<generated>) {code}

    Kuali JIRA | 4 years ago | Rachel Hendrickson
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException
  3. 0

    In env2 - created a new calendar with terms by copying. (2014-15 CE calendar) saved it (did not attach a holiday calendar). made the academic year calendar official - fine. Clicked Make official on the CE term 1 on the Academic Calendar tab and got a stacktrace..... org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1013) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactio...blah blah and an error message that says " Intended message with key: error.enroll.acal.term.official.failed - Error updating Holiday state - Multiple Type Type relations exists for kuali.atp.milestone.AdvancedRegistrationPeriod, which is causing issue with state propagation. not found." Need to have a CE calendar to roll CE data into..... Exception From Server Logs: {code} org.kuali.student.r2.common.exceptions.OperationFailedException: Error updating Holiday state - Multiple Type Type relations exists for kuali.atp.milestone.AdvancedRegistrationPeriod, which is causing issue with state propagation. at org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.processAtpStateChange(AcademicCalendarServiceImpl.java:1250) at org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.changeTermState(AcademicCalendarServiceImpl.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy297.changeTermState(Unknown Source) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.r2.core.acal.service.decorators.AcademicCalendarServiceDecorator.changeTermState(AcademicCalendarServiceDecorator.java:352) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController.makeTermOfficial(AcademicCalendarController.java:905) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController.makeTermOfficial(AcademicCalendarController.java:485) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController$$FastClassByCGLIB$$ed610153.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at org.kuali.student.enrollment.class2.acal.controller.AcademicCalendarController$$EnhancerByCGLIB$$872b08b6.makeTermOfficial(<generated>) {code}

    Kuali JIRA | 4 years ago | Rachel Hendrickson
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.transaction.UnexpectedRollbackException

      JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException

      at org.springframework.transaction.jta.JtaTransactionManager.doCommit()
    2. Spring Tx
      JtaTransactionManager.doCommit
      1. org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014)
      1 frame