org.kuali.student.r2.common.exceptions.OperationFailedException: Wrong initial MilestoneInfo state Key!

Kuali JIRA | Taryn Pedigo | 4 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 | 3 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

  3. 0

    Open Manage Course Offering and search for 201201 ENGL101. Click Edit on the first CO. Change any field (I use Honors Flag check box). Hit submit and you'll get a back end stack track. The application thinks it's working: Note: I updated the the error message to be more verbose in: LrcServiceBusinessLogicImpl::getCreateFixedCreditResultValuesGroup() {code} 2013-02-06 12:58:42,792 [ks/KSB-pool-1-thread-1] u:/d:3016 FATAL org.kuali.rice.core.framework.persistence.jta.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.r2.common.exceptions.OperationFailedException: Calculated key[kuali.creditType.credit.degree.3.0] does not point to an RVG with the expected value key : Expected[138436e5-970f-4601-9aac-39b8455157fe]:Actual[kuali.result.value.credit.degree.3.0] at org.kuali.student.r2.lum.lrc.service.impl.LrcServiceBusinessLogicImpl.getCreateFixedCreditResultValuesGroup(LrcServiceBusinessLogicImpl.java:127) at org.kuali.student.r2.lum.lrc.service.impl.LRCServiceImpl.getCreateFixedCreditResultValuesGroup(LRCServiceImpl.java:269) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) 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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy285.getCreateFixedCreditResultValuesGroup(Unknown Source) at org.kuali.student.r2.lum.lrc.service.impl.LRCServiceCacheDecorator.getCreateFixedCreditResultValuesGroup(LRCServiceCacheDecorator.java:63) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingEditMaintainableImpl.updateCourseOffering(CourseOfferingEditMaintainableImpl.java:114) at org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingEditMaintainableImpl.saveDataObject(CourseOfferingEditMaintainableImpl.java:87) {code}

    Kuali JIRA | 4 years ago | Garey Taylor
    org.kuali.student.r2.common.exceptions.OperationFailedException: Calculated key[kuali.creditType.credit.degree.3.0] does not point to an RVG with the expected value key : Expected[138436e5-970f-4601-9aac-39b8455157fe]:Actual[kuali.result.value.credit.degree.3.0]
  4. 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 | 3 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.

    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

      Wrong initial MilestoneInfo state Key!

      at org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.createHoliday()
    2. org.kuali.student
      AcademicCalendarServiceImpl.createHoliday
      1. org.kuali.student.r2.core.acal.service.impl.AcademicCalendarServiceImpl.createHoliday(AcademicCalendarServiceImpl.java:2098)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3409.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. 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