Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317040 - [UI] ModelReconciler can't handle restoring the MPerspective's 'windows' elements
Summary: [UI] ModelReconciler can't handle restoring the MPerspective's 'windows' elem...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0 RC0   Edit
Assignee: Project Inbox CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 09:05 EDT by Eric Moffatt CLA
Modified: 2010-06-21 16:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Moffatt CLA 2010-06-16 09:05:30 EDT
I found this when implementing the Detached Windows. Unless I check in my current work on the DW's you may have a hard time reproducing this since it's the first case of using the MPerspective's 'windows' container...

Here's a partial stack trace...

java.lang.NullPointerException
	at org.eclipse.emf.common.util.AbstractEList.getNonDuplicates(AbstractEList.java:1167)
	at org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:372)
	at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveImpl.eSet(PerspectiveImpl.java:381)
	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1081)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.createObject(XMLModelReconciler.java:832)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.getReference(XMLModelReconciler.java:745)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.createObject(XMLModelReconciler.java:803)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.createMultiReferenceDelta(XMLModelReconciler.java:704)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.constructObjectDeltas(XMLModelReconciler.java:481)
	at org.eclipse.e4.ui.internal.workbench.XMLModelReconciler.constructDeltas(XMLModelReconciler.java:450)
Comment 1 Eric Moffatt CLA 2010-06-21 13:17:47 EDT
Fixed in I20100618-1748.