Загрузка данных


2026-04-23T14:54:10,058 INFO  AbstractSetlIncomingProcessor           : Processing 33048 records SETL_INCOMING finished
2026-04-23T14:54:10,089 INFO  AbstractSetlOutgoingProcessor           : SETL_OUTGOING - 1000 => 2026-04-23T14:54:10.089870030
2026-04-23T14:54:10,113 ERROR McSetlOutgoingProcessor                 : Error processing SETL_OUTGOING Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
        at jdk.proxy2/jdk.proxy2.$Proxy286.findTransactionForSettlement(Unknown Source)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:56)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:21)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$processOutgoingBatch$2(AbstractSetlOutgoingProcessor.java:83)
        at ru.rshb.plc.nspk.fastinsert.BatchItem.apply(BatchItem.java:7)
        at ru.rshb.plc.nspk.fastinsert.BatchChainProcessor.processGroup(BatchChainProcessor.java:63)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.batchCurrent(SimpleFastInsertProcessor.java:60)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.processChain(SimpleFastInsertProcessor.java:43)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$performSetlOutgoing$1(AbstractSetlOutgoingProcessor.java:57)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
        at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.performSetlOutgoing(AbstractSetlOutgoingProcessor.java:56)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.setlOutgoing(AbstractSetlOutgoingProcessor.java:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor$$SpringCGLIB$$0.setlOutgoing(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlProcessor.settlement(AbstractSetlProcessor.java:19)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlProcessor$$SpringCGLIB$$0.settlement(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.performSettlement(AbstractAutoSetlProcessor.java:50)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.autoSettlement(AbstractAutoSetlProcessor.java:25)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl.autoSettlement(SettlementServiceImpl.java:89)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl$$SpringCGLIB$$0.autoSettlement(<generated>)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:57)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:33)
        at ru.rshb.plc.nspk.async.api.AsyncProcess.lambda$asCallable$0(AsyncProcess.java:18)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$0(AsyncProcessExecutorService.java:42)
        at ru.rshb.plc.nspk.async.LockManagerService.doWithLocks(LockManagerService.java:33)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$1(AsyncProcessExecutorService.java:36)
        at org.springframework.security.concurrent.DelegatingSecurityContextCallable.call(DelegatingSecurityContextCallable.java:96)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
2026-04-23T14:54:10,122 ERROR McSetlOutgoingProcessor                 : Error processing SETL_OUTGOING Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
        at jdk.proxy2/jdk.proxy2.$Proxy286.findTransactionForSettlement(Unknown Source)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:56)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:21)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$processOutgoingBatch$2(AbstractSetlOutgoingProcessor.java:83)
        at ru.rshb.plc.nspk.fastinsert.BatchItem.apply(BatchItem.java:7)
        at ru.rshb.plc.nspk.fastinsert.BatchChainProcessor.processGroup(BatchChainProcessor.java:63)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.batchCurrent(SimpleFastInsertProcessor.java:60)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.close(SimpleFastInsertProcessor.java:77)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.performSetlOutgoing(AbstractSetlOutgoingProcessor.java:45)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.setlOutgoing(AbstractSetlOutgoingProcessor.java:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor$$SpringCGLIB$$0.setlOutgoing(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlProcessor.settlement(AbstractSetlProcessor.java:19)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlProcessor$$SpringCGLIB$$0.settlement(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.performSettlement(AbstractAutoSetlProcessor.java:50)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.autoSettlement(AbstractAutoSetlProcessor.java:25)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl.autoSettlement(SettlementServiceImpl.java:89)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl$$SpringCGLIB$$0.autoSettlement(<generated>)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:57)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:33)
        at ru.rshb.plc.nspk.async.api.AsyncProcess.lambda$asCallable$0(AsyncProcess.java:18)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$0(AsyncProcessExecutorService.java:42)
        at ru.rshb.plc.nspk.async.LockManagerService.doWithLocks(LockManagerService.java:33)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$1(AsyncProcessExecutorService.java:36)
        at org.springframework.security.concurrent.DelegatingSecurityContextCallable.call(DelegatingSecurityContextCallable.java:96)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
2026-04-23T14:54:10,123 ERROR SimpleFastInsertProcessor               : Error closing processor
ru.rshb.plc.nspk.common.exception.ErrorCodeException: 62155: MFile: 3 RecInd:2503571392
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:59)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:21)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$processOutgoingBatch$2(AbstractSetlOutgoingProcessor.java:83)
        at ru.rshb.plc.nspk.fastinsert.BatchItem.apply(BatchItem.java:7)
        at ru.rshb.plc.nspk.fastinsert.BatchChainProcessor.processGroup(BatchChainProcessor.java:63)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.batchCurrent(SimpleFastInsertProcessor.java:60)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.close(SimpleFastInsertProcessor.java:77)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.performSetlOutgoing(AbstractSetlOutgoingProcessor.java:45)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.setlOutgoing(AbstractSetlOutgoingProcessor.java:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor$$SpringCGLIB$$0.setlOutgoing(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlProcessor.settlement(AbstractSetlProcessor.java:19)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlProcessor$$SpringCGLIB$$0.settlement(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.performSettlement(AbstractAutoSetlProcessor.java:50)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.autoSettlement(AbstractAutoSetlProcessor.java:25)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl.autoSettlement(SettlementServiceImpl.java:89)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl$$SpringCGLIB$$0.autoSettlement(<generated>)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:57)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:33)
        at ru.rshb.plc.nspk.async.api.AsyncProcess.lambda$asCallable$0(AsyncProcess.java:18)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$0(AsyncProcessExecutorService.java:42)
        at ru.rshb.plc.nspk.async.LockManagerService.doWithLocks(LockManagerService.java:33)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$1(AsyncProcessExecutorService.java:36)
        at org.springframework.security.concurrent.DelegatingSecurityContextCallable.call(DelegatingSecurityContextCallable.java:96)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
        at jdk.proxy2/jdk.proxy2.$Proxy286.findTransactionForSettlement(Unknown Source)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:56)
        ... 59 more
