Skip to main content



      Home
Home » Archived » Riena » Riena Snippets 5.0.0(Cannot run snippet due to uninitialized PlatformExtensionRegistry)
Riena Snippets 5.0.0 [message #1113061] Fri, 20 September 2013 11:30
Eclipse UserFriend
Hi,
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?

Thx
Thorsten

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(DefaultBindingManager.java:180)
	at org.eclipse.riena.ui.ridgets.uibinding.DefaultBindingManager.injectRidgets(DefaultBindingManager.java:80)
	at org.eclipse.riena.ui.ridgets.swt.SwtRidgetFactory.createRidget(SwtRidgetFactory.java:56)
	at de.sal.riena.snippets.SnippetHelloWorld.main(SnippetHelloWorld.java:28)
Caused by: java.lang.NullPointerException
	at org.eclipse.riena.ui.ridgets.IValueBindingSupportProvider$ExtensionAccess.createInstance(IValueBindingSupportProvider.java:61)
	at org.eclipse.riena.ui.ridgets.swt.AbstractValueRidget.createValueBindingSupport(AbstractValueRidget.java:40)
	at org.eclipse.riena.ui.ridgets.swt.AbstractValueRidget.<init>(AbstractValueRidget.java:28)
	at org.eclipse.riena.ui.ridgets.swt.AbstractLabelRidget.<init>(AbstractLabelRidget.java:48)
Previous Topic:Riena Tutorial
Next Topic:Riena 5.0.0: No More Handles
Goto Forum:
  


Current Time: Wed Jul 09 08:14:38 EDT 2025

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

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

Back to the top