org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException

Kuali JIRA | Michael Passarella-George | 5 years ago
  1. 0

    *NOTE: THIS IS BEING FIXED AS PART OF WORK LEFT OVER ON KSLAB-1970* Happens with both (a) trying to approve at pub office node; and (b) trying to blanket approve as "admin" To duplicate b: Choosing blanket approve after submitting a proposal to workflow as admin user sends proposal to exception routing - Login as admin/admin - Find program. Choose, say, BSCI - Modify program, modify with new version, using curriculum review process - Fill in missing info in proposal information tab - On program summary page, drop down, choose submit to workflow - On program summary page, drop down, choose blanket approve proposal (the exception below is generated - Use bread crumb to navigate back to home screen, then choose find program proposal, click search button. (status is exception) 2011-08-12 09:53:23,967 [RICE/KSB-pool-1-thread-5] u:/d: ERROR org.kuali.rice.ksb.messaging.MessageServiceInvoker - Error processing message: [RouteQueue: , routeQueueId=2878, ipNumber=10.99.37.12serviceNamespace=RICE, serviceName={RICE}BlanketApproveProcessorService, methodName=doBlanketApproveWork, queueStatus=R, queuePriority=4, queueDate=2011-08-12 09:53:23.358] org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:64) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:55) 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:157) at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:60) ... 5 more Caused by: org.kuali.rice.kew.exception.WorkflowRuntimeException: org.kuali.rice.kew.exception.RouteManagerException: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: at org.kuali.rice.kew.actions.asyncservices.BlanketApproveProcessor.doBlanketApproveWork(BlanketApproveProcessor.java:54) 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:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy117.doBlanketApproveWork(Unknown Source) ... 11 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:132) at org.kuali.rice.kew.engine.BlanketApproveEngine.process(BlanketApproveEngine.java:165) at org.kuali.rice.kew.actions.BlanketApproveAction.performDeferredBlanketApproveWork(BlanketApproveAction.java:202) at org.kuali.rice.kew.actions.asyncservices.BlanketApproveProcessor.doBlanketApproveWork(BlanketApproveProcessor.java:52) ... 22 more Caused by: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:501) at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:398) at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:127) ... 25 more Caused by: org.kuali.student.common.exceptions.InvalidParameterException: new state cannot be null at org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:65) at org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:47) at org.kuali.student.lum.workflow.ProgramPostProcessorBase.processCustomRouteStatusChange(ProgramPostProcessorBase.java:43) at org.kuali.student.lum.workflow.KualiStudentPostProcessorBase.doRouteStatusChange(KualiStudentPostProcessorBase.java:172) at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:498) ... 27 more

    Kuali JIRA | 5 years ago | Michael Passarella-George
    org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException
  2. 0

    *NOTE: THIS IS BEING FIXED AS PART OF WORK LEFT OVER ON KSLAB-1970* Happens with both (a) trying to approve at pub office node; and (b) trying to blanket approve as "admin" To duplicate b: Choosing blanket approve after submitting a proposal to workflow as admin user sends proposal to exception routing - Login as admin/admin - Find program. Choose, say, BSCI - Modify program, modify with new version, using curriculum review process - Fill in missing info in proposal information tab - On program summary page, drop down, choose submit to workflow - On program summary page, drop down, choose blanket approve proposal (the exception below is generated - Use bread crumb to navigate back to home screen, then choose find program proposal, click search button. (status is exception) 2011-08-12 09:53:23,967 [RICE/KSB-pool-1-thread-5] u:/d: ERROR org.kuali.rice.ksb.messaging.MessageServiceInvoker - Error processing message: [RouteQueue: , routeQueueId=2878, ipNumber=10.99.37.12serviceNamespace=RICE, serviceName={RICE}BlanketApproveProcessorService, methodName=doBlanketApproveWork, queueStatus=R, queuePriority=4, queueDate=2011-08-12 09:53:23.358] org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:64) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:55) 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:157) at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:60) ... 5 more Caused by: org.kuali.rice.kew.exception.WorkflowRuntimeException: org.kuali.rice.kew.exception.RouteManagerException: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: at org.kuali.rice.kew.actions.asyncservices.BlanketApproveProcessor.doBlanketApproveWork(BlanketApproveProcessor.java:54) 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:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy117.doBlanketApproveWork(Unknown Source) ... 11 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:132) at org.kuali.rice.kew.engine.BlanketApproveEngine.process(BlanketApproveEngine.java:165) at org.kuali.rice.kew.actions.BlanketApproveAction.performDeferredBlanketApproveWork(BlanketApproveAction.java:202) at org.kuali.rice.kew.actions.asyncservices.BlanketApproveProcessor.doBlanketApproveWork(BlanketApproveProcessor.java:52) ... 22 more Caused by: org.kuali.rice.kew.exception.RouteManagerException: PostProcessor failed to process document: at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:501) at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:398) at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:127) ... 25 more Caused by: org.kuali.student.common.exceptions.InvalidParameterException: new state cannot be null at org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:65) at org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:47) at org.kuali.student.lum.workflow.ProgramPostProcessorBase.processCustomRouteStatusChange(ProgramPostProcessorBase.java:43) at org.kuali.student.lum.workflow.KualiStudentPostProcessorBase.doRouteStatusChange(KualiStudentPostProcessorBase.java:172) at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:498) ... 27 more

    Kuali JIRA | 5 years ago | Michael Passarella-George
    org.kuali.rice.ksb.messaging.MessageProcessingException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. org.kuali.student.common.exceptions.InvalidParameterException

      new state cannot be null

      at org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState()
    2. org.kuali.student
      KualiStudentPostProcessorBase.doRouteStatusChange
      1. org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:65)
      2. org.kuali.student.lum.workflow.MajorDisciplineStateChangeServiceImpl.changeState(MajorDisciplineStateChangeServiceImpl.java:47)
      3. org.kuali.student.lum.workflow.ProgramPostProcessorBase.processCustomRouteStatusChange(ProgramPostProcessorBase.java:43)
      4. org.kuali.student.lum.workflow.KualiStudentPostProcessorBase.doRouteStatusChange(KualiStudentPostProcessorBase.java:172)
      4 frames
    3. org.kuali.rice
      BlanketApproveProcessor.doBlanketApproveWork
      1. org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:498)
      2. org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:398)
      3. org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:127)
      4. org.kuali.rice.kew.engine.BlanketApproveEngine.process(BlanketApproveEngine.java:165)
      5. org.kuali.rice.kew.actions.BlanketApproveAction.performDeferredBlanketApproveWork(BlanketApproveAction.java:202)
      6. org.kuali.rice.kew.actions.asyncservices.BlanketApproveProcessor.doBlanketApproveWork(BlanketApproveProcessor.java:52)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    8. Unknown
      $Proxy117.doBlanketApproveWork
      1. $Proxy117.doBlanketApproveWork(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. org.kuali.rice
      MessageServiceInvoker$1.doInTransaction
      1. org.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:157)
      2. org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:60)
      2 frames
    11. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      1 frame
    12. org.kuali.rice
      MessageServiceInvoker.run
      1. org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:55)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames