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

Handle the case of empty BSN in maven target location #4700

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Feb 8, 2025

It seem for some reasons there are "bundles" in the wild that contain an OSGi manifest with an empty BSN what currently leads to a NPE if used inside a target.

This now enhances the check for a valid OSGi manifest in a way that it is not only required to have a BSN but also that it is not empty.

@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Feb 8, 2025
@laeubi laeubi enabled auto-merge (rebase) February 8, 2025 05:44
It seem for some reasons there are "bundles" in the wild that contain an
OSGi manifest with an empty BSN what currently leads to a NPE if used
inside a target.

This now enhances the check for a valid OSGi manifest in a way that it
is not only required to have a BSN but also that it is not empty.
Copy link

github-actions bot commented Feb 8, 2025

Test Results

  609 files  ±0    609 suites  ±0   4h 3m 8s ⏱️ + 1m 58s
  435 tests ±0    427 ✅ ±0   7 💤 ±0  1 ❌ ±0 
1 305 runs  ±0  1 282 ✅ ±0  22 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit 83cb758. ± Comparison against base commit 69f9754.

@laeubi laeubi merged commit a55b0e3 into eclipse-tycho:main Feb 8, 2025
13 of 15 checks passed
@eclipse-tycho-bot
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants