Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Riena Snippets 5.0.0(Cannot run snippet due to uninitialized PlatformExtensionRegistry)
Riena Snippets 5.0.0 [message #1113061] Fri, 20 September 2013 15:30
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 312
Registered: February 2012
Location: Düsseldorf
Senior Member
i have a question regarding running one of the riena snippets. I have just installed the targetplatform for riena in Eclipse Kepler. I have successfully tried out the example.client app.

Now I am trying to start one of the riena snippets.
This is what I have done so far:

1. Created a plugin project
2. Added org.eclipse.riena.client as a dependency
3. Start the HelloWorld Snippet using Run > Run As > Java Application

Running the program ends in a NP exception (see below) because the Eclipse RegistryFactory is not initialized. In case of an Eclipse Application this Registry would be initialized by the org.eclipse.core.internal.registry.osgi.Activator. How is this supposed to work if run as Java Application. Am I doing something wrong here?


Exception in thread "main" org.eclipse.riena.core.util.ReflectionFailure: Could not instantiate ridget 'class org.eclipse.riena.internal.ui.ridgets.swt.LabelRidget' for control 'Label {}'
	at org.eclipse.riena.ui.ridgets.uibinding.DefaultBindingManager.createRidget(
	at org.eclipse.riena.ui.ridgets.uibinding.DefaultBindingManager.injectRidgets(
	at org.eclipse.riena.ui.ridgets.swt.SwtRidgetFactory.createRidget(
	at de.sal.riena.snippets.SnippetHelloWorld.main(
Caused by: java.lang.NullPointerException
	at org.eclipse.riena.ui.ridgets.IValueBindingSupportProvider$ExtensionAccess.createInstance(
	at org.eclipse.riena.ui.ridgets.swt.AbstractValueRidget.createValueBindingSupport(
	at org.eclipse.riena.ui.ridgets.swt.AbstractValueRidget.<init>(
	at org.eclipse.riena.ui.ridgets.swt.AbstractLabelRidget.<init>(
Previous Topic:Riena Tutorial
Next Topic:Riena 5.0.0: No More Handles
Goto Forum:

Current Time: Sun Nov 27 19:31:39 GMT 2022

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

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

Back to the top