Bug 327933 Unrendering container with invalid selectedElement can cause target element to be unrendered
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
} catch (IOException e) {
				
				e.printStackTrace();
			} finally {
				if (stream != null) {
					try {
						stream.close();
					} catch (IOException e) {
						
						e.printStackTrace();
					}
				}
			}
			Shell[] shells = display.getShells();
			for (Shell s : shells) {
				try {
					s.setRedraw(false);
					s.reskin(SWT.ALL);
					engine.applyStyles(s, true);
				} catch (Exception e) {
					
					e.printStackTrace();
				} finally {
					s.setRedraw(true);
				}
			}
		}
	}
}