Community
Participate
Working Groups
Build I20031211 Trying to launch a simple example application that uses the generic workbench. No features are included in this application. Gets a fatal NPE on startup. Workbench startup is doing: IPlatformConfiguration conf = BootLoader.getCurrentPlatformConfiguration(); String featureId = conf.getPrimaryFeatureIdentifier(); IPlatformConfiguration.IFeatureEntry feature = null; if (featureId != null) { feature = conf.findConfiguredFeatureEntry(featureId); } conf comes back as a configuration with no configured features (correct), but conf.getPrimaryFeatureIdentifier() returns "org.eclipse.platform" (!), and conf.findConfiguredFeatureEntry("org.eclipse.platform") returns a wrapped null feature. This ends up resulting in an NPE. At the very least, the implementation of OldPlatformConfiguration.findConfiguredFeatureEntry() should return null when PlatformConfiguration.findConfiguredFeatureEntry returns null.
*** This bug has been marked as a duplicate of 49008 ***