mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 454089 - NullPointerException from OS Resources view
Change-Id: I2cbd7dd42b8edff5ac61a6f0f25b091dcb698be4 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38066 Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
This commit is contained in:
parent
702f5cb4c8
commit
d2a7ac0ff5
1 changed files with 2 additions and 0 deletions
|
@ -359,6 +359,8 @@ public class OSResourcesView extends ViewPart implements DsfSession.SessionEnded
|
||||||
// Update the UI according to actual content of fSessionData,
|
// Update the UI according to actual content of fSessionData,
|
||||||
// which must be not null.
|
// which must be not null.
|
||||||
private void updateSessionDataContents() {
|
private void updateSessionDataContents() {
|
||||||
|
if (fSessionData == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (fViewer == null || fViewer.getControl() == null)
|
if (fViewer == null || fViewer.getControl() == null)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue