-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Bnd ArrayIndexOutOfBoundsException with * command on Conditional-Package option #2220
Comments
When I cloned the gamaplugin project and ran ./gradlew, I saw the following downloads:
So it appears that both bndlib 2.2.0 and bndlib 3.2.0 are BOTH being used which is a source of concern. And I was able to build the project without seeing any ArrayIndexOutOfBoundsException. So you need to provide more specific directions on how to reproduce the issue with Bndlib 3.5 which is the current release. The code in this area has change quite significantly since 3.2 and the stacktrace information in your bug is incomplete (it is missing the top lines) and does not fit the current code. Even more disturbing is that the stacktrace information does fit the Bndlib 2.2 code: bnd/biz.aQute.bndlib/src/aQute/bnd/osgi/Clazz.java Lines 418 to 428 in e3dce61
I suggest you understand why there are 2 versions of Bndlib present and fix that first. Perhaps some other dependent is pulling in Bndlib 2.2. |
Ok thanks for information, i try to trace the error and i post here if i have news. Edit :
I try to search which package download bndlib 2.2.0 .... Edit, found using buildEnvironement command, bnd-platform:1.5.0 use bndlib 2.2.0, so this is probably a problem of bnd-tools ..
I update the version of Bnd-platform to latest SNAPSHOT version : https://github.com/stempler/bnd-platform#using-the-current-snapshot |
The joys of transitive dependencies... I will close this issue since the problem is not in Bnd itself. |
Hi,
I recently reported the issue in goomph which use the latest version of bndtools to declare Manifest :
When i add
*
option to 'Conditional-Package', i have an errorjava.lang.ArrayIndexOutOfBoundsException
I already report this error in goomph issue tracker :
diffplug/goomph#40 (comment)
The code which report this error is here : https://github.com/ANRGenstar/gamaplugin
The text was updated successfully, but these errors were encountered: