fix(store): fix npe in getVersion by JisoLya · Pull Request #2897 · apache/hugegraph

@JisoLya

fix npe in heartbeat
img_v3_02rk_9af1fc44-102d-4cee-ac86-b4c14b82179g

@JisoLya

@dosubot dosubot bot added size:M

This PR changes 30-99 lines, ignoring generated files.

bug

Something isn't working

store

Store module

labels

Nov 1, 2025

@JisoLya

@codecov

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 34.01%. Comparing base (d7697f4) to head (98e3df1).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
.../java/org/apache/hugegraph/store/util/Version.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2897      +/-   ##
============================================
- Coverage     34.13%   34.01%   -0.13%     
- Complexity      333      500     +167     
============================================
  Files           801      812      +11     
  Lines         67447    68598    +1151     
  Branches       8755     8952     +197     
============================================
+ Hits          23024    23334     +310     
- Misses        41923    42786     +863     
+ Partials       2500     2478      -22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Pengzna

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dosubot dosubot bot added the lgtm

This PR has been approved by a maintainer

label

Nov 1, 2025

imbajin