Community
Participate
Working Groups
An error "Cannot open input element" happens when creating a new model with at least one diagram selected in the wizard, and a papyrus model already opened. This also corrupts the previous editor with a org.eclipse.core.runtime.CoreException. This is kind of a design problem because the OpenDiagramCommand try to get the IPageMngr using the ServiceRegistry first, which is the one of the previous editor (an IPageMngr is created if the ServiceRegistry is not available). A central place should be available to access/create automatically an IPageMngr associated with a resourceSet.
A workaround has been commited (rev 6521).
Cannot reproduce in the current version.