Skip to content

Conversation

@chrisrueger
Copy link
Contributor

Closes #6387

Seems jar.getDirectories() can contain null values, if there is a jar with META-INF/services/subfolder, but META-INF/services itself does not contain any files. In this case the directories() map contains a key for "META-INF/services" but a null value (which is the map which is null here)

Seems jar.getDirectories() can contain null values, if there is a jar with META-INF/services/subfolder, but META-INF/services itself does not contain any files. In this case the directories() map contains a key for "META-INF/services" but a null value (which is the map which is null here)

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>

improve test

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger force-pushed the fix-npe-MetaInfService branch from 0018516 to bc89fe5 Compare December 4, 2024 20:44
@pkriens pkriens merged commit 8c79789 into bndtools:master Dec 5, 2024
9 checks passed
@pkriens pkriens added the cherry-pick Candidate to cherry-pick to next label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Candidate to cherry-pick to next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maven bnd:7.1.0:bnd-process. NPE after migrating from 7.0.0

2 participants