Advertisement
mugs

NPE: PurchaseOrderServiceImpl.createPurchaseOrderDocument

Feb 6th, 2017
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.75 KB | None | 0 0
  1. java.lang.RuntimeException: java.lang.NullPointerException
  2.     at org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl.createPurchaseOrderDocument(PurchaseOrderServiceImpl.java:340)
  3.     at org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl.processACMReq(PurchaseOrderServiceImpl.java:1792)
  4.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  5.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  6.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  7.     at java.lang.reflect.Method.invoke(Method.java:606)
  8.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  9.     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  10.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  11.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  12.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  13.     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  14.     at com.sun.proxy.$Proxy295.processACMReq(Unknown Source)
  15.     at org.kuali.kfs.module.purap.document.ContractManagerAssignmentDocument.doRouteStatusChange(ContractManagerAssignmentDocument.java:115)
  16.     at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:81)
  17.     at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:61)
  18.     at org.kuali.rice.krad.util.GlobalVariables.doInNewGlobalVariables(GlobalVariables.java:191)
  19.     at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:60)
  20.     at sun.reflect.GeneratedMethodAccessor1332.invoke(Unknown Source)
  21.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  22.     at java.lang.reflect.Method.invoke(Method.java:606)
  23.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  24.     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  25.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  26.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  27.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  28.     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  29.     at com.sun.proxy.$Proxy113.doRouteStatusChange(Unknown Source)
  30.     at sun.reflect.GeneratedMethodAccessor1332.invoke(Unknown Source)
  31.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  32.     at java.lang.reflect.Method.invoke(Method.java:606)
  33.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  34.     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  35.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  36.     at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33)
  37.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  38.     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  39.     at com.sun.proxy.$Proxy114.doRouteStatusChange(Unknown Source)
  40.     at org.kuali.kfs.sys.document.workflow.PostProcessor.doRouteStatusChange(PostProcessor.java:53)
  41.     at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:513)
  42.     at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:423)
  43.     at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:151)
  44.     at org.kuali.rice.kew.impl.document.DocumentProcessingQueueImpl.processWithOptions(DocumentProcessingQueueImpl.java:66)
  45.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  46.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  47.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  48.     at java.lang.reflect.Method.invoke(Method.java:606)
  49.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  50.     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  51.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  52.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  53.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  54.     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  55.     at com.sun.proxy.$Proxy200.processWithOptions(Unknown Source)
  56.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  57.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  58.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  59.     at java.lang.reflect.Method.invoke(Method.java:606)
  60.     at org.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:157)
  61.     at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:72)
  62.     at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
  63.     at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:67)
  64.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  65.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  66.     at java.lang.Thread.run(Thread.java:745)
  67. Caused by: java.lang.NullPointerException
  68.     at za.org.kuali.kfs.module.purap.document.PurchaseOrderDocument.populatePurchaseOrderFromRequisition(PurchaseOrderDocument.java:438)
  69.     at org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl.generatePurchaseOrderFromRequisition(PurchaseOrderServiceImpl.java:354)
  70.     at org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl$2.runLogic(PurchaseOrderServiceImpl.java:325)
  71.     at org.kuali.kfs.module.purap.document.service.impl.PurapServiceImpl.performLogicWithFakedUserSession(PurapServiceImpl.java:757)
  72.     at org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl.createPurchaseOrderDocument(PurchaseOrderServiceImpl.java:332)
  73.     ... 64 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement