org.kuali.student.r2.common.assembler.AssemblyException: Error getting start term Atp.

Kuali JIRA | Leo Przybylski | 3 years ago
  1. 0

    Go through each section and fill out required information. When you reach the Course Logistics page (that's right Course Logistics), do not select a term because it is not required. This actually causes an exception in the Learning Objectives page because the save and continue action uses the Course Assembler to disassemble the CourseInfo DTO into its Course object. The ATP Service will not be able to find the term during disassembly because we did not select one. Here is the exception: 2013-08-17 09:27:42,824 [http-bio-8081-exec-9] u:admin/d: ERROR org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl - Error disassembling course org.kuali.student.r2.common.assembler.AssemblyException: Error getting start term Atp. at org.kuali.student.r2.lum.course.service.assembler.CourseAssembler.disassemble(CourseAssembler.java:414) at org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.processCourseInfo_KRAD(CourseServiceImpl.java:587) at org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.updateCourse_KRAD(CourseServiceImpl.java:610) 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.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy316.updateCourse_KRAD(Unknown Source) at org.kuali.student.cm.course.controller.CourseController.saveAndContinue(CourseController.java:177) at org.kuali.student.cm.course.controller.CourseController$$FastClassByCGLIB$$ebcb3f03.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) We need to find a way around this (probably by defaulting the term to Any if one is not selected)

    Kuali JIRA | 3 years ago | Leo Przybylski
    org.kuali.student.r2.common.assembler.AssemblyException: Error getting start term Atp.
  2. 0

    Go through each section and fill out required information. When you reach the Course Logistics page (that's right Course Logistics), do not select a term because it is not required. This actually causes an exception in the Learning Objectives page because the save and continue action uses the Course Assembler to disassemble the CourseInfo DTO into its Course object. The ATP Service will not be able to find the term during disassembly because we did not select one. Here is the exception: 2013-08-17 09:27:42,824 [http-bio-8081-exec-9] u:admin/d: ERROR org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl - Error disassembling course org.kuali.student.r2.common.assembler.AssemblyException: Error getting start term Atp. at org.kuali.student.r2.lum.course.service.assembler.CourseAssembler.disassemble(CourseAssembler.java:414) at org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.processCourseInfo_KRAD(CourseServiceImpl.java:587) at org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.updateCourse_KRAD(CourseServiceImpl.java:610) 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.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy316.updateCourse_KRAD(Unknown Source) at org.kuali.student.cm.course.controller.CourseController.saveAndContinue(CourseController.java:177) at org.kuali.student.cm.course.controller.CourseController$$FastClassByCGLIB$$ebcb3f03.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) We need to find a way around this (probably by defaulting the term to Any if one is not selected)

    Kuali JIRA | 3 years ago | Leo Przybylski
    org.kuali.student.r2.common.assembler.AssemblyException: Error getting start term Atp.

    Root Cause Analysis

    1. org.kuali.student.r2.common.assembler.AssemblyException

      Error getting start term Atp.

      at org.kuali.student.r2.lum.course.service.assembler.CourseAssembler.disassemble()
    2. org.kuali.student
      CourseServiceImpl.updateCourse_KRAD
      1. org.kuali.student.r2.lum.course.service.assembler.CourseAssembler.disassemble(CourseAssembler.java:414)
      2. org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.processCourseInfo_KRAD(CourseServiceImpl.java:587)
      3. org.kuali.student.r2.lum.course.service.impl.CourseServiceImpl.updateCourse_KRAD(CourseServiceImpl.java:610)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 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
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    7. com.sun.proxy
      $Proxy316.updateCourse_KRAD
      1. com.sun.proxy.$Proxy316.updateCourse_KRAD(Unknown Source)
      1 frame
    8. org.kuali.student
      CourseController$$FastClassByCGLIB$$ebcb3f03.invoke
      1. org.kuali.student.cm.course.controller.CourseController.saveAndContinue(CourseController.java:177)
      2. org.kuali.student.cm.course.controller.CourseController$$FastClassByCGLIB$$ebcb3f03.invoke(<generated>)
      2 frames
    9. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      2 frames
    11. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame