-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A NullPointerException was thrown while the node was running #5812
Comments
@CSGT-KZ There is a concurrent access problem with the fetchBlockInfo object. The concurrency steps are as follows.
|
@ss334452 What is the probability of this concurrency issue occurring? |
@jwrct The probability of occurrence is extremely low and has no impact on the system. |
@zeusoo001 Even though the probability of this concurrency issue occurring is low and does not affect the system, after all, the program threw an exception, which is not the expected result, right? Do you think it's necessary to fix this problem? Or maybe you already have a solution to fix it? |
@jwrct Considering the strictness of the code, it needs to be repaired. The repair plan is not to directly access the
change into
|
Fixed in this PR: #5831 |
System information
Java-tron version: v4.7.4
OS & Version: Linux & macOS
Expected behavior
NullPointerException should not be thrown.
Actual behavior
When checking the node's log, I found a NullPointerException:
Frequency
1 time
The text was updated successfully, but these errors were encountered: