apache / apache/servicecomb-java-chassis

[BUG] - The registration center response exception cause nullPointerException.

未关闭
#4,910 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
1.9k
派生
814
平均合并
8 天 23 小时
30 天内合并 PR
1

描述

### Steps to Reproduce

java.lang.NullPointerException: null
at org.apache.servicecomb.service.center.client.ServiceCenterRegistration$SendHeartBeatTask.execute(ServiceCenterRegistration.java:294) ~[service-center-client-2.8.26.jar:2.8.26]
at org.apache.servicecomb.http.client.task.AbstractTask.lambda$startTask$2(AbstractTask.java:94) ~[http-client-common-2.8.26.jar:2.8.26]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_372]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_372]
at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_372]

### Expected Behavior

_No response_

### Servicecomb Version

_No response_

### Additional Context

_No response_

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start at ServiceCenterRegistration$SendHeartBeatTask.execute in service-center-client, especially line 294 from the stack trace, and trace the response handling that leads to the NullPointerException. Reproduce the heartbeat failure if possible and identify the missing context, since the issue gives no expected behavior or test location. Done means the reported registration-center response path no longer throws this NullPointerException and its failure cause remains actionable.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend, distributed-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。