-
Notifications
You must be signed in to change notification settings - Fork 85
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
return value of "java.util.function.Function.apply(Object)" is null when attempting to install plugin(s) #1535
Comments
Do you see any exceptions (e.g. error log or eclipse log) together with this? Beside this I think it is more a P2 thing than PDE. Also where one gets this PEx_for_Kinetis_3.0.0.zip from to reproduce the problem? |
Thanks! under the download header I followed the instructions I'm new to Eclipse, just found the debug CLI options:
Regarding the error:
Looking at line 5213 of
Should I re-file under https://github.com/eclipse-equinox/p2? |
Going back to: The So the problem appeared between versions 4.27.0 and 4.28.0. |
Yes, this looks like a p2 problem. Though that being said, it looks more like a problem that the update site is corrupt because it's widely assumed that the ID is non-null. Perhaps the deserializer should omit such things, or map null to "". But then what else should it all do to turn invalid input into not-so-invalid data? Better would be to fix the update site, or add id="" to that file at the point at which it complains if this is some content for which the folks have stopped providing updates. |
Eclipse Version: 2024-12 (4.34.0)
Build id: 20241128-0757
While attempting to install
PEx_for_Kinetis_3.0.0.zip
I get:This happens when I launch eclipse as root as well. The prequisite plugin
freescale_updater.zip
installs without issue. I suspect this problem is not related to the specific plugin, becuase there is a open issue on the old bugtracker with the same error attempting to install a different plugin: https://bugs.eclipse.org/bugs/show_bug.cgi?id=583494 (the 2nd comment on that bug is from me).Attempting the same install on a slightly older Eclipse:
Eclipse Version: 2023-06 (4.28.0)
Build id: 20230608-1333
I get what looks like a related error:
In both cases, I started with a empty workspace and no other non-default plugins installed. I'm on gentoo-latest. My system JRE is:
But as the bug notes, I think Eclipse bundles it's own JRE(?)
The text was updated successfully, but these errors were encountered: