apache / apache/servicecomb-java-chassis

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

Đang mở
#4,910 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Java
Star
1.9k
Fork
814
Merge trung bình
8 ngày 23 giờ
Pull request đã merge (30 ngày)
1

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend, distributed-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.