Closed michaelwangwangwang closed 10 months ago
Can someone answer me?
Can someone answer me?
@spencergibb
No. Can you reproduce this without swagger?
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
when i use springCloud gateway 3.0.6, sometimes this error occurs,why?
java.util.NoSuchElementException: Context is empty at reactor.util.context.Context0.get(Context0.java:42) ~[reactor-core-3.4.16.jar!/:3.4.16] Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Error has been observed at the following site(s): __checkpoint ⇢ springfox.boot.starter.autoconfigure.SwaggerUiWebFluxConfiguration$CustomWebFilter [DefaultWebFilterChain] __checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain] Original Stack Trace: at reactor.util.context.Context0.get(Context0.java:42) ~[reactor-core-3.4.16.jar!/:3.4.16] at reactor.netty.resources.DefaultPooledConnectionProvider$PooledConnectionAllocator.lambda$connectChannel$0(DefaultPooledConnectionProvider.java:498) ~[reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:57) [reactor-core-3.4.16.jar!/:3.4.16] at reactor.core.publisher.Mono.subscribe(Mono.java:4400) [reactor-core-3.4.16.jar!/:3.4.16] at reactor.core.publisher.Mono.subscribeWith(Mono.java:4515) [reactor-core-3.4.16.jar!/:3.4.16] at reactor.core.publisher.Mono.subscribe(Mono.java:4371) [reactor-core-3.4.16.jar!/:3.4.16] at reactor.core.publisher.Mono.subscribe(Mono.java:4307) [reactor-core-3.4.16.jar!/:3.4.16] at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.drainLoop(SimpleDequePool.java:437) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.pendingOffer(SimpleDequePool.java:600) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.doAcquire(SimpleDequePool.java:296) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.internal.shaded.reactor.pool.AbstractPool$Borrower.request(AbstractPool.java:432) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.resources.DefaultPooledConnectionProvider$DisposableAcquire.onSubscribe(DefaultPooledConnectionProvider.java:195) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool$QueueBorrowerMono.subscribe(SimpleDequePool.java:720) [reactor-netty-core-1.0.17.jar!/:1.0.17] at reactor.netty.resources.DefaultPooledConnectionProvider$DisposableAcquire.run(DefaultPooledConnectionProvider.java:223) [reactor-netty-core-1.0.17.jar!/:1.0.17] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [netty-common-4.1.76.Final.jar!/:4.1.76.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) [netty-common-4.1.76.Final.jar!/:4.1.76.Final] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391) [netty-transport-classes-epoll-4.1.76.Final.jar!/:4.1.76.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [netty-common-4.1.76.Final.jar!/:4.1.76.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.76.Final.jar!/:4.1.76.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.76.Final.jar!/:4.1.76.Final] at java.lang.Thread.run(Thread.java:829) [?:?]