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

Prevent NPE when no artifact repository is given #524

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Jun 11, 2024

Currently RawMirrorRequest can fail if no repository is given in the descriptor and it want to log a message.

P2 should be gracefully in this case and simply report the location as being unknown.

Copy link

github-actions bot commented Jun 11, 2024

Test Results

  375 files  ±0    375 suites  ±0   48m 43s ⏱️ + 1m 48s
1 895 tests ±0  1 892 ✅ ±0  3 💤 ±0  0 ❌ ±0 
6 685 runs  ±0  6 676 ✅ ±0  9 💤 ±0  0 ❌ ±0 

Results for commit 1aaa4f0. ± Comparison against base commit 385d266.

♻️ This comment has been updated with latest results.

@merks
Copy link
Contributor

merks commented Jun 11, 2024

Of course the usual version bump games kick in...

@laeubi laeubi force-pushed the prevent_npe_if_no_loc_is_given branch 5 times, most recently from 723c7ff to 8a25278 Compare June 16, 2024 11:54
@laeubi
Copy link
Member Author

laeubi commented Jun 26, 2024

@merks sorry for the delay, yes it seems soem version bumps are still required.

@laeubi
Copy link
Member Author

laeubi commented Jun 26, 2024

@merks actually it is "Error reading manifest for /home/jenkins/agent/workspace/p2_PR-524/.m2/repository/p2/osgi/bundle/bcprov.source/1.78.1/bcprov.source-1.78.1.jar" again not a version bump problem, so I'll rebase...

@laeubi laeubi requested a review from merks June 26, 2024 13:43
Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@laeubi laeubi force-pushed the prevent_npe_if_no_loc_is_given branch from 8a25278 to c0131e9 Compare June 26, 2024 13:54
@laeubi laeubi force-pushed the prevent_npe_if_no_loc_is_given branch from c0131e9 to 5ac403a Compare September 5, 2024 10:29
Currently RawMirrorRequest can fail if no repository is given in the
descriptor and it want to log a message.

P2 should be gracefully in this case and simply report the location as
being unknown.
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 this pull request may close these issues.

2 participants