Bug 329930 Resetting a perspective while its active part is not defined in the perspective causes the perspective to not have an active part after the reset
1. Window > Show View > Console 2. Window > Reset Perspective... > OK 3. No parts are active.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
container.getChildren().add(providedPart);
					} else {
						container.getChildren().add(placeholder);
					}
				}
			}
		}
		return providedPart;
	}
	private void adjustPlaceholder(MPart part) {
		if (isShared(part)) {
			MPlaceholder placeholder = part.getCurSharedRef();
			
			if (placeholder == null
			
			
			
					|| (placeholder.getParent() != null && !isInContainer(placeholder))) {
				placeholder = createSharedPart(part);
				part.setCurSharedRef(placeholder);
			}
		}
	}
	private boolean isShared(MPart part) {
		return getWindow().getSharedElements().contains(part);
	}
	private void addToLastContainer(String category, MPart part) {
		MElementContainer<?> lastContainer = getLastContainer();
		MPlaceholder placeholder = part.getCurSharedRef();
		if (placeholder == null) {