0.16.0版本在敏捷管理中,无法创建问题

  • Choerodon平台版本:0.16.0

  • 运行环境:自主搭建

  • 问题描述:

进入创建问题页面后,页面卡死无法操作,发现是一个接口报错
/issue/v1/projects/29/schemes/query_issue_types_with_sm_id?apply_type=agile
该接口报500

  • 报错信息(请尽量使用代码块或系统截图的形式展现):

  • 建议:
    请大佬帮忙看一下

你好,创建问题这个项目是刚刚创建的吗。如果是,请检查创建项目的事务是否消费成功。

是之前就创建了


找到之前创建项目的任务了,的确有报错

java.lang.RuntimeException: com.netflix.client.ClientException: Load balancer does not have available server for client: state-machine-service
at org.springframework.cloud.netflix.feign.ribbon.LoadBalancerFeignClient.execute$original$kvuxQI07(LoadBalancerFeignClient.java:71)
at org.springframework.cloud.netflix.feign.ribbon.LoadBalancerFeignClient.execute$original$kvuxQI07$accessor$2aoL7EyH(LoadBalancerFeignClient.java)
at org.springframework.cloud.netflix.feign.ribbon.LoadBalancerFeignClient$auxiliary$twgfQTZP.call(Unknown Source)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:93)
at org.springframework.cloud.netflix.feign.ribbon.LoadBalancerFeignClient.execute(LoadBalancerFeignClient.java)
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:97)
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy169.createStateMachineWithCreateProject(Unknown Source)
at io.choerodon.issue.api.service.impl.StateMachineSchemeServiceImpl.initScheme(StateMachineSchemeServiceImpl.java:308)
at io.choerodon.issue.api.service.impl.StateMachineSchemeServiceImpl.initByConsumeCreateProject(StateMachineSchemeServiceImpl.java:286)
at io.choerodon.issue.api.service.impl.StateMachineSchemeServiceImpl$$FastClassBySpringCGLIB$$4231fa39.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:667)
at io.choerodon.issue.api.service.impl.StateMachineSchemeServiceImpl$$EnhancerBySpringCGLIB$$87607fcb.initByConsumeCreateProject()
at io.choerodon.issue.api.eventhandler.IssueEventHandler.handleProjectInitByConsumeSagaTask(IssueEventHandler.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:87)
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:59)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
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: com.netflix.client.ClientException: Load balancer does not have available server for client: state-machine-service
at com.netflix.loadbalancer.LoadBalancerContext.getServerFromLoadBalancer(LoadBalancerContext.java:483)
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:184)
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:180)
at rx.Observable.unsafeSubscribe(Observable.java:10211)
at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:94)
at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:42)
at rx.Observable.unsafeSubscribe(Observable.java:10211)
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber$1.call(OperatorRetryWithPredicate.java:127)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:79)
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:45)
at rx.internal.util.ScalarSynchronousObservable$WeakSingleProducer.request(ScalarSynchronousObservable.java:276)
at rx.Subscriber.setProducer(Subscriber.java:209)
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:138)
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:129)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:10307)
at rx.Observable.subscribe(Observable.java:10274)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445)
at rx.observables.BlockingObservable.single(BlockingObservable.java:342)
at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:117)
at org.springframework.cloud.netflix.feign.ribbon.LoadBalancerFeignClient.execute$original$kvuxQI07(LoadBalancerFeignClient.java:63)
… 25 more

您好,这个报错是状态机服务不可用,检查一下state-machine-service服务是否正常。如果服务没问题,可以重试一下这个事务。

嗯 可以了 谢谢大佬