Community
Participate
Working Groups
An attempt to publish a product that contains the org.eclipse.update.configurator but not the equinox.simpleconfigurator results in the following exception: Caused by: java.lang.NullPointerException at org.eclipse.core.internal.runtime.Activator.getURLConverter(Activator.java:313) at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:205) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.getBundleDescriptions(BundlesAction.java:778) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.perform(BundlesAction.java:576) at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:170)
Created attachment 129196 [details] Patch to correct the problem The failing code is in the getBundleDescriptions() method where an attempt is made to find the simpleconfigurator jar, wihtout a version, inside the BundlesAction bundle. I changed this so that the Bundle is retrieved using the Platform.getBundle() and the file appointing it is obtained using the FileLocator.getBundleFile()
Fixed in HEAD.