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.
There is a logged NPE in the constructor of
ViewerUpdateMonitor
whenviewerInput
isnull
. This can happen sporadically when updating tree elements duringViewer.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