Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- An error occurs in policy[rate-limit] error[io.gravitee.gateway.policy.PolicyChainException: io.gravitee.gateway.policy.PolicyException: java.lang.reflect.InvocationTargetException
- at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:46)
- at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:74)
- at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
- at io.gravitee.gateway.policy.impl.PolicyChain.process(PolicyChain.java:101)
- at io.gravitee.gateway.core.processor.ProviderProcessorChain.process(ProviderProcessorChain.java:83)
- at io.gravitee.gateway.core.processor.ProviderProcessorChain.lambda$process$0(ProviderProcessorChain.java:69)
- at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:85)
- at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
- at io.gravitee.policy.keyless.KeylessPolicy.onRequest(KeylessPolicy.java:39)
- 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.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:94)
- at io.gravitee.gateway.policy.impl.PolicyImpl.onRequest(PolicyImpl.java:49)
- at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:44)
- at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:74)
- at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
- at io.gravitee.gateway.policy.impl.PolicyChain.process(PolicyChain.java:101)
- at io.gravitee.gateway.core.processor.ProviderProcessorChain.process(ProviderProcessorChain.java:83)
- at io.gravitee.gateway.handlers.api.ApiReactorHandler.handleClientRequest(ApiReactorHandler.java:139)
- at io.gravitee.gateway.handlers.api.ApiReactorHandler.doHandle(ApiReactorHandler.java:123)
- at io.gravitee.gateway.reactor.handler.AbstractReactorHandler.handle(AbstractReactorHandler.java:88)
- at io.gravitee.gateway.reactor.impl.DefaultReactor.lambda$route$0(DefaultReactor.java:81)
- at io.gravitee.gateway.reactor.handler.transaction.TransactionHandler.handle(TransactionHandler.java:57)
- at io.gravitee.gateway.reactor.handler.transaction.TransactionHandler.handle(TransactionHandler.java:28)
- at io.gravitee.gateway.reactor.impl.DefaultReactor.route(DefaultReactor.java:92)
- at io.gravitee.gateway.standalone.vertx.VertxReactorHandler.handle(VertxReactorHandler.java:42)
- at io.gravitee.gateway.standalone.vertx.VertxReactorHandler.handle(VertxReactorHandler.java:29)
- at io.vertx.core.http.impl.Http1xServerConnection.processMessage(Http1xServerConnection.java:453)
- at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:144)
- at io.vertx.core.http.impl.Http1xServerHandler.handleMessage(Http1xServerHandler.java:74)
- at io.vertx.core.http.impl.Http1xServerHandler.handleMessage(Http1xServerHandler.java:35)
- at io.vertx.core.net.impl.VertxHandler.lambda$channelRead$1(VertxHandler.java:146)
- at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
- at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
- at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:144)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.vertx.core.http.impl.HttpServerImpl$Http2UpgradeHandler.channelRead(HttpServerImpl.java:984)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
- at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
- at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
- at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
- at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
- at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
- at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:141)
- at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
- at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
- at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
- at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
- at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
- at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: io.gravitee.gateway.policy.PolicyException: java.lang.reflect.InvocationTargetException
- at io.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:96)
- at io.gravitee.gateway.policy.impl.PolicyImpl.onRequest(PolicyImpl.java:49)
- at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:44)
- ... 65 more
- Caused by: java.lang.reflect.InvocationTargetException
- 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.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:94)
- ... 67 more
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.gravitee.repository.ratelimit.api.RateLimitService' available
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:346)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:333)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:344)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:333)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105)
- at io.gravitee.gateway.reactor.handler.context.DefaultExecutionContext.getComponent(DefaultExecutionContext.java:61)
- at io.gravitee.policy.ratelimit.RateLimitPolicy.onRequest(RateLimitPolicy.java:81)
- ... 72 more
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement