Skip to content

HBASE-29860 Fix NullPointerException on Maven site build - #7694

Merged
PDavid merged 1 commit into
apache:branch-2.6from
PDavid:HBASE-29860-fix-npe-maven-site-build-branch-2.6
Jan 30, 2026
Merged

HBASE-29860 Fix NullPointerException on Maven site build#7694
PDavid merged 1 commit into
apache:branch-2.6from
PDavid:HBASE-29860-fix-npe-maven-site-build-branch-2.6

Conversation

@PDavid

Copy link
Copy Markdown
Contributor

This occurs when the parser encounters a section in an .xdoc file that it cannot properly index, such as sections without a name attribute.

This occurs when the parser encounters a section in an .xdoc file that it cannot properly index, such as sections without a name attribute.
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 14sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 18s
SubsystemReport/Notes
DockerClientAPI=1.53 ServerAPI=1.53 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#7694
Optional Tests
unameLinux f17a071fff3d 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 7918c59
Max. process+thread count40 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 14sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 17s
SubsystemReport/Notes
DockerClientAPI=1.53 ServerAPI=1.53 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#7694
Optional Tests
unameLinux a163cb1aa4a2 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 7918c59
Max. process+thread count41 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 14sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 20s
SubsystemReport/Notes
DockerClientAPI=1.53 ServerAPI=1.53 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#7694
Optional Tests
unameLinux 3d8dddf62578 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 7918c59
Max. process+thread count29 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 48sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ branch-2.6 Compile Tests _
+1 💚mvninstall3m 26sbranch-2.6 passed
-1 ❌mvnsite0m 15s/branch-mvnsite-root.txtroot in branch-2.6 failed.
+1 💚spotless0m 50sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall3m 7sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚mvnsite3m 27sthe patch passed
+1 💚xmllint0m 0sNo new issues.
+1 💚spotless0m 47spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 15sThe patch does not generate ASF License warnings.
15m 33s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#7694
Optional Testsdupname asflicense mvnsite codespell detsecrets xmllint spotless
unameLinux ec3aca625e8a 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 7918c59
Max. process+thread count78 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7694/1/console
versionsgit=2.34.1 maven=3.9.8 xmllint=20913
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@PDavid
PDavid marked this pull request as ready for review January 29, 2026 16:29
@PDavid
PDavid requested a review from Apache9January 29, 2026 16:29
@apurtell

Copy link
Copy Markdown
Contributor

I approved the changes because they are good on their own merit but do not seem to be fixing the site build issues per the precommit report.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.21.0:site (default-site) on project hbase: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.21.0:site failed. NullPointerException -> [Help 1]

I think more needs to be done here before we can claim it is a NPE fix @PDavid

@Umeshkumar9414

Copy link
Copy Markdown
Contributor

I did tried it on my local. It didn't give me NPE this time. Let me run it for multiple times.

@PDavid

Copy link
Copy Markdown
ContributorAuthor

@Apache9Apache9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should also include this for branch-2 and branch-3?

@Umeshkumar9414

Copy link
Copy Markdown
Contributor

I did tried it on my local. It didn't give me NPE this time. Let me run it for multiple times.

It is solving this NPE problem, Thanks @PDavid

@PDavid
PDavid merged commit 7e22bbb into apache:branch-2.6Jan 30, 2026
0 of 2 checks passed
@PDavid
PDavid deleted the HBASE-29860-fix-npe-maven-site-build-branch-2.6 branch January 30, 2026 19:43
@PDavid

Copy link
Copy Markdown
ContributorAuthor

We should also include this for branch-2 and branch-3?

@Apache9 branch-2 yes, thanks. I'll open a PR soon for this. On branch-3 this src/site/xdoc/cygwin.xml does not seem to exist.

@PDavid

Copy link
Copy Markdown
ContributorAuthor

Many thanks all for reviewing this. 👍

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@PDavid@Apache-HBase@apurtell@Umeshkumar9414@Apache9@liuxiaocs7