org.kuali.student.r2.common.exceptions.OperationFailedException: list size exceeds limit of 1

Kuali JIRA | Erik Rath | 3 years ago
  1. 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.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.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.kuali.student.r2.common.exceptions.OperationFailedException

      list size exceeds limit of 1

      at org.kuali.student.cm.course.service.impl.CourseInfoMaintainableImpl.updateReview()
    2. org.kuali.student
      CourseController$$FastClassByCGLIB$$ebcb3f03.invoke
      1. org.kuali.student.cm.course.service.impl.CourseInfoMaintainableImpl.updateReview(CourseInfoMaintainableImpl.java:1013)
      2. org.kuali.student.cm.course.controller.CourseController.reviewCourseProposal(CourseController.java:251)
      3. org.kuali.student.cm.course.controller.CourseController$$FastClassByCGLIB$$ebcb3f03.invoke(<generated>)
      3 frames
    3. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      1 frame