Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.89 KB | None | 0 0
  1. An error occurs in policy[rate-limit] error[io.gravitee.gateway.policy.PolicyChainException: io.gravitee.gateway.policy.PolicyException: java.lang.reflect.InvocationTargetException
  2. at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:46)
  3. at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:74)
  4. at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
  5. at io.gravitee.gateway.policy.impl.PolicyChain.process(PolicyChain.java:101)
  6. at io.gravitee.gateway.core.processor.ProviderProcessorChain.process(ProviderProcessorChain.java:83)
  7. at io.gravitee.gateway.core.processor.ProviderProcessorChain.lambda$process$0(ProviderProcessorChain.java:69)
  8. at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:85)
  9. at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
  10. at io.gravitee.policy.keyless.KeylessPolicy.onRequest(KeylessPolicy.java:39)
  11. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  12. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  13. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  14. at java.lang.reflect.Method.invoke(Method.java:498)
  15. at io.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:94)
  16. at io.gravitee.gateway.policy.impl.PolicyImpl.onRequest(PolicyImpl.java:49)
  17. at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:44)
  18. at io.gravitee.gateway.policy.impl.PolicyChain.doNext(PolicyChain.java:74)
  19. at io.gravitee.gateway.policy.impl.StreamablePolicyChain.doNext(StreamablePolicyChain.java:55)
  20. at io.gravitee.gateway.policy.impl.PolicyChain.process(PolicyChain.java:101)
  21. at io.gravitee.gateway.core.processor.ProviderProcessorChain.process(ProviderProcessorChain.java:83)
  22. at io.gravitee.gateway.handlers.api.ApiReactorHandler.handleClientRequest(ApiReactorHandler.java:139)
  23. at io.gravitee.gateway.handlers.api.ApiReactorHandler.doHandle(ApiReactorHandler.java:123)
  24. at io.gravitee.gateway.reactor.handler.AbstractReactorHandler.handle(AbstractReactorHandler.java:88)
  25. at io.gravitee.gateway.reactor.impl.DefaultReactor.lambda$route$0(DefaultReactor.java:81)
  26. at io.gravitee.gateway.reactor.handler.transaction.TransactionHandler.handle(TransactionHandler.java:57)
  27. at io.gravitee.gateway.reactor.handler.transaction.TransactionHandler.handle(TransactionHandler.java:28)
  28. at io.gravitee.gateway.reactor.impl.DefaultReactor.route(DefaultReactor.java:92)
  29. at io.gravitee.gateway.standalone.vertx.VertxReactorHandler.handle(VertxReactorHandler.java:42)
  30. at io.gravitee.gateway.standalone.vertx.VertxReactorHandler.handle(VertxReactorHandler.java:29)
  31. at io.vertx.core.http.impl.Http1xServerConnection.processMessage(Http1xServerConnection.java:453)
  32. at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:144)
  33. at io.vertx.core.http.impl.Http1xServerHandler.handleMessage(Http1xServerHandler.java:74)
  34. at io.vertx.core.http.impl.Http1xServerHandler.handleMessage(Http1xServerHandler.java:35)
  35. at io.vertx.core.net.impl.VertxHandler.lambda$channelRead$1(VertxHandler.java:146)
  36. at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
  37. at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
  38. at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:144)
  39. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  40. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  41. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  42. at io.vertx.core.http.impl.HttpServerImpl$Http2UpgradeHandler.channelRead(HttpServerImpl.java:984)
  43. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  44. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  45. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  46. at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
  47. at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
  48. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  49. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  50. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  51. at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
  52. at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38)
  53. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  54. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  55. at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  56. at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
  57. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  58. at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  59. at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
  60. at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:141)
  61. at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
  62. at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
  63. at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
  64. at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
  65. at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
  66. at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  67. at java.lang.Thread.run(Thread.java:748)
  68. Caused by: io.gravitee.gateway.policy.PolicyException: java.lang.reflect.InvocationTargetException
  69. at io.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:96)
  70. at io.gravitee.gateway.policy.impl.PolicyImpl.onRequest(PolicyImpl.java:49)
  71. at io.gravitee.gateway.policy.impl.RequestPolicyChain.execute(RequestPolicyChain.java:44)
  72. ... 65 more
  73. Caused by: java.lang.reflect.InvocationTargetException
  74. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  75. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  76. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  77. at java.lang.reflect.Method.invoke(Method.java:498)
  78. at io.gravitee.gateway.policy.impl.PolicyImpl.invoke(PolicyImpl.java:94)
  79. ... 67 more
  80. Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.gravitee.repository.ratelimit.api.RateLimitService' available
  81. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:346)
  82. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:333)
  83. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:344)
  84. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:333)
  85. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105)
  86. at io.gravitee.gateway.reactor.handler.context.DefaultExecutionContext.getComponent(DefaultExecutionContext.java:61)
  87. at io.gravitee.policy.ratelimit.RateLimitPolicy.onRequest(RateLimitPolicy.java:81)
  88. ... 72 more
  89. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement