java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm

Kuali JIRA | Maribeth Kibbey | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    Kuali JIRA | 4 years ago | Maribeth Kibbey
    java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm
  2. 0

    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)

    Kuali JIRA | 4 years ago | Maribeth Kibbey
    java.lang.ClassCastException: org.kuali.rice.krad.web.form.InquiryForm cannot be cast to org.kuali.rice.krad.web.form.MaintenanceDocumentForm

    Root Cause Analysis

    1. 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()
    2. org.kuali.student
      ActivityOfferingSubtermKeyValues.getKeyValues
      1. org.kuali.student.enrollment.class2.courseoffering.keyvalue.ActivityOfferingSubtermKeyValues.getKeyValues(ActivityOfferingSubtermKeyValues.java:64)
      1 frame
    3. org.kuali.rice
      UifControllerHandlerInterceptor.postHandle
      1. org.kuali.rice.krad.uif.field.InputField.performApplyModel(InputField.java:204)
      2. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:764)
      3. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776)
      4. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776)
      5. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776)
      6. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:776)
      7. org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performApplyModel(ViewHelperServiceImpl.java:617)
      8. org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.performViewLifecycle(ViewServiceImpl.java:182)
      9. org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.buildView(ViewServiceImpl.java:134)
      10. org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:218)
      11. org.kuali.rice.krad.web.controller.UifControllerHelper.postControllerHandle(UifControllerHelper.java:136)
      12. org.kuali.rice.krad.web.controller.UifControllerHandlerInterceptor.postHandle(UifControllerHandlerInterceptor.java:85)
      12 frames
    4. Spring MVC
      FrameworkServlet.processRequest
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:911)
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      3 frames