Community
Participate
Working Groups
Java Version : 1.8_40 ea Since the last update of the target runtime (2.0.0.201503100602), my RCP application does not start any longer but throws an nullpointer exception, as follows : !ENTRY org.eclipse.equinox.app 4 0 2015-03-10 09:40:04.875 !MESSAGE null values not allowed !STACK 0 java.lang.NullPointerException: null values not allowed at org.eclipse.core.internal.registry.ReferenceMap.put(ReferenceMap.java:351) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.getBundle(RegistryStrategyOSGI.java:151) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:166) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191) at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) at java.lang.Thread.run(Unknown Source)
I don't think this is something we can do. This looks like Equinox the only idea I have is that you try to clear the OSGi-cache in your run config (Configuration-Tab in your Launch-Config-Dialog)
Clearing the cache indeed solves the problem. Thanks a lot!
Hi, this is also seen in bug 443761. I suspect your RCP application is missing the org.eclipse.osgi.compatibility.state compatibility fragment.