Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Scheduler could not create instance of AutomaticUpdateScheduler > NullPointer
icon4.gif  Scheduler could not create instance of AutomaticUpdateScheduler > NullPointer [message #1235043] Thu, 23 January 2014 12:26
Simon Mising name is currently offline Simon Mising nameFriend
Messages: 12
Registered: December 2011
Junior Member
I have a weird NullPointerException in my Eclipse RCP project. The exception refers to the p2.ui.sdk.scheduler class and I hope this is the right forum for this problem.

I get following exception after starting my own Eclipse RCP application. This error causes a complete crash of Eclipse, unless I delete the workbench.xmi file. After deleting the workbench.xmi file, I am able to start my RCP application without the error.

!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2014-01-23 13:14:45.910
!MESSAGE Unable to execute early startup code for an extension
org.eclipse.core.runtime.CoreException: Das Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" konnte kein Exemplar der Klasse "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler" erstellen.
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(
	at org.eclipse.ui.internal.WorkbenchPlugin$
	at org.eclipse.swt.custom.BusyIndicator.showWhile(
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(
	at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(
	at org.eclipse.ui.internal.Workbench$
Caused by: java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(
	... 11 more
Caused by: java.lang.NullPointerException
	at org.eclipse.core.internal.runtime.InternalPlatform.getNL(
	at org.eclipse.core.runtime.Platform.getNL(
	at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<clinit>(
	... 18 more

Has anyone any idea, what this error means and where it come from?
Thanks and greetings from Germany
Previous Topic:shared bundle pool and features with different versions
Next Topic:Cannot update a feature of a product
Goto Forum:

Current Time: Mon Nov 30 22:30:27 GMT 2015

Powered by FUDForum. Page generated in 0.01731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software