Skip to main content


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
Hi,
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
!STACK 1
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(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
	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.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:282)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:278)
	at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
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(RegistryStrategyOSGI.java:184)
	... 11 more
Caused by: java.lang.NullPointerException
	at org.eclipse.core.internal.runtime.InternalPlatform.getNL(InternalPlatform.java:373)
	at org.eclipse.core.runtime.Platform.getNL(Platform.java:1119)
	at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<clinit>(AutomaticUpdateScheduler.java:55)
	... 18 more


Has anyone any idea, what this error means and where it come from?
Thanks and greetings from Germany
Simon
  • Attachment: workbench.xmi
    (Size: 54.31KB, Downloaded 362 times)
Previous Topic:shared bundle pool and features with different versions
Next Topic:Cannot update a feature of a product
Goto Forum:
  


Current Time: Tue Mar 19 06:25:38 GMT 2024

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

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

Back to the top