eclipse / gemoc-studio-modeldebugging

gemoc-studio-modeldebugging
Eclipse Public License 1.0
6 stars 15 forks source link

Prevent NPE in Sirius if a model element doesn't have an eResource #214

Closed dvojtise closed 2 years ago

dvojtise commented 2 years ago

Description

In some graphical representation we may sometime get DNode model element without eResource (I don't really know why :disappointed: ), when used in GEMOC simulation,this raises NPE when it tries to get the permission to edit/create/delete the element cf. org.eclipse.gemoc.executionframework.extensions.sirius.modelloaderebugPermissionAuthority

Changes