eclipse.platform
eclipse.platform copied to clipboard
Fix logged NPE in ViewerUpdateMonitor constructor #1500
There is a logged NPE in the constructor of ViewerUpdateMonitor when viewerInput is null. This can happen sporadically when updating tree elements during Viewer.setInput(null).
This PR adds a check to avoid creating children updates when the viewer input is null.
Fixes https://github.com/eclipse-platform/eclipse.platform/issues/1500