hiero-ledger / hiero-ledger/hiero-consensus-node
Fix NPE in DefaultISSDetector.handleCatastrophic()
Open
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
It is possible that `DefaultISSDetector.handleCatastrophic()` is called while the current node has not calculated the hash yet.
Contributor guide
Research direction
Start by locating DefaultISSDetector.handleCatastrophic() and inspect the path where it is called before the current node has calculated its hash. Reproduce or trace the null-hash case and verify that the resulting NullPointerException is no longer possible, adding or updating a focused test if the surrounding test location is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100