org.kuali.rice.core.api.exception.RiceRuntimeException

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.

  • During testing of Optional(other) fields I was encountering stacktraces but trying to isolate the fields and the repro steps causing the error has been tricky. This issue is for the bugginess/stacktraces I encountered while testing edits to Instructor data. # Create Course as Fred # Fill out Proposal and Course Title # Add one Instructor and Save. # Go to Review Proposal page, select edit Course Info section. # Add another Instructor and Save. RESULT: Get below stacktrace. _If you don't get stacktrace here, repeat steps 4 and 5. If you still don't get a stacktrace, add duplicate instructor for step 5 and save. If you still don't get a stacktrace, try invoking the validation error by adding a character to one of the instructor names and then correcting your mistake and then add a new instructor before saving for step 5._ Stacktrace: org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action SAVEfor document: 3091 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:449) at org.kuali.student.cm.course.controller.CourseController.performWorkflowActionSuper(CourseController.java:535) at org.kuali.student.cm.course.controller.CourseControllerTransactionHelperImpl.performWorkflowActionSuper(CourseControllerTransactionHelperImpl.java:45) at sun.reflect.GeneratedMethodAccessor1509.invoke(Unknown Source) 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:317) 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)
    via by Jodi McKeeman,
  • During testing of Optional(other) fields I was encountering stacktraces but trying to isolate the fields and the repro steps causing the error has been tricky. This issue is for the bugginess/stacktraces I encountered while testing edits to Instructor data. # Create Course as Fred # Fill out Proposal and Course Title # Add one Instructor and Save. # Go to Review Proposal page, select edit Course Info section. # Add another Instructor and Save. RESULT: Get below stacktrace. _If you don't get stacktrace here, repeat steps 4 and 5. If you still don't get a stacktrace, add duplicate instructor for step 5 and save. If you still don't get a stacktrace, try invoking the validation error by adding a character to one of the instructor names and then correcting your mistake and then add a new instructor before saving for step 5._ Stacktrace: org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action SAVEfor document: 3091 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:449) at org.kuali.student.cm.course.controller.CourseController.performWorkflowActionSuper(CourseController.java:535) at org.kuali.student.cm.course.controller.CourseControllerTransactionHelperImpl.performWorkflowActionSuper(CourseControllerTransactionHelperImpl.java:45) at sun.reflect.GeneratedMethodAccessor1509.invoke(Unknown Source) 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:317) 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)
    via by Jodi McKeeman,
  • Not able to reproduce exactly every time so may need to do variations of these steps to reproduce issue but definitely getting a stacktrace regularly - Seeing it mostly with Admin Org, Instructor and Pilot/End Date. Didn't test with Curric oversight because it's still a little buggy today still. Not clear. Repro steps: # Create Course as fred (chrome incognito or ff private) # Fill out all fields on course info, add only single instructor, save and continue. _Sometimes I get a stacktrace right at this point, sometimes I don't_ # On governance section, just add one admin org, save # Go back to course info, add another instructor, delete one previously entered RESULT: This is where I have been getting the stacktrace (See Stacktrace: http://www.screencast.com/t/7aLWvfkl) most often although have successfully saved in some cases too. # If cannot reproduce yet, try to do similar to Admin org (add one, delete two, etc), save progress. # If still unable to reproduce, try doing variation/similar edit again to Instructor. Alternate steps to isolate Active Date-->Pilot/end date issue: # Create course as fred, fill out two req'd for save fields, save # proceed to active dates, select start date, tick pilot course and select end date (or don't select end date) # Save # Get stacktrace: org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action SAVEfor document: 4253 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:449) at org.kuali.student.cm.course.controller.CourseController.performWorkflowActionSuper(CourseController.java:414) at org.kuali.student.cm.course.controller.CourseControllerTransactionHelperImpl.performWorkflowActionSuper(CourseControllerTransactionHelperImpl.java:45) at sun.reflect.GeneratedMethodAccessor3413.invoke(Unknown Source) 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:317)
    via by Jodi McKeeman,
  • When the context name is changed during an edit the following stack trace is thrown on save/submit: {code} org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action SAVEfor document: 3026 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:430) at org.kuali.rice.krad.web.controller.DocumentControllerBase.save(DocumentControllerBase.java:245) at org.kuali.rice.krad.web.controller.DocumentControllerBase$$FastClassByCGLIB$$dd55d8ad.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 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.rice.krad.web.controller.MaintenanceDocumentController$$EnhancerByCGLIB$$1268e467.save(<generated>) 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.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.kuali.rice.krms.impl.rule.ContextBusRule.validateNameNamespace(ContextBusRule.java:72) at org.kuali.rice.krms.impl.rule.ContextBusRule.processCustomSaveDocumentBusinessRules(ContextBusRule.java:38) at org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase.processSaveDocument(MaintenanceDocumentRuleBase.java:135) at org.kuali.rice.krad.rules.rule.event.SaveDocumentEvent.invokeRuleMethod(SaveDocumentEvent.java:71) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:83) at org.kuali.rice.krad.maintenance.MaintenanceDocumentBase.validateBusinessRules(MaintenanceDocumentBase.java:825) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:851) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:469) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:128) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:109) at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:375) ... 62 more {code} In ContextBusRule.validatenameNamespace the contextInDatabase will be null if the new context name doesn't already exist. However no null check is done to handle this case when checking for duplicateNameNamespace.
    via by Claus Niesen,
  • STR: Log in as admin Create CO Term 201505, ENGL206 From catalog Click Continue Add multiple formats: Format Lec/Experiential, Lec, Lec Click create Get following stack trace: org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action ROUTEfor document: 3327 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:431) at org.kuali.rice.krad.web.controller.DocumentControllerBase.route(DocumentControllerBase.java:274) at org.kuali.rice.krad.web.controller.MaintenanceDocumentController.route(MaintenanceDocumentController.java:249) at org.kuali.student.enrollment.class2.courseoffering.controller.CourseOfferingBaseController.route(CourseOfferingBaseController.java:139) at org.kuali.student.enrollment.class2.courseoffering.controller.CourseOfferingBaseController$$FastClassByCGLIB$$3baf4af4.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.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) Note: It also happened when I tried to add just one format, so it doesn't look to be tied to multiple formats. I didn't get a stack trace however when I tried to create this course from catalog for a different term (201500)
    via by Maribeth Kibbey,
    • org.kuali.rice.core.api.exception.RiceRuntimeException: Exception trying to invoke action ROUTEfor document: 3026 at org.kuali.rice.krad.web.controller.DocumentControllerBase.performWorkflowAction(DocumentControllerBase.java:449)
    No Bugmate found.