hiero-ledger / hiero-ledger/hiero-consensus-node

Fix NPE in DefaultISSDetector.handleCatastrophic()

Open
#18,829 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.