eclipse / gemoc-studio-modeldebugging

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

Crash of the various engines if the Event Manager view is opened without the appropriate add-on #233

Closed dvojtise closed 1 year ago

dvojtise commented 1 year ago

All engines (except java engine + event manager Addon) crash when the Event Manager view is opened

After the first crash, the only way to restart an engine is to close the view and restart eclipse

java.lang.NullPointerException: Cannot invoke "org.eclipse.gemoc.executionframework.event.manager.IEventManager.addListener(org.eclipse.gemoc.executionframework.event.manager.IEventManagerListener)" because "this.eventManager" is null
    at org.eclipse.gemoc.executionframework.event.ui.views.EventManagerViewPart.engineSelectionChanged(EventManagerViewPart.java:294)
    at org.eclipse.gemoc.executionframework.ui.views.engine.EnginesStatusView.fireEngineSelectionChanged(EnginesStatusView.java:343)
    at org.eclipse.gemoc.executionframework.ui.views.engine.EnginesStatusView$1.selectionChanged(EnginesStatusView.java:89)
    at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:151)