-
Choerodon平台版本:1.0
-
运行环境:自主搭建
-
问题描述:
请尽量详细的描述您遇到的问题,以便我们能更快速的提供解决办法。
CD任务执行报错
-
执行的操作:
提交代码后,CI过程正常,CD的时候报错 -
报错信息(请尽量使用代码块或系统截图的形式展现):
2024-03-08 14:01:03.219 DEBUG 9 — [vops-service-39] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:03.244 DEBUG 9 — [io-8065-exec-10] i.c.resource.filter.JwtTokenFilter : Authentication success: org.springframework.security.oauth2.provider.OAuth2Authentication@2336adf: Principal: ANONYMOUS; Credentials: [PROTECTED]; Authenticated: true; Details: remoteAddress=10.244.2.152, tokenType=BearertokenValue=; Not granted any authorities
2024-03-08 14:01:03.247 DEBUG 9 — [io-8065-exec-10] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:03.249 DEBUG 9 — [io-8065-exec-10] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@355029466 wrapping com.mysql.cj.jdbc.ConnectionImpl@706df5b2]]
2024-03-08 14:01:03.249 DEBUG 9 — [io-8065-exec-10] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:03.250 DEBUG 9 — [io-8065-exec-10] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@968760599 wrapping com.mysql.cj.jdbc.ConnectionImpl@706df5b2]]
2024-03-08 14:01:03.260 INFO 9 — [ Thread-41] i.c.w.i.delegate.DevopsCdDeployDelegate : cd ServiceTask:subProcess0-cdDeploy.553277638139842560.553277638152425472.553277638156619776 结束,任务执行状态为false
2024-03-08 14:01:03.263 ERROR 9 — [ool-8-thread-20] o.a.e.impl.interceptor.CommandContext : Error while closing command context
org.activiti.engine.ActivitiException: error.execute.service.task
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:115) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:210) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:146) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:101) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:66) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:73) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:59) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) [activiti-spring-7.0.130.jar!/:na]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) [spring-tx-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) [activiti-spring-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29) [activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44) [activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39) [activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstance(RuntimeServiceImpl.java:524) [activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.runtime.ProcessInstanceBuilderImpl.start(ProcessInstanceBuilderImpl.java:114) [activiti-engine-7.0.130.jar!/:na]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl.start(ProcessRuntimeImpl.java:235) [activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl$$FastClassBySpringCGLIB$$60a3d48.invoke() [activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69) [spring-security-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl$$EnhancerBySpringCGLIB$$1653477f.start() [activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl.beginDevopsPipelineCiCd(ProcessInstanceServiceImpl.java:115) [classes!/:1.0.4]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl$$FastClassBySpringCGLIB$$d4d988b5.invoke() [classes!/:1.0.4]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) [spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl$$EnhancerBySpringCGLIB$$5498155a.beginDevopsPipelineCiCd() [classes!/:1.0.4]
at io.choerodon.workflow.app.eventhandler.WorkFlowSagaHandler.workflowCreatePipelineCiCd(WorkFlowSagaHandler.java:50) [classes!/:1.0.4]
at sun.reflect.GeneratedMethodAccessor604.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_282]
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:96) [choerodon-starter-asgard-0.19.1.RELEASE.jar!/:0.19.1.RELEASE]
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:64) [choerodon-starter-asgard-0.19.1.RELEASE.jar!/:0.19.1.RELEASE]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[na:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_282]
Caused by: io.choerodon.core.exception.CommonException: error.execute.service.task
at io.choerodon.workflow.infra.delegate.DevopsCdDeployDelegate.execute(DevopsCdDeployDelegate.java:86) ~[classes!/:1.0.4]
at org.activiti.engine.impl.delegate.invocation.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:35) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:91) ~[activiti-engine-7.0.130.jar!/:na]
… 47 common frames omitted
2024-03-08 14:01:03.263 DEBUG 9 — [ool-8-thread-20] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1768915407 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:03.265 INFO 9 — [ool-8-thread-20] i.c.asgard.saga.consumer.SagaConsumer : @SagaTask method code: cicdWorkflowCreatePipeline, id: 553655861587873792 invoke error
org.activiti.engine.ActivitiException: error.execute.service.task
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:115) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:210) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:146) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:101) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:66) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:73) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:59) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-7.0.130.jar!/:na]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-7.0.130.jar!/:na]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstance(RuntimeServiceImpl.java:524) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.runtime.ProcessInstanceBuilderImpl.start(ProcessInstanceBuilderImpl.java:114) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl.start(ProcessRuntimeImpl.java:235) ~[activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl$$FastClassBySpringCGLIB$$60a3d48.invoke() ~[activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69) ~[spring-security-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.activiti.runtime.api.impl.ProcessRuntimeImpl$$EnhancerBySpringCGLIB$$1653477f.start() ~[activiti-api-process-runtime-impl-7.0.130.jar!/:na]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl.beginDevopsPipelineCiCd(ProcessInstanceServiceImpl.java:115) ~[classes!/:1.0.4]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl$$FastClassBySpringCGLIB$$d4d988b5.invoke() ~[classes!/:1.0.4]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]
at io.choerodon.workflow.app.service.impl.ProcessInstanceServiceImpl$$EnhancerBySpringCGLIB$$5498155a.beginDevopsPipelineCiCd() ~[classes!/:1.0.4]
at io.choerodon.workflow.app.eventhandler.WorkFlowSagaHandler.workflowCreatePipelineCiCd(WorkFlowSagaHandler.java:50) ~[classes!/:1.0.4]
at sun.reflect.GeneratedMethodAccessor604.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_282]
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:96) [choerodon-starter-asgard-0.19.1.RELEASE.jar!/:0.19.1.RELEASE]
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:64) [choerodon-starter-asgard-0.19.1.RELEASE.jar!/:0.19.1.RELEASE]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[na:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_282]
Caused by: io.choerodon.core.exception.CommonException: error.execute.service.task
at io.choerodon.workflow.infra.delegate.DevopsCdDeployDelegate.execute(DevopsCdDeployDelegate.java:86) ~[classes!/:1.0.4]
at org.activiti.engine.impl.delegate.invocation.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:35) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) ~[activiti-engine-7.0.130.jar!/:na]
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:91) ~[activiti-engine-7.0.130.jar!/:na]
… 47 common frames omitted
2024-03-08 14:01:03.268 DEBUG 9 — [odon-asgard-998] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.hzero.boot.platform.entity.feign.EntityRegistFeignClient’: FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No fallbackFactory instance of type class org.hzero.boot.platform.entity.feign.fallback.EntityRegistFeignClientFallbackFactory found for feign client choerodon-platform
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1674)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1216)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:257)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1118)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:407)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:341)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:335)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1101)
at io.choerodon.asgard.common.ApplicationContextHelper.getBean(ApplicationContextHelper.java:32)
at io.choerodon.asgard.saga.consumer.SagaConsumer.executeFailureCallbackMethod(SagaConsumer.java:146)
at io.choerodon.asgard.saga.consumer.SagaConsumer.invokeError(SagaConsumer.java:134)
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:108)
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:64)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No fallbackFactory instance of type class org.hzero.boot.platform.entity.feign.fallback.EntityRegistFeignClientFallbackFactory found for feign client choerodon-platform
at org.springframework.cloud.openfeign.HystrixTargeter.getFromContext(HystrixTargeter.java:80)
at org.springframework.cloud.openfeign.HystrixTargeter.targetWithFallbackFactory(HystrixTargeter.java:64)
at org.springframework.cloud.openfeign.HystrixTargeter.target(HystrixTargeter.java:53)
at org.springframework.cloud.openfeign.FeignClientFactoryBean.loadBalance(FeignClientFactoryBean.java:223)
at org.springframework.cloud.openfeign.FeignClientFactoryBean.getTarget(FeignClientFactoryBean.java:252)
at org.springframework.cloud.openfeign.FeignClientFactoryBean.getObject(FeignClientFactoryBean.java:232)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171)
… 19 more
2024-03-08 14:01:03.313 DEBUG 9 — [odon-asgard-998] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:05.042 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:05.042 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1776223830 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:06.310 DEBUG 9 — [et-expired-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:06.311 DEBUG 9 — [et-expired-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@679762806 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:08.460 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:08.460 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1273824541 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:15.043 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:15.044 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1754223986 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:17.624 DEBUG 9 — [odon-asgard-999] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:18.462 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:18.462 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1342301842 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:22.103 DEBUG 9 — [don-asgard-1000] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:23.625 DEBUG 9 — [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Before cleanup stats (total=20, active=0, idle=20, waiting=0)
2024-03-08 14:01:23.625 DEBUG 9 — [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - After cleanup stats (total=20, active=0, idle=20, waiting=0)
2024-03-08 14:01:25.045 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:25.045 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1467613817 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:28.464 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:28.464 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1657911242 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:35.046 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:35.046 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@920069206 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:38.466 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:38.466 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1425940008 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:38.640 DEBUG 9 — [odon-asgard-999] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:43.124 DEBUG 9 — [don-asgard-1000] o.h.f.interceptor.JwtRequestInterceptor : Feign request set Header Jwt_Token, no member token found, use AnonymousUser default.
2024-03-08 14:01:45.047 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
2024-03-08 14:01:45.048 DEBUG 9 — [uire-async-jobs] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [HikariProxyConnection@1170283562 wrapping com.mysql.cj.jdbc.ConnectionImpl@67c5c341]]
2024-03-08 14:01:48.468 DEBUG 9 — [uire-timer-jobs] o.a.i.t.managed.ManagedTransaction : Opening JDBC Connection
- 建议:
请问如何解决?