Bug 324230 NPE thrown when unrendering an MPartSashContainer that contains unrendered children
java.lang.NullPointerException at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.hideChild(SashRenderer.java:317) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:517) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SashRenderer.java
private ControlListener resizeListener = new ControlListener() {
		public void controlMoved(ControlEvent e) {
		}
		public void controlResized(ControlEvent e) {
			Control ctrl = (Control) e.widget;
			if (ctrl.isDisposed() || !(ctrl.getParent() instanceof SashForm))
				return;
			SashForm sf = (SashForm) ctrl.getParent();
			if (weightsChanged(sf)) {
				
				weightsMap.put(sf, sf.getWeights());
				addSashToUpdate(sf);
			}
		}
		
		private boolean weightsChanged(SashForm sf) {
			int[] oldW = (int[]) weightsMap.get(sf);
			int[] newW = sf.getWeights();
			if (oldW == null || oldW.length != newW.length)
				return true;
			for (int j = 0; j < oldW.length; j++) {
				if (oldW[j] != newW[j])
					return true;
			}
			return false;
		}
	};
	private class SashUpdateJob implements Runnable {