com.codingapi.txlcn.txmsg.netty.impl.NettyRpcClient.remoteKeys 空指针异常
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 4.2k
- Fork
- 1.4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate.
### 1. Bug Description
java.lang.NullPointerException: null
at com.codingapi.txlcn.txmsg.netty.bean.SocketManager.removeKeys(SocketManager.java:178) ~[txlcn-txmsg-netty-5.0.2.RELEASE.jar!/:5.0.2.RELEASE]
at com.codingapi.txlcn.txmsg.netty.impl.NettyRpcClient.remoteKeys(NettyRpcClient.java:96) ~[txlcn-txmsg-netty-5.0.2.RELEASE.jar!/:5.0.2.RELEASE]
at com.codingapi.txlcn.tm.core.SimpleTransactionManager.notifyTransaction(SimpleTransactionManager.java:130) ~[classes!/:5.0.2.RELEASE]
at com.codingapi.txlcn.tm.core.SimpleTransactionManager.commit(SimpleTransactionManager.java:90) ~[classes!/:5.0.2.RELEASE]
at com.codingapi.txlcn.tm.txmsg.transaction.NotifyGroupExecuteService.execute(NotifyGroupExecuteService.java:71) ~[classes!/:5.0.2.RELEASE]
at com.codingapi.txlcn.tm.txmsg.ServerRpcAnswer.lambda$callback$0(ServerRpcAnswer.java:71) ~[classes!/:5.0.2.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_161]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_161]
### 2. Environment:
- JDK version: 1.8
- OS: linux
- TX-LCN version: 5.0.2.RELEASE
- Others:
### 3. Exception Stacktrace
```
Paste your Exception Stacktrace here!
```
### 4. Tour Idea
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Start with txmsg-netty's SocketManager.removeKeys at line 178 and NettyRpcClient.remoteKeys at line 96, following the reported stack trace into SimpleTransactionManager.notifyTransaction. Reproduce the commit notification path under JDK 8 and identify why the key removal receives null. Done means the path no longer raises the reported NullPointerException and a regression test covers it.
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
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100