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
}
		}
	};
	private MApplication application;
	/**
	 * Might be null if this part service is created for the application
	 */
	private MWindow workbenchWindow;
	@Inject
	private IPresentationEngine engine;
	@Inject
	private EModelService modelService;
	@Inject
	private Logger logger;
	@Inject
	@Optional
	private ISaveHandler saveHandler;
	@Inject
	private IEventBroker eventBroker;
	private PartActivationHistory partActivationHistory;
	private MPart activePart;
	private MPart lastActivePart;
	private ListenerList listeners = new ListenerList();
	private boolean constructed = false;
	@Inject
	public PartServiceImpl(MApplication application, @Optional MWindow window) {
		
		this.application = application;
		workbenchWindow = window;
	}