Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EMF Client » ECP and RAP
ECP and RAP [message #1220785] Fri, 13 December 2013 15:04 Go to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Hello,

iam trying to use ECP with RAP (the User example). If i click the +button to add a email i get follow error:
java.lang.NullPointerException
	at org.eclipse.emf.ecp.edit.internal.swt.actions.AddAttributeAction.run(AddAttributeAction.java:69)
	at org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl$4.widgetSelected(SWTControl.java:368)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:262)


The NPE is in the DefaultControlContext public EditingDomain getEditingDomain() {
return AdapterFactoryEditingDomain.getEditingDomainFor(eObject);
}

The eObject has no ressource.

So what is wrong Smile?

Thanks
Re: ECP and RAP [message #1220806 is a reply to message #1220785] Fri, 13 December 2013 17:40 Go to previous message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Ok wrong newgroup Very Happy

http://www.eclipse.org/forums/index.php/m/1220805/#msg_1220805
Previous Topic:IMPORTANT PLEASE READ: This newsgroup is shut down
Next Topic:IMPORTANT PLEASE READ: This newsgroup is shut down
Goto Forum:
  


Current Time: Mon Jul 16 01:20:37 GMT 2018

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

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

Back to the top