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

PeopleFlow - Stack trace upon adding delegate member

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-8059PeopleFlow Member Delegates Member Type selection errors.
      KULRICE-9081Stack trace while doing wilcard searches in role lookup while adding role member delegate
      KULRICE-6870PeopleFlow Member Delegate's Names aren't set.
      KULRICE-12940PeopleFlow role delegate issue
      KULRICE-6795krad.utility.js error message when adding PeopleFlow Members (in Firefox)
      KULRICE-5726Add support for delegates on roles in PeopleFlows as well as using roles as delegates
      KULRICE-8968PeopleFlow Maintenance Document - Unable to set ApprovePolicy when PeopleFlow Member is of type Group
      KULRICE-6393PeopleFlow members show up as secondary delegates in the route log
      KULRICE-8104Changing PeopleFlow Member Type results in errors
      KULRICE-7776Clicking on role member column in Role Inquiry delegate section results in stack trace
    • Rice Module:
      KRMS
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Upon adding a delegate (oblood) to a stop, the system generates a stack trace in daily. See attached add_delegate and stack trace.

      Steps to recreate:
      1. Create people flow with two stops - add Eric to stop 1 and add Erin to stop 2 as principles
      2. Blanket approve people flow
      3. Open people flow in edit mode and enter employee as delegate to Eric in stop 1

      Expected result: System should add employee as delegate
      Actual result:System generates stack trace

      java.lang.RuntimeException: Error getting property 'delegates' from org.kuali.rice.kew.impl.peopleflow.PeopleFlowBo@7f829a[id=10000,name=Test,namespaceCode=KR-WKFLW,typeId=<null>,description=<null>,active=true,attributeBos=[],members=[org.kuali.rice.kew.impl.peopleflow.PeopleFlowMemberBo@1ae35f4[id=10000,peopleFlowId=10000,memberId=employee,memberTypeCode=P,actionRequestPolicyCode=F,responsibilityId=2065,priority=1,memberName=employee,delegates=[org.kuali.rice.kew.impl.peopleflow.PeopleFlowDelegateBo@1bf3a69[id=10000,peopleFlowMemberId=10000,memberId=eric,memberTypeCode=P,actionRequestPolicyCode=F,delegationTypeCode=P,responsibilityId=2066,memberName=<null>,versionNumber=1,objectId=<null>,newCollectionRecord=false]],versionNumber=1,objectId=<null>,newCollectionRecord=false], org.kuali.rice.kew.impl.peopleflow.PeopleFlowMemberBo@1925ae2[id=10001,peopleFlowId=10000,memberId=erin,memberTypeCode=P,actionRequestPolicyCode=F,responsibilityId=2067,priority=2,memberName=erin,delegates=[],versionNumber=1,objectId=<null>,newCollectionRecord=false]],attributeValues={},versionNumber=1,objectId=<null>,newCollectionRecord=false] at org.kuali.rice.krad.uif.util.ObjectPropertyUtils.getPropertyValue(ObjectPropertyUtils.java:58) at org.kuali.rice.krad.maintenance.MaintainableImpl.processAfterAddLine(MaintainableImpl.java:429) at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.processCollectionAddLine(ViewHelperServiceImpl.java:1281) at org.kuali.rice.krad.web.controller.UifControllerBase.addLine(UifControllerBase.java:183) at org.kuali.rice.krad.web.controller.UifControllerBase$$FastClassByCGLIB$$7929303a.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.kew.impl.peopleflow.PeopleFlowController$$EnhancerByCGLIB$$abf5afc.addLine(<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: org.springframework.beans.NotReadablePropertyException: Invalid property 'delegates' of bean class [org.kuali.rice.kew.impl.peopleflow.PeopleFlowBo]: Bean property 'delegates' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:729) at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721) at org.kuali.rice.krad.uif.util.ObjectPropertyUtils.getPropertyValue(ObjectPropertyUtils.java:56) ... 64 more
      This is reproducable in the Rice test environment http://env7.rice.kuali.org/portal.do

        Issue Links

          Activity

          Hide
          Jeff Ruch added a comment -

          Added support multiple level children collections. I did notice that editing after adding a delegate causes a validation error because the delegate names are not populated in the text boxes. I will open a separate JIRA.

          Show
          Jeff Ruch added a comment - Added support multiple level children collections. I did notice that editing after adding a delegate causes a validation error because the delegate names are not populated in the text boxes. I will open a separate JIRA.
          Hide
          Jessica Coltrin (Inactive) added a comment -

          release notes are generated. closing issues.

          Show
          Jessica Coltrin (Inactive) added a comment - release notes are generated. closing issues.

            People

            • Assignee:
              Jeff Ruch
              Reporter:
              Gayathri Athreya
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel