Bug 324841 Launching with -persistState false leads to an NPE
Like reported on the newsgroup launching with this flag set to true leads to an NPE because we still try to load the deltas.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
} catch (Exception e) {
				if (logger != null) {
					logger.error(e);
				}
			}
		} else {
			resource.save(null);
		}
	}
	public Resource loadMostRecentModel() {
		if (deltaRestore) {
			try {
				Resource resource = loadBaseModel();
				MApplication appElement = (MApplication) resource.getContents().get(0);
				
				
				
				
				this.context.set(MApplication.class, appElement);
				ModelAssembler contribProcessor = ContextInjectionFactory.make(
						ModelAssembler.class, context);
				contribProcessor.processModel();
				File file = new File(restoreLocation.toFileString());
				reconciler = new XMLModelReconciler();
				reconciler.recordChanges(appElement);
				if (file.exists()) {
					Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder()
							.parse(file);
					IModelReconcilingService modelReconcilingService = new ModelReconcilingService();
					ModelReconciler modelReconciler = modelReconcilingService