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

Rice Dev: Permission Lookup Bombs if you specify a Template Namespace

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-b2, 2.0
    • Component/s: Unit Testing
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Environment:
      Rice Dev
    • Similar issues:
      KULRICE-5524Rice Dev: Permission & Responsibility Lookups bomb if Group Name is added
      KULRICE-5523Rice Dev: Permission Lookup bombs if Principal Name is added
      KULRICE-6370Rice Dev: Rule Template bombs to error on Click
      KULRICE-6442Rice Dev: Permission Lookup screen, Permission Template attribute label missing
      KULRICE-5549Rice Dev: Ad Hoc Group Name lookup bombs on search
      KULRICE-5521Rice Dev: Group Lookup bombs if Principal Name is added
      KULRICE-5497Rice Dev: Create New Permission button bombs to error
      KULRICE-6369Rice Dev: Rule Attribute bombs to exception on click
      KULRICE-6372Rice Dev: XML Stylesheets bombs to error on click
      KULRICE-5498Rice Dev: Role Lookup from Create Person bombs out
    • Rice Module:
      KIM
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      If you select a template namespace (any of them) you get the following dump when you search from the Permission Lookup...

      2011-11-04 13:44:25,298 [TRAVEL/KSB-pool-1-thread-4] u:admin/d: ERROR org.kuali.rice.ksb.messaging.MessageServiceInvoker - Error processing message: [RouteQueue: , routeQueueId=486, ipNumber=10.110.97.103applicationId=TRAVEL, serviceName={http://rice.kuali.org/kew/v2_0}documentOrchestrationQueue, methodName=orchestrateDocument, queueStatus=R, queuePriority=4, queueDate=2011-11-04 13:44:24.334]
      org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException
      	at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:68)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      	at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:59)
      	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.reflect.InvocationTargetException
      	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.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:149)
      	at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:64)
      	... 5 more
      Caused by: org.kuali.rice.kew.exception.RouteManagerException: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: 
      	at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:154)
      	at org.kuali.rice.kew.engine.BlanketApproveEngine.process(BlanketApproveEngine.java:139)
      	at org.kuali.rice.kew.actions.BlanketApproveAction.performDeferredBlanketApproveWork(BlanketApproveAction.java:201)
      	at org.kuali.rice.kew.impl.action.DocumentOrchestrationQueueImpl.orchestrateDocument(DocumentOrchestrationQueueImpl.java:72)
      	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	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.invoke(TransactionInterceptor.java:110)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy128.orchestrateDocument(Unknown Source)
      	... 11 more
      Caused by: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: 
      	at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:513)
      	at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:420)
      	at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:149)
      	... 25 more
      Caused by: java.lang.RuntimeException: post processor caught exception while handling route status change: null
      	at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.logAndRethrow(PostProcessorServiceImpl.java:259)
      	at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:89)
      	at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	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.invoke(TransactionInterceptor.java:110)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy67.doRouteStatusChange(Unknown Source)
      	at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy68.doRouteStatusChange(Unknown Source)
      	at org.kuali.rice.krad.workflow.postprocessor.KualiPostProcessor.doRouteStatusChange(KualiPostProcessor.java:58)
      	at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:510)
      	... 27 more
      Caused by: java.lang.NullPointerException
      	at org.kuali.rice.kew.actionrequest.service.impl.ActionRequestServiceImpl.updateActionRequestsForResponsibilityChange(ActionRequestServiceImpl.java:616)
      	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	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.invoke(TransactionInterceptor.java:110)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy215.updateActionRequestsForResponsibilityChange(Unknown Source)
      	at org.kuali.rice.kew.rule.service.impl.RuleServiceInternalImpl.makeCurrent(RuleServiceInternalImpl.java:370)
      	at org.kuali.rice.kew.rule.service.impl.RuleServiceInternalImpl.makeCurrent(RuleServiceInternalImpl.java:308)
      	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
      	at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:270)
      	at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy144.makeCurrent(Unknown Source)
      	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
      	at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:270)
      	at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy145.makeCurrent(Unknown Source)
      	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      	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.invoke(TransactionInterceptor.java:110)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at $Proxy145.makeCurrent(Unknown Source)
      	at org.kuali.rice.kew.document.RoutingRuleMaintainable.saveDataObject(RoutingRuleMaintainable.java:99)
      	at org.kuali.rice.krad.document.MaintenanceDocumentBase.doRouteStatusChange(MaintenanceDocumentBase.java:442)
      	at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:71)
      	... 49 more

        Activity

        Hide
        Rice-CI User (Inactive) added a comment -

        Integrated in rice-trunk-nightly #248 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/248/)
        KULRICE-5907 - permission lookup fixes
        KULRICE-5923 - responsibility lookoup fixes

        Show
        Rice-CI User (Inactive) added a comment - Integrated in rice-trunk-nightly #248 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/248/ ) KULRICE-5907 - permission lookup fixes KULRICE-5923 - responsibility lookoup fixes
        Hide
        Jessica Coltrin (Inactive) added a comment -

        Closing since these items are now in the release notes.

        Show
        Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

          People

          • Assignee:
            Jeremy Hanson
            Reporter:
            Matt Sargent
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel