Please refrain from posting questions to this mailinglist, ONLY post them to the forum, as mentioned earlier. This mailinglist is the wrong audience.
Best regards, Maximilian On 27 January 2017 at 17:26, Javier Alfonso <[email protected]> wrote: > sorry to keep bothering you, i posted a new question at > https://www.eclipse.org/forums/index.php/m/1752818/#msg_1752818 > the problem is that i create an editing domain to load an work with my > model, but it seems that in some scenarios, emfforms is creating a new > editingdomain after rendering a component, resulting in consistency > problems, any suggestions? > > 2017-01-18 11:33 GMT-05:00 Ed Merks <[email protected]>: > >> Please use the forum to ask question. The EMF Forms project uses the >> EMFT forum. Note there there is not enough information about what you're >> doing to guess at the problem. If you have an exception, there's a stack >> trace. Include that in your forum post. >> >> On 18/01/2017 7:14 PM, Javier Alfonso wrote: >> >> The problem: I created my user interface successfully, using the default >> viewers, i created my objects, edited them and persisted them using XMI, >> everything ok, the problem begins when i load the saved model, it is >> rendered ok, i can see everything, but when i try to add new elements or >> try to edit the existent, i get a null pointer exception, it is like the >> view doesn't know how to edit or create new objects. >> My load and save XMI code is based on Vogellas tutorial, maybe the >> problem is in the way i assign the loaded objects to the rendered object? >> The code i'm using is: >> C c = null; >> c = (C) resource.getContents().get(0); >> and then i render c using the SWT renderer. >> >> The difference to a non saved object is that i use the factory.create >> method >> >> Any suggestions? >> >> >> _______________________________________________ >> emf-dev mailing [email protected] >> To change your delivery options, retrieve your password, or unsubscribe from >> this list, visithttps://dev.eclipse.org/mailman/listinfo/emf-dev >> >> >> >> _______________________________________________ >> emf-dev mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/emf-dev >> > > > _______________________________________________ > emf-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/emf-dev > -- Dr. Maximilian Koegel Senior Software Architect / General Manager EclipseSource Munich Email: [email protected] Web: http://eclipsesource.com/munich Mobil: +49 176 223 619 18 Phone: +49 89 21 555 30 - 10 Fax: +49 89 21 555 30 - 19 Skype: maximilian.koegel Hangouts: [email protected] EclipseSource Muenchen GmbH Agnes-Pockels-Bogen 1 80992 München General Managers: Dr. Jonas Helming, Dr. Maximilian Koegel Registered Office: Agnes-Pockels-Bogen 1, 80992 Muenchen, Commercial Register München, HRB 191789
_______________________________________________ emf-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/emf-dev
