Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex fails on Java 21 #5093

Closed
IncandescentChrysalis opened this issue Aug 28, 2024 · 3 comments

Comments

@IncandescentChrysalis
Copy link

IncandescentChrysalis commented Aug 28, 2024

Description

Registry
Version
: 2.6.2.Final

The org.jboss.jandex:jandex-maven-plugin v1.2.3 module defined in the latest 2.* version (2.6.2.Final) fails to build on Java 21.

This is the same problem as discovered in the apache/hop project, solved by updating the dependency to io.smallrye:jandex-maven-plugin v3.1.8 (3.2.0+ changes the index version, causing problems with quarkus).

This update has already been made on main (#4656), hence this would merely be a backport of that update to the 2.* versions.
I see #5079 did not mention this plugin. I am also noticing this robot auto-update is only done on 2.5.x, not 2.6.x

Logs

#0 383.3 [ERROR] Failed to execute goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex (make-index) on project apicurio-registry-utils-tools: Execution make-index of goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex failed: Cannot read the array length because "bytes" is null -> [Help 1]
#0 383.3 [ERROR] Failed to execute goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex (make-index) on project apicurio-registry-utils-kafka: Execution make-index of goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex failed: Cannot read the array length because "bytes" is null -> [Help 1]
#0 383.3 [ERROR] Failed to execute goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex (make-index) on project apicurio-registry-common: Execution make-index of goal org.jboss.jandex:jandex-maven-plugin:1.2.3:jandex failed: Cannot read the array length because "bytes" is null -> [Help 1]
@apicurio-bot
Copy link

apicurio-bot bot commented Aug 28, 2024

Thank you for reporting an issue!

Pinging @andreaTP to respond or triage.

@IncandescentChrysalis
Copy link
Author

@EricWittmann This issue to be closed following PR merge?
Or maybe would you take the oppotunity to have the dependencies bot run on 2.6.x?

@EricWittmann
Copy link
Member

Yes thank you! This can be closed because it is now fixed on main and on 2.6.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants