org.kuali.student.r2.common.exceptions.InvalidParameterException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Notice: the CO must not have waitlist in DB (that happens for UMD-Enr). 1. Go to Manage Course Offerings. 2. Select that CO and click manage. 3. Edit any of its AO. 4. Click on update in the right bottom corner. It will result in something like "Exception trying to invoke action ROUTEfor document: 3036" on UI and org.kuali.student.r2.common.exceptions.InvalidParameterException: courseWaitListId can not be null at org.kuali.student.enrollment.class2.coursewaitlist.service.impl.CourseWaitListServiceImpl.updateCourseWaitList(CourseWaitListServiceImpl.java:93) 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:606) 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$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy286.updateCourseWaitList(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.facade.CourseOfferingServiceFacadeImpl.createColocatedWaitList(CourseOfferingServiceFacadeImpl.java:659) at org.kuali.student.enrollment.class2.courseoffering.service.impl.ActivityOfferingMaintainableImpl.saveDataObject(ActivityOfferingMaintainableImpl.java:202) on the console Gordon Spinks suspected that in /ks-enroll-impl/src/main/java/org/kuali/student/enrollment/class2/courseoffering/service/facade/CourseOfferingServiceFacadeImpl.java line 659 courseWaitListInfo = getCourseWaitListService().updateCourseWaitList(courseWaitListInfo.getId(), courseWaitListInfo, context); was misplaced and put outside of the if above, causing it to update waitlist every time, even when it does not exist. So the attempt was made to put it inside if, see the patch. This problem is related to UMD-Enr https://issues.umd.edu/browse/UMDENR-557
    via by Daniil Yakimovich,
  • Notice: the CO must not have waitlist in DB (that happens for UMD-Enr). 1. Go to Manage Course Offerings. 2. Select that CO and click manage. 3. Edit any of its AO. 4. Click on update in the right bottom corner. It will result in something like "Exception trying to invoke action ROUTEfor document: 3036" on UI and org.kuali.student.r2.common.exceptions.InvalidParameterException: courseWaitListId can not be null at org.kuali.student.enrollment.class2.coursewaitlist.service.impl.CourseWaitListServiceImpl.updateCourseWaitList(CourseWaitListServiceImpl.java:93) 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:606) 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$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy286.updateCourseWaitList(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.facade.CourseOfferingServiceFacadeImpl.createColocatedWaitList(CourseOfferingServiceFacadeImpl.java:659) at org.kuali.student.enrollment.class2.courseoffering.service.impl.ActivityOfferingMaintainableImpl.saveDataObject(ActivityOfferingMaintainableImpl.java:202) on the console Gordon Spinks suspected that in /ks-enroll-impl/src/main/java/org/kuali/student/enrollment/class2/courseoffering/service/facade/CourseOfferingServiceFacadeImpl.java line 659 courseWaitListInfo = getCourseWaitListService().updateCourseWaitList(courseWaitListInfo.getId(), courseWaitListInfo, context); was misplaced and put outside of the if above, causing it to update waitlist every time, even when it does not exist. So the attempt was made to put it inside if, see the patch. This problem is related to UMD-Enr https://issues.umd.edu/browse/UMDENR-557
    via by Daniil Yakimovich,
    • org.kuali.student.r2.common.exceptions.InvalidParameterException: courseWaitListId can not be null at org.kuali.student.enrollment.class2.coursewaitlist.service.impl.CourseWaitListServiceImpl.updateCourseWaitList(CourseWaitListServiceImpl.java:93) 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:606) 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$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy286.updateCourseWaitList(Unknown Source) at org.kuali.student.enrollment.class2.courseoffering.service.facade.CourseOfferingServiceFacadeImpl.createColocatedWaitList(CourseOfferingServiceFacadeImpl.java:659) at org.kuali.student.enrollment.class2.courseoffering.service.impl.ActivityOfferingMaintainableImpl.saveDataObject(ActivityOfferingMaintainableImpl.java:202)
    No Bugmate found.