-
Notifications
You must be signed in to change notification settings - Fork 44
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
ProductFile should extract the locating of the instance area to a method to allow overrides by extenders #100
Comments
laeubi
added a commit
to laeubi/p2
that referenced
this issue
Jul 20, 2022
currently only half of the methods do a null check for the bundle context the other simply run ino a NPE. This adds the missing checks, see also eclipse-equinox#100
laeubi
added a commit
to laeubi/p2
that referenced
this issue
Jul 20, 2022
currently only half of the methods do a null check for the bundle context the other simply run ino a NPE. This adds the missing checks, see also eclipse-equinox#100
laeubi
added a commit
to laeubi/p2
that referenced
this issue
Jul 20, 2022
currently only half of the methods do a null check for the bundle context the other simply run into a NPE. This adds the missing checks, see also eclipse-equinox#100
mickaelistria
pushed a commit
that referenced
this issue
Aug 5, 2022
currently only half of the methods do a null check for the bundle context the other simply run into a NPE. This adds the missing checks, see also #100
laeubi
added a commit
to laeubi/p2
that referenced
this issue
Dec 4, 2022
to allow overrides by extenders Fix eclipse-equinox#100
akurtakov
pushed a commit
to laeubi/p2
that referenced
this issue
Dec 12, 2022
to allow overrides by extenders Fix eclipse-equinox#100
laeubi
added a commit
to laeubi/p2
that referenced
this issue
Dec 13, 2022
to allow overrides by extenders Fix eclipse-equinox#100
laeubi
added a commit
that referenced
this issue
Dec 14, 2022
to allow overrides by extenders Fix #100
laeubi
added a commit
to laeubi/tycho
that referenced
this issue
Sep 8, 2024
Currently we have a workaround for P2 bug eclipse-equinox/p2#100 but the method is now there and could be used.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
org.eclipse.equinox.internal.p2.publisher.eclipse.ProductFile currently uses
Location instanceLocation = ServiceHelper.getService(Activator.getContext(), Location.class, Location.INSTANCE_FILTER);
this obviously fails outside of OSGi as the BC is null.
One way would be to extract it into a protected method so extenders like Tycho can override and provide alternative locations or to check that the BC is actually not null...
The text was updated successfully, but these errors were encountered: