You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/10/28 13:59:48 UTC

[GitHub] [dubbo-go] weiyuanke opened a new issue, #2084: panic when define a 'Echo' service

weiyuanke opened a new issue, #2084:
URL: https://github.com/apache/dubbo-go/issues/2084

   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   服务端proto文件
   ![image](https://user-images.githubusercontent.com/1445434/196411721-3c742955-f86e-4e38-b2ef-aa98ef649b62.png)
   
   客户端测试代码
   ![image](https://user-images.githubusercontent.com/1445434/196412004-3412c01b-6249-4a77-bf3b-bfa0d59f2f0e.png)
   
   报错信息:
   ![image](https://user-images.githubusercontent.com/1445434/196412638-59e2369a-10c9-4ace-8c7d-2111ecf36466.png)
   
   `2022-10-17T20:02:15.705+0800  INFO  config/root_config.go:150  [Config Center] Config center doesn't start
   2022-10-17T20:02:15.706+0800  INFO  [dub](https://github.com/apache/dubbo-go/issues/new?assignees=&labels=kind%2Fbug&template=bug-report.md#)[bo](https://github.com/apache/dubbo-go/issues/new?assignees=&labels=kind%2Fbug&template=bug-report.md#)3/dubbo3_protocol.go:141  [Triple Protocol] Refer service: tri://localhost:20000/api.EchoService?app.version=3.0.0&application=dubbo.io&async=false&bean.name=EchoServiceClientImpl&cluster=failover&config.tracing=&environment=dev&generic=&group=&interface=api.EchoService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1666008135&version=
   2022-10-17T20:02:15.707+0800  INFO  dubbo3/dubbo3_protocol.go:141  [Triple Protocol] Refer service: tri://localhost:20000/api.Greeter?app.version=3.0.0&application=dubbo.io&async=false&bean.name=GreeterClientImpl&cluster=failover&config.tracing=&environment=dev&generic=&group=&interface=api.Greeter&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timestamp=1666008135&version=
   name:"Hello laurence" id:"12345" age:21
   panic: reflect: call of reflect.Value.IsZero on zero Value
   
   goroutine 1 [running]:
   reflect.Value.IsZero({0x0?, 0x0?, 0x10?})
     /opt/homebrew/Cellar/go/1.19.1/libexec/src/reflect/value.go:1602 +0x488
   github.com/dubbogo/triple/pkg/triple.(*TripleClient).Invoke(0x140001080f0, {0x10365a8cf, 0x5}, {0x1400035d500, 0x2, 0x10}, {0x103b0a600?, 0x140000e3b80})
     /Users/yuankewei/go/pkg/mod/github.com/dubbogo/triple@v1.1.8/pkg/triple/dubbo3_client.go:111 +0x1f0
   dubbo.apache.org/dubbo-go/v3/protocol/dubbo3.(*DubboInvoker).Invoke(0x140002c0140, {0x103c4ee08, 0x140000c0000}, {0x103c5e3d0, 0x1400027c0d0})
     /Users/yuankewei/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/protocol/dubbo3/dubbo3_invoker.go:204 +0x870
   dubbo.apache.org/dubbo-go/v3/filter/graceful_shutdown.(*consumerGracefulShutdownFilter).Invoke(0x10?, {0x103c4ee08?, 0x140000c0000?}, {0x103c4f2d8?, 0x140002c0140?}, {0x103c5e3d0?, 0x1400027c0d0?})
     /Users/yuankewei/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/filter/graceful_shutdown/consumer_filter.go:63 +0x88
   dubbo.apache.org/dubbo-go/v3/protocol/protocolwrapper.(*FilterInvoker).Invoke(0x1400007ebd0, {0x103c4ee08, 0x140000c0000}, {0x103c5e3d0, 0x1400027c0d0})
     /Users/yuankewei/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/protocol/protocolwrapper/protocol_filter_wrapper.go:128 +0x58
   dubbo.apache.org/dubbo-go/v3/cluster/cluster/failover.(*failoverClusterInvoker).Invoke(0x1400007ec00, {0x103c4ee08, 0x140000c0000}, {0x103c5e3d0, 0x1400027c0d0})
     /Users/yuankewei/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/cluster/cluster/failover/cluster_invoker.go:85 +0x370
   dubbo.apache.org/dubbo-go/v3/common/proxy.DefaultProxyImplementFunc.func1.1({0x1400027e000, 0x2, 0x4?})
     /Users/yuankewei/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/common/proxy/proxy.go:200 +0x844
   main.main()
     /Users/yuankewei/project/hcs-server/test/dubboclient/client.go:53 +0x150
   exit status 2`
   
   
   将服务侧的service name从Echo改为Echo2之后,调用正常,怀疑与内部的Echo filter命名冲突
   
   
   
   
   **What happened**:
   
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks commented on issue #2084: 测试代码运行报错

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1282297494

   dubbogo 内部存在一个 Echo 的内置服务 filter,用户也定义了一个同名的,所以发生了冲突 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] zhaoyunxing92 closed issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 closed issue #2084: panic when define a 'Echo'  service
URL: https://github.com/apache/dubbo-go/issues/2084


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] mooleetzi commented on issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
mooleetzi commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1336016729

   > @justxuewei @mooleetzi this is not a bug.
   
   OK.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] mooleetzi commented on issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
mooleetzi commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1335179337

   Is this solved? if not, I'd like to work on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] justxuewei commented on issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
justxuewei commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1335183138

   Thanks, @mooleetzi, I assigned this issue to you. If you encounter any problems, you are welcome to discuss them in our Dingtalk group listed in the readme.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks commented on issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1336012115

   @justxuewei @mooleetzi this is not a bug.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] mooleetzi commented on issue #2084: panic when define a 'Echo' service

Posted by GitBox <gi...@apache.org>.
mooleetzi commented on issue #2084:
URL: https://github.com/apache/dubbo-go/issues/2084#issuecomment-1335397332

   > Thanks, @mooleetzi. I assigned this issue to you. If you encounter any problems, you are welcome to discuss them in our Dingtalk group listed in the readme.
   
   Ok~


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org