Closed jonathan-meier closed 2 years ago
Thanks for the detailed description. I uploaded a new goomph-p2-bootstrap-4.13.0.fix185.zip
which has the workaround you described above, and I made it the default bootstrap version in Goomph 3.36.2
. Hopefully this fixes the issue, let me know if it doesn't.
I can confirm that version 3.36.2
fixes this issue. Thank you! 👍
When running a
P2AntRunner
(e.g. created byP2Model.mirrorApp
) viaP2AntRunner.runUsingBootstrapper
throws an NPE:I tracked this down to a problem in the distributed bootstrapper (https://repo.diffplug.com/misc/goomph-p2-bootstrap/goomph-p2-bootstrap-4.13.0.zip). Something seems to have gone wrong when assembling this bootstrapper, because there is a version mismatch for the
org.apache.ant
plugin. According to the plugin directory as well as the manifest in there, the installed plugin has version1.10.5.v20190526-1402
. However, the plugin version specified in thesimpleconfigurator
configuration (inconfiguration/org.eclipse.equinox.simpleconfigurator/bundles.info
) for theorg.apache.ant
plugin is1.10.6.v20190516-0412
.This leads to the plugin not being loaded when running the
AntRunner
and therefore, noant
version can be found which then leads to the NPE.Manually adjusting the version in
bundles.info
to1.10.5.v20190526-1402
matching the plugin directory name resolves the issue.This is likely the same issue as #144.