2026-04-23T14:54:10,132 ERROR SettlementAsyncServiceImpl$AsyncSettlementProcess: Error auto settlement task
ru.rshb.plc.nspk.common.exception.ErrorCodeException: 62155: MFile: 3 RecInd:2503571392
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:59)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:21)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$processOutgoingBatch$2(AbstractSetlOutgoingProcessor.java:83)
        at ru.rshb.plc.nspk.fastinsert.BatchItem.apply(BatchItem.java:7)
        at ru.rshb.plc.nspk.fastinsert.BatchChainProcessor.processGroup(BatchChainProcessor.java:63)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.batchCurrent(SimpleFastInsertProcessor.java:60)
        at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.processChain(SimpleFastInsertProcessor.java:43)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$performSetlOutgoing$1(AbstractSetlOutgoingProcessor.java:57)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
        at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.performSetlOutgoing(AbstractSetlOutgoingProcessor.java:56)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.setlOutgoing(AbstractSetlOutgoingProcessor.java:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor$$SpringCGLIB$$0.setlOutgoing(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractSetlProcessor.settlement(AbstractSetlProcessor.java:19)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlProcessor$$SpringCGLIB$$0.settlement(<generated>)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.performSettlement(AbstractAutoSetlProcessor.java:50)
        at ru.rshb.plc.nspk.settlement.processing.AbstractAutoSetlProcessor.autoSettlement(AbstractAutoSetlProcessor.java:25)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl.autoSettlement(SettlementServiceImpl.java:89)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:727)
        at ru.rshb.plc.nspk.settlement.SettlementServiceImpl$$SpringCGLIB$$0.autoSettlement(<generated>)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:57)
        at ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess.call(SettlementAsyncServiceImpl.java:33)
        at ru.rshb.plc.nspk.async.api.AsyncProcess.lambda$asCallable$0(AsyncProcess.java:18)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$0(AsyncProcessExecutorService.java:42)
        at ru.rshb.plc.nspk.async.LockManagerService.doWithLocks(LockManagerService.java:33)
        at ru.rshb.plc.nspk.async.AsyncProcessExecutorService.lambda$execute$1(AsyncProcessExecutorService.java:36)
        at org.springframework.security.concurrent.DelegatingSecurityContextCallable.call(DelegatingSecurityContextCallable.java:96)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Suppressed: ru.rshb.plc.nspk.common.exception.ErrorCodeException: 62155: MFile: 3 RecInd:2503571392
                at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:59)
                at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:21)
                at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.lambda$processOutgoingBatch$2(AbstractSetlOutgoingProcessor.java:83)
                at ru.rshb.plc.nspk.fastinsert.BatchItem.apply(BatchItem.java:7)
                at ru.rshb.plc.nspk.fastinsert.BatchChainProcessor.processGroup(BatchChainProcessor.java:63)
                at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.batchCurrent(SimpleFastInsertProcessor.java:60)
                at ru.rshb.plc.nspk.fastinsert.SimpleFastInsertProcessor.close(SimpleFastInsertProcessor.java:77)
                at ru.rshb.plc.nspk.settlement.processing.AbstractSetlOutgoingProcessor.performSetlOutgoing(AbstractSetlOutgoingProcessor.java:45)
                ... 52 more
        Caused by: org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
                at jdk.proxy2/jdk.proxy2.$Proxy286.findTransactionForSettlement(Unknown Source)
                at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:56)
                ... 59 more
Caused by: org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long ru.rshb.plc.nspk.repository.settlement.McTrxSettlementRepository.findTransactionForSettlement(ru.rshb.plc.nspk.repository.clearing.McFinPositionSettlementTuple,ru.rshb.plc.nspk.common.model.SettlementType)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
        at jdk.proxy2/jdk.proxy2.$Proxy286.findTransactionForSettlement(Unknown Source)
        at ru.rshb.plc.nspk.settlement.processing.mc.McSetlOutgoingProcessor.updateMcTrx(McSetlOutgoingProcessor.java:56)
        ... 70 more
2026-04-23T14:54:10,133 INFO  AsyncProcessLogUtil                     : Process with updater stop with error = 62155: MFile: 3 RecInd:2503571392 (name = auto settlement 2026-04-10 - NPSM, type = SETTLEMENT, cls = class ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess and updater = ru.rshb.plc.nspk.async.ProgressUpdater@33e79ff2)
2026-04-23T14:54:10,137 INFO  AsyncProcessLogUtil                     : Process with updater finish (name = auto settlement 2026-04-10 - NPSM, type = SETTLEMENT, cls = class ru.rshb.plc.nspk.settlement.SettlementAsyncServiceImpl$AsyncSettlementProcess and updater = ru.rshb.plc.nspk.async.ProgressUpdater@33e79ff2)
2026-04-23T14:54:12,253 INFO  NspkApiAuditAspect                      : Вызван метод: /settlement/recNpsm {"date":""2026-04-10"", "date":""2026-04-10""}
2026-04-23T14:54:12,263 INFO  NspkApiAuditAspect                      : Вызван метод: /settlement/{setlDate}/status {"setlDate":""2026-04-10""}
2026-04-23T14:54:15,196 INFO  NspkApiAuditAspect                      : Вызван метод: /settlement/recNpsm {"date":""2026-04-10"", "date":""2026-04-10""}
2026-04-23T14:54:15,221 INFO  NspkApiAuditAspect                      : Вызван метод: /settlement/{setlDate}/status {"setlDate":""2026-04-10""}
2026-04-23T14:54:22,504 INFO  NspkApiAuditAspect                      : Вызван метод: /background-process {"filterPagingSortingUI":"{"page":{"page":0,"pageSize":20},"filter":{"status.state":"[\"running\"]"},"order":{"status.start":"DESC"}}"}