Conversation
|
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
🔍 CI failure analysis for 12866d3: maven-sonarcloud-ci shows 7 test failures (1 failure + 6 errors) in different test classes - pre-existing test issues unrelated to PR's defensive null check.Previously Reported Failures (STILL ACTIVE)Issues 1-7: See previous analysis
Issue 8: maven-sonarcloud-ci Failure (NEW)Root Cause7 tests failed (1 failure + 6 errors): Test Results: 7836 tests run, 1 failure, 6 errors, 701 skipped Failed Tests:
4-6. AwsCredentialsUtilTest (3 tests - ALL ERRORS)
AnalysisWhy these failures are unrelated to this PR: This PR only modifies // Added defensive null check
return name.equals("include") && include != null ? include.value() : queryParams.get(name);This change does NOT affect:
These are pre-existing test issues:
None of these failures are caused by adding a null check to Filter.getQueryParam() because:
Status: Unrelated to this PR - pre-existing test failures in various components. Issue 9: Test Report Failure (NEW - CASCADING)Root CauseCascading failure from maven-sonarcloud-ci test failures. Status: Not a separate issue - consequence of Issue 8. SummaryTotal CI Failures: 9 distinct issues affecting multiple jobs
All failures are:
This PR: Only adds defensive null checking ( No CI failures are caused by or related to the changes in this PR. Code Review ✅ ApprovedClean one-line NPE fix that adds a null guard for the Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
includefield before callinginclude.value()to prevent NPE during reindex operations&& include != null) to safely handle cases where the optionalincludefield is not initializedopenmetadata-service/src/main/java/org/openmetadata/service/jdbi3/Filter.javapreserving existing behavior and backward compatibility