java.lang.ClassCastException

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.

  • When clicking on the view inquiry for an AO, getting following stacktrace: java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm at org.kuali.student.enrollment.class2.courseoffering.keyvalue.ActivityOfferingSubtermKeyValues.getKeyValues(ActivityOfferingSubtermKeyValues.java:64) at org.kuali.rice.krad.uif.field.InputField.performApplyModel(InputField.java:204) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:764) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performApplyModel(ViewHelperServiceImpl.java:617) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.performViewLifecycle(ViewServiceImpl.java:182) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.buildView(ViewServiceImpl.java:134) at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:218) at org.kuali.rice.krad.web.controller.UifControllerHelper.postControllerHandle(UifControllerHelper.java:136) at org.kuali.rice.krad.web.controller.UifControllerHandlerInterceptor.postHandle(UifControllerHandlerInterceptor.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:911) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    via by Maribeth Kibbey,
  • When clicking on the view inquiry for an AO, getting following stacktrace: java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm at org.kuali.student.enrollment.class2.courseoffering.keyvalue.ActivityOfferingSubtermKeyValues.getKeyValues(ActivityOfferingSubtermKeyValues.java:64) at org.kuali.rice.krad.uif.field.InputField.performApplyModel(InputField.java:204) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:764) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performApplyModel(ViewHelperServiceImpl.java:617) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.performViewLifecycle(ViewServiceImpl.java:182) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.buildView(ViewServiceImpl.java:134) at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:218) at org.kuali.rice.krad.web.controller.UifControllerHelper.postControllerHandle(UifControllerHelper.java:136) at org.kuali.rice.krad.web.controller.UifControllerHandlerInterceptor.postHandle(UifControllerHandlerInterceptor.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:911) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    via by Maribeth Kibbey,
    • java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm at org.kuali.student.enrollment.class2.courseoffering.keyvalue.ActivityOfferingSubtermKeyValues.getKeyValues(ActivityOfferingSubtermKeyValues.java:64) at org.kuali.rice.krad.uif.field.InputField.performApplyModel(InputField.java:204) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:764) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performApplyModel(ViewHelperServiceImpl.java:617) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.performViewLifecycle(ViewServiceImpl.java:182) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.buildView(ViewServiceImpl.java:134) at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:218) at org.kuali.rice.krad.web.controller.UifControllerHelper.postControllerHandle(UifControllerHelper.java:136) at org.kuali.rice.krad.web.controller.UifControllerHandlerInterceptor.postHandle(UifControllerHandlerInterceptor.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:911) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    No Bugmate found.