diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/targetdefinition/TargetEditor.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/targetdefinition/TargetEditor.java index 1c41f50a22..859608f381 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/targetdefinition/TargetEditor.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/targetdefinition/TargetEditor.java @@ -532,7 +532,8 @@ private ITargetDefinition loadTargetDefinition() throws CoreException { fTarget = service.newTarget(); throw e; } - TargetEditor.this.getTargetChangedListener().contentsChanged(fTarget, this, true, false); + PlatformUI.getWorkbench().getDisplay().asyncExec( + () -> TargetEditor.this.getTargetChangedListener().contentsChanged(fTarget, this, true, false)); return fTarget; }