{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-skywalking/issues/2008","repository_url":"https://api.github.com/repos/apache/incubator-skywalking","labels_url":"https://api.github.com/repos/apache/incubator-skywalking/issues/2008/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-skywalking/issues/2008/comments","events_url":"https://api.github.com/repos/apache/incubator-skywalking/issues/2008/events","html_url":"https://github.com/apache/incubator-skywalking/issues/2008","id":388106767,"node_id":"MDU6SXNzdWUzODgxMDY3Njc=","number":2008,"title":"HystrixGatewayFilterFactory java.lang.ClassCastException","user":{"login":"ppboyhai","id":8153537,"node_id":"MDQ6VXNlcjgxNTM1Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/8153537?v=4","gravatar_id":"","url":"https://api.github.com/users/ppboyhai","html_url":"https://github.com/ppboyhai","followers_url":"https://api.github.com/users/ppboyhai/followers","following_url":"https://api.github.com/users/ppboyhai/following{/other_user}","gists_url":"https://api.github.com/users/ppboyhai/gists{/gist_id}","starred_url":"https://api.github.com/users/ppboyhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppboyhai/subscriptions","organizations_url":"https://api.github.com/users/ppboyhai/orgs","repos_url":"https://api.github.com/users/ppboyhai/repos","events_url":"https://api.github.com/users/ppboyhai/events{/privacy}","received_events_url":"https://api.github.com/users/ppboyhai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ascrutae","id":12436447,"node_id":"MDQ6VXNlcjEyNDM2NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/12436447?v=4","gravatar_id":"","url":"https://api.github.com/users/ascrutae","html_url":"https://github.com/ascrutae","followers_url":"https://api.github.com/users/ascrutae/followers","following_url":"https://api.github.com/users/ascrutae/following{/other_user}","gists_url":"https://api.github.com/users/ascrutae/gists{/gist_id}","starred_url":"https://api.github.com/users/ascrutae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascrutae/subscriptions","organizations_url":"https://api.github.com/users/ascrutae/orgs","repos_url":"https://api.github.com/users/ascrutae/repos","events_url":"https://api.github.com/users/ascrutae/events{/privacy}","received_events_url":"https://api.github.com/users/ascrutae/received_events","type":"User","site_admin":false},"assignees":[{"login":"ascrutae","id":12436447,"node_id":"MDQ6VXNlcjEyNDM2NDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/12436447?v=4","gravatar_id":"","url":"https://api.github.com/users/ascrutae","html_url":"https://github.com/ascrutae","followers_url":"https://api.github.com/users/ascrutae/followers","following_url":"https://api.github.com/users/ascrutae/following{/other_user}","gists_url":"https://api.github.com/users/ascrutae/gists{/gist_id}","starred_url":"https://api.github.com/users/ascrutae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascrutae/subscriptions","organizations_url":"https://api.github.com/users/ascrutae/orgs","repos_url":"https://api.github.com/users/ascrutae/repos","events_url":"https://api.github.com/users/ascrutae/events{/privacy}","received_events_url":"https://api.github.com/users/ascrutae/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-06T08:33:33Z","updated_at":"2018-12-06T09:57:29Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue.\r\n\r\n- Why do you submit this issue?\r\n- [ √] Question or discussion\r\n- [ √] Bug\r\n- [ ] Requirement\r\n- [ ] Feature or performance improvement\r\n\r\n___\r\n### Question\r\n- What do you want to know?\r\n\r\n___\r\n### Bug\r\n- Which version of SkyWalking, OS and JRE?\r\n SkyWalking6.0 alpha 、windows10、JDK1.8\r\n- Which company or project?\r\n\r\n- What happen?\r\n环境及场景如下\r\n1.通过本地idea启动spring boot2 编写的服务并加入了skywalking的vm参数\r\n2.本地项目是分布式服务，使用了spring eureka、 spring config、 spring cloud gateway\r\n3.项目启动均正常，但是在调用服务的时候，网管服务报错如下：,所有对外接口均不能正常调用\r\n`java.lang.ClassCastException: org.springframework.cloud.gateway.filter.factory.HystrixGatewayFilterFactory$RouteHystrixCommand cannot be cast to org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance\r\n\tat org.apache.skywalking.apm.plugin.hystrix.v1.SWExecutionHookWrapper.onStart(SWExecutionHookWrapper.java:42)\r\n\tat com.netflix.hystrix.AbstractCommand$ExecutionHookDeprecationWrapper.onStart(AbstractCommand.java:2134)\r\n\tat com.netflix.hystrix.AbstractCommand.applyHystrixSemantics(AbstractCommand.java:520)\r\n\tat com.netflix.hystrix.AbstractCommand.access$200(AbstractCommand.java:60)\r\n\tat com.netflix.hystrix.AbstractCommand$4.call(AbstractCommand.java:419)\r\n\tat com.netflix.hystrix.AbstractCommand$4.call(AbstractCommand.java:413)\r\n\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)\r\n\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)\r\n\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)\r\n\tat rx.Observable.subscribe(Observable.java:10423)\r\n\tat rx.Observable.subscribe(Observable.java:10390)\r\n\tat rx.Observable.subscribe(Observable.java:10271)\r\n\tat org.springframework.cloud.gateway.filter.factory.HystrixGatewayFilterFactory.lambda$null$0(HystrixGatewayFilterFactory.java:99)\r\n\tat org.springframework.cloud.gateway.filter.factory.HystrixGatewayFilterFactory$$Lambda$926/1681626645.accept(Unknown Source)\r\n\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:54)\r\n\tat reactor.core.publisher.MonoOnErrorResume.subscribe(MonoOnErrorResume.java:44)\r\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:3080)\r\n\tat reactor.core.publisher.MonoIgnorePublisher.subscribe(MonoIgnorePublisher.java:41)\r\n\tat reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)\r\n\tat reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)\r\n\tat reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:150)\r\n\tat reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:115)\r\n\tat reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1083)\r\n\tat reactor.core.publisher.MonoReduceSeed$ReduceSeedSubscriber.onComplete(MonoReduceSeed.java:150)\r\n\tat reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onComplete(Operators.java:1318)\r\n\tat reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onComplete(FluxDoFinally.java:138)\r\n\tat reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:130)\r\n\tat reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onComplete(Operators.java:1318)\r\n\tat reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:349)\r\n\tat reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onComplete(FluxConcatMap.java:265)\r\n\tat reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onComplete(Operators.java:1318)\r\n\tat reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onComplete(MonoFlatMapMany.java:248)\r\n\tat io.lettuce.core.RedisPublisher$State.onAllDataRead(RedisPublisher.java:646)\r\n\tat io.lettuce.core.RedisPublisher$RedisSubscription.onAllDataRead(RedisPublisher.java:298)\r\n\tat io.lettuce.core.RedisPublisher$SubscriptionCommand.complete(RedisPublisher.java:729)\r\n\tat io.lettuce.core.protocol.CommandWrapper.complete(CommandWrapper.java:57)\r\n\tat io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:598)\r\n\tat io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:556)\r\n\tat io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:508)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)\r\n\tat io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)\r\n\tat io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)\r\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\r\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)\r\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)\r\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\r\n\tat java.lang.Thread.run(Thread.java:745)`\r\n___\r\n### Requirement or improvement\r\n- Please describe about your requirements or improvement suggestions."},"comment":{"url":"https://api.github.com/repos/apache/incubator-skywalking/issues/comments/444815255","html_url":"https://github.com/apache/incubator-skywalking/issues/2008#issuecomment-444815255","issue_url":"https://api.github.com/repos/apache/incubator-skywalking/issues/2008","id":444815255,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDgxNTI1NQ==","user":{"login":"github24518","id":40057497,"node_id":"MDQ6VXNlcjQwMDU3NDk3","avatar_url":"https://avatars2.githubusercontent.com/u/40057497?v=4","gravatar_id":"","url":"https://api.github.com/users/github24518","html_url":"https://github.com/github24518","followers_url":"https://api.github.com/users/github24518/followers","following_url":"https://api.github.com/users/github24518/following{/other_user}","gists_url":"https://api.github.com/users/github24518/gists{/gist_id}","starred_url":"https://api.github.com/users/github24518/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github24518/subscriptions","organizations_url":"https://api.github.com/users/github24518/orgs","repos_url":"https://api.github.com/users/github24518/repos","events_url":"https://api.github.com/users/github24518/events{/privacy}","received_events_url":"https://api.github.com/users/github24518/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T09:57:29Z","updated_at":"2018-12-06T09:57:29Z","author_association":"NONE","body":"我也遇到这个问题！！\r\nWhitelabel Error Page\r\nThis application has no configured error view, so you are seeing this as a fallback.\r\n\r\nThu Dec 06 17:51:29 CST 2018\r\nThere was an unexpected error (type=Internal Server Error, status=500).\r\n**org.springframework.cloud.gateway.filter.factory.HystrixGatewayFilterFactory$RouteHystrixCommand cannot be cast to org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance**"}}
{"actor":{"display_login":"github24518"}}