Exception when saving project
If a a error marker is present in a project, an exception is raised if you try to save.
Reproduce:
- Import attached project
- Change something such that save button is enabled (e.g., move a Component in the CA)
- Click the Properties tab such that it gets the focus
- Save the project
Expected behavior:
- Project is saved with any error/exception
Actual behavior:
- Project is saved but excpetion appears (see also below)
!ENTRY org.eclipse.ui 4 4 2019-01-18 10:56:15.447
!MESSAGE An internal error has occurred.
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4552)
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.SWT.error(SWT.java:4438)
at org.eclipse.swt.widgets.Widget.error(Widget.java:806)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:593)
at org.eclipse.swt.custom.CLabel.setText(CLabel.java:932)
at
org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyTitle.setTitle(TabbedPropertyTitle.java:160)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.refreshTitleBar(TabbedPropertySheetPage.java:858)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.labelProviderChanged(TabbedPropertySheetPage.java:874)
at
org.fortiss.tooling.kernel.ui.extension.base.PropertySectionBase$TitleSyncAdapter.notifyChanged(PropertySectionBase.java:80)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at
org.fortiss.tooling.kernel.utils.EcoreUtils.postRefreshNotification(EcoreUtils.java:333)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService$CacheEntry$1.runInUIThread(MarkerService.java:272)
at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4043)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3714)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at
org.fortiss.af3.rcapplication.AF3Application.start(AF3Application.java:49)
at
org.eclipse.equinox.internal.apEclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
(from redmine: issue id 3618, created on 2019-01-18, closed on 2019-02-19)
- Relations:
- relates #3635 (closed)
- Uploads: