eclipse plugin: Fix a null reference exception...
...in case the projects explorer is not created
This commit is contained in:
parent
797142008b
commit
3afa4c201b
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@ public class ProjectUtils
|
|||
}
|
||||
monitor.worked(10);
|
||||
|
||||
WorkspaceUtils.getProjectsExplorer().getCommonViewer().refresh();
|
||||
if (WorkspaceUtils.getProjectsExplorer() != null)
|
||||
WorkspaceUtils.getProjectsExplorer().getCommonViewer().refresh();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue