Hi,
I'm developping a project where I need to have two ECore Model. When
I'm using only the EObject of my first ECore Model,I can open and close
"editor" without problem.
But when i create EObject from the both modelsI have an error when I
try to open an editor.
Assert.isTrue(boolean, String) line: 109
Assert.isTrue(boolean) line: 95
ProcEditor(MultiPageEditorPart).setActivePage(int) line: 695
ProcEditor(MultiPageEditorPart).createPartControl(Composite) line:
287
EditorReference.createPartHelper() line: 661
EditorReference.createPart() line: 426
EditorReference(WorkbenchPartReference).getPart(boolean) line: 592
EditorPane(PartPane).setVisible(boolean) line: 299
PresentablePart.setVisible(boolean) line: 179
PresentablePartFolder.select(IPresentablePart) line: 268
LeftToRightTabOrder.select(IPresentablePart) line: 65
TabbedStackPresentation.selectPart(IPresentablePart) line: 400
EditorStack(PartStack).refreshPresentationSelection() line: 1256
EditorStack(PartStack).setSelection(LayoutPart) line: 1209
EditorStack(PartStack).showPart(LayoutPart, Object) line: 1604
EditorStack(PartStack).add(LayoutPart, Object) line: 499
EditorStack.add(LayoutPart, Object) line: 103
EditorStack(PartStack).add(LayoutPart) line: 485
EditorStack.add(LayoutPart) line: 112
EditorSashContainer.addEditor(EditorPane, EditorStack) line: 63
EditorAreaHelper.addToLayout(EditorPane, EditorStack) line: 217
EditorAreaHelper.addEditor(EditorReference, String) line: 207
EditorManager.createEditorTab(EditorReference, String) line: 774
EditorManager.openEditorFromDescriptor(EditorDescriptor, IEditorInput,
IMemento) line: 673
EditorManager.openEditor(String, IEditorInput, boolean, IMemento) line:
634
WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int,
IMemento) line: 2737
WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int,
IMemento) line: 2651
WorkbenchPage.access$13(WorkbenchPage, IEditorInput, String, boolean,
int, IMemento) line: 2643
WorkbenchPage$10.run() line: 2595
BusyIndicator.showWhile(Display, Runnable) line: 67
WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento)
line: 2590
WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line:
2574
WorkbenchPage.openEditor(IEditorInput, String) line: 2557
DataEditorAdvisor.openEditor(IWorkbench, URI) line: 472
DataEditorAdvisor$OpenAction.run(IAction) line: 400
WWinPluginAction(PluginAction).runWithEvent(Event) line: 256
WWinPluginAction.runWithEvent(Event) line: 229
PluginActionContributionItem(ActionContributionItem).handleWidgetSelection(Event,
boolean) line: 546
ActionContributionItem.access$2(ActionContributionItem, Event, boolean)
line: 490
ActionContributionItem$5.handleEvent(Event) line: 402
EventTable.sendEvent(Event) line: 66
MenuItem(Widget).sendEvent(Event) line: 938
Display.runDeferredEvents() line: 3682
Display.readAndDispatch() line: 3293
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2389
Workbench.runUI() line: 2353
Workbench.access$4(Workbench) line: 2219
Workbench$4.run() line: 466
Realm.runWithDefault(Realm, Runnable) line: 289
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 461
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line:
149
DataEditorAdvisor$Application.start(IApplicationContext) line: 105
EclipseAppHandle.run(Object) line: 169
EclipseAppLauncher.runApplication(Object) line: 106
EclipseAppLauncher.start(Object) line: 76
EclipseStarter.run(Object) line: 363
EclipseStarter.run(String[], Runnable) line: 176
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
Main.invokeFramework(String[], URL[]) line: 508
Main.basicRun(String[]) line: 447
Main.run(String[]) line: 1173
Main.main(String[]) line: 1148
Thanks you for your help !
Best Regards