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

ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19 #165

Closed
vpinna80 opened this issue Dec 1, 2020 · 1 comment · Fixed by #171
Closed

ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19 #165

vpinna80 opened this issue Dec 1, 2020 · 1 comment · Fixed by #171
Milestone

Comments

@vpinna80
Copy link

vpinna80 commented Dec 1, 2020

Hi,
when bundling artifacts with Java 11 modules, this error is printed.
It only happens with specified artifacts which use modules.

[error]  : Exception: java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
[error]  : Invalid class file module-info.class (java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19)
@sparsick
Copy link
Collaborator

this error is coming from bnd tool. We have to update the bnd dependencies at least 3.5.0

sparsick added a commit to sparsick/p2-maven-plugin that referenced this issue Jan 14, 2021
sparsick added a commit that referenced this issue Feb 15, 2021
#165: fix ArrayOutOfExecption with Java 9 modules
@sparsick sparsick added this to the 1.6.0 milestone Mar 26, 2021
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

Successfully merging a pull request may close this issue.

2 participants