Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12404

Responsibility Inquiry throwing error from Responsibility lookup.

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-2406create Responsibility Lookup & Inquiry
      KULRICE-9136Convert Role/Group/Permission/Responsibility Type to KRAD
      KULRICE-5923Rice Dev: Responsibility Lookup Broken
      KULRICE-5458Rice Dev: Role/Group/Permission/Responsibility Type throws HTTP500 Error
      KULRICE-6826Role Lookup throws SQLException when using non-role (Permission, Group, Permission Template, Responsibility, Responsibility Template) criteria
      KULRICE-5687Rice Dev: Direct Inquiry throwing Invalid path from all lookups
      KULRICE-8416On the permission and responsibility lookups would be nice to search by number.
      KULRICE-5927Rice Dev: Role Create Document Permissions and Responsibilities lookups not working an
      KULRICE-3426in Responsibility lookup, none of the field direct inquiry image links work
      KULRICE-8520KRMS Agenda Inquiry throws Errors
    • Rice Module:
      KIM
    • Sprint:
      2.4.0-rc1 Sprint 7
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      To view error -

      • Hit Search
      • Select the "Review Travel Authorization Document" link Responsibility name link

      Error :

      ******************Stack Trace-Only shown when not in production*****************
      java.lang.ClassCastException: org.kuali.rice.kim.impl.responsibility.ResponsibilityAttributeBo cannot be cast to org.kuali.rice.krad.bo.BusinessObject
      	at org.kuali.rice.kns.web.ui.SectionBridge.getContainerRows(SectionBridge.java:373)
      	at org.kuali.rice.kns.web.ui.SectionBridge.getContainerRows(SectionBridge.java:282)
      	at org.kuali.rice.kns.web.ui.SectionBridge.toSection(SectionBridge.java:114)
      	at org.kuali.rice.kns.inquiry.KualiInquirableImpl.getSections(KualiInquirableImpl.java:170)
      	at org.kuali.rice.kns.web.struts.action.KualiInquiryAction.populateSections(KualiInquiryAction.java:417)
      	at org.kuali.rice.kns.web.struts.action.KualiInquiryAction.continueWithInquiry(KualiInquiryAction.java:259)
      	at org.kuali.rice.kns.web.struts.action.KualiInquiryAction.start(KualiInquiryAction.java:140)
      	at sun.reflect.GeneratedMethodAccessor2297.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
      	at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:173)
      	at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:131)
      	at org.kuali.rice.kns.web.struts.action.KualiInquiryAction.execute(KualiInquiryAction.java:117)
      	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:506)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
      	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:502)
      	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:231)
      	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:218)
      	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:97)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      	at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:202)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	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.krad.web.filter.CharsetFilter.doFilter(CharsetFilter.java:58)
      	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.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.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89)
      	at org.kuali.rice.krad.web.filter.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.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327)
      	at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:82)
      	at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:62)
      	at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320)
      	at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199)
      	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:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      	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:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	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:307)
      	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)
      

        Issue Links

          Activity

          Hide
          Shannon Hess added a comment -

          I believe this is due to KimAttributeDataBo no longer extending PersistableBusinessObjectBase. See KULRICE-12372 for more info.

          Show
          Shannon Hess added a comment - I believe this is due to KimAttributeDataBo no longer extending PersistableBusinessObjectBase. See KULRICE-12372 for more info.
          Hide
          Shannon Hess added a comment -

          I ended up having to change ResponsibilityAttributeBo.java so that it was similar to PermissionAttributeBo.java. (Permission inquiry is very similar except UberPermissionBo and PermissionAttributeBo are used instead of UberResponsibilityBo and ResponsibilityAttributeBo)

          I also changed UberResponsibility.xml to add the primary key.

          Show
          Shannon Hess added a comment - I ended up having to change ResponsibilityAttributeBo.java so that it was similar to PermissionAttributeBo.java. (Permission inquiry is very similar except UberPermissionBo and PermissionAttributeBo are used instead of UberResponsibilityBo and ResponsibilityAttributeBo) I also changed UberResponsibility.xml to add the primary key.

            People

            • Assignee:
              Shannon Hess
              Reporter:
              Shannon Hess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  Agile

                    Structure Helper Panel