2.7.0版本网关启动出现问题

Blade 未结 2 2407
420714167
420714167 2020-12-03 08:34

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

1. 网关启动

2. 

3.


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

出现异常但不影响网关启动和工作,但不知道这个问题出现后会不会出现其他问题。

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

blade 2.7.0版本 windows系统上。

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

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_251]

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

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

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

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

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

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

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

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

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

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

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

at reactor.core.publisher.Operators.complete(Operators.java:135) ~[reactor-core-3.3.11.RELEASE.jar:3.3.11.RELEASE]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2条回答
  •  admin
    admin (楼主)
    2020-12-03 13:30

    这是升级到hoxton,用了nacos动态网关后出现的问题,定位到执行了刷新路由的操作后会报的错。

    image.png

    后续会修复,目前这个错误不影响网关的使用

提交回复