Hi,
The following code throws SWTException: Invalid thread access
which is being called inside a WorkspaceJob job threadCode:MessageDialog.openError(new Shell(), "error", "invalid path");
I have tried modifying this code as follows:
Code:final Display display = new Display();
display.syncExec (new Runnable () {
public void run () {
MessageDialog.openError(display.getDefault().getActiveShell(), "error", "invalid path");
}
});
but no vain, how to solve this issue?
