网关启动报错gateway

Blade 已结 1 666
gtfhao
gtfhao 2022-06-06 18:14

一、该问题的重现步骤是什么?

1. 

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?

期待网关正常启动,实际报错

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

企业联合版2.9.1  windows10 

四、请提供详细的错误堆栈信息,这很重要。

2022-06-06 18:05:26.706  INFO 29188 --- [oundedElastic-1] com.alibaba.nacos.common.remote.client   : [d6718752-7dc4-4b23-a9a6-07a87bc6ede3] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$289/130211746

2022-06-06 18:05:27.075 ERROR 29188 --- [oundedElastic-1] reactor.core.scheduler.Schedulers        : Scheduler worker in group main failed with an uncaught exception


reactor.core.Exceptions$ErrorCallbackNotImplemented: java.util.ConcurrentModificationException

Caused by: java.util.ConcurrentModificationException: null

at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719) ~[na:1.8.0_202]

at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:747) ~[na:1.8.0_202]

at reactor.core.publisher.FluxIterable$IterableSubscription.poll(FluxIterable.java:418) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMergeSequential$MergeSequentialMain.drain(FluxMergeSequential.java:399) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMergeSequential$MergeSequentialMain.innerComplete(FluxMergeSequential.java:321) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMergeSequential$MergeSequentialInner.onComplete(FluxMergeSequential.java:576) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxFilter$FilterSubscriber.onComplete(FluxFilter.java:160) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onComplete(FluxMap.java:262) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxFilter$FilterConditionalSubscriber.onComplete(FluxFilter.java:293) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.onComplete(FluxSubscribeOn.java:159) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxIterable$IterableSubscription.slowPath(FluxIterable.java:289) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxIterable$IterableSubscription.request(FluxIterable.java:225) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMap$MapSubscriber.request(FluxMap.java:155) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.requestUpstream(FluxSubscribeOn.java:124) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.onSubscribe(FluxSubscribeOn.java:117) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxMap$MapSubscriber.onSubscribe(FluxMap.java:86) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:161) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:86) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxDefer.subscribe(FluxDefer.java:54) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:62) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:187) ~[reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) [reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) [reactor-core-3.3.17.RELEASE.jar:3.3.17.RELEASE]

at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) ~[na:1.8.0_202]

at java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:1.8.0_202]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_202]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_202]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_202]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_202]

at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_202]


2022-06-06 18:05:27.269  INFO 29188 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 22 endpoint(s) beneath base path '/actuator'

2022-06-06 18:05:27.436  INFO 29188 --- [ent-executor-17] com.alibaba.nacos.common.remote.client   : [d6718752-7dc4-4b23-a9a6-07a87bc6ede3] Receive server push request, request = NotifySubscriberRequest, requestId = 11

2022-06-06 18:05:27.437  INFO 29188 --- [ent-executor-17] com.alibaba.nacos.common.remote.client   : [d6718752-7dc4-4b23-a9a6-07a87bc6ede3] Ack server push request, request = NotifySubscriberRequest, requestId = 11

2022-06-06 18:05:27.439  INFO 29188 --- [ent-executor-18] com.alibaba.nacos.common.remote.client   : [d6718752-7dc4-4b23-a9a6-07a87bc6ede3] Receive server push request, request = NotifySubscriberRequest, requestId = 12

2022-06-06 18:05:27.439  INFO 29188 --- [ent-executor-18] com.alibaba.nacos.common.remote.client   : [d6718752-7dc4-4b23-a9a6-07a87bc6ede3] Ack server push request, request = NotifySubscriberRequest, requestId = 12

2022-06-06 18:05:27.518  INFO 29188 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'Nacos-Watch-Task-Scheduler'

2022-06-06 18:05:27.549  INFO 29188 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties)

2022-06-06 18:05:27.632  INFO 29188 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'taskScheduler'

2022-06-06 18:05:28.303  INFO 29188 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port(s): 80

五、若有更多详细信息,请在下面提供。

1条回答
  •  admin
    admin (楼主)
    2022-06-07 20:44

    这个是小问题,动态网关读取的时候报的,但不影响使用,马上大版本重构之后就不会有这个问题了

    0 讨论(1)
提交回复