Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: [emf-dev] Re: Problem loading editor with many ECore Model
Re: [emf-dev] Re: Problem loading editor with many ECore Model [message #422683] Fri, 12 September 2008 16:04 Go to next message
Nick Boldt is currently offline Nick BoldtFriend
Messages: 481
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030402070400040702040003
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

This mailing list if for developers of EMF, not support of EMF users.
Please use the eclipse.tools.emf newsgroup.

http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp

Cheers,

Nick

Neatsoul wrote:
> In addition to my precedent mail, I would like to add that the
> assertion appears when I have used before loading my editor the
> following instruction : MyObjectPackage.eINSTANCE
>
> 2008/9/12 Neatsoul <neatsoul33@gmail.com <mailto:neatsoul33@gmail.com>>
>
> 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).handleW idgetSelection(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
>
>
> ------------------------------------------------------------ ------------
>
> _______________________________________________
> emf-dev mailing list
> emf-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/emf-dev
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb


--------------030402070400040702040003
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This mailing list if for developers of EMF, not support of EMF users.
Please use the eclipse.tools.emf newsgroup.
<br>
<br>
<a class="moz-txt-link-freetext"
href=" http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp"> http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp</a>
<br>
<br>
Cheers,
<br>
<br>
Nick
<br>
<br>
Neatsoul wrote:
<blockquote
cite="mid:c379d1ee0809120858o7169d1bdn4631805fb5e5b5df@mail.gmail.com"
type="cite">
<div dir="ltr">In addition to my precedent mail, I would like to add
that the assertion appears when I have used before loading my editor
the following instruction : MyObjectPackage.eINSTANCE<br>
<br>
<div class="gmail_quote">2008/9/12 Neatsoul <span dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:neatsoul33@gmail.com">neatsoul33@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br>
<br>
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.<br>
But when i create EObject from the both modelsI have an error when I
try to open an editor.<br>
<br>
Assert.isTrue(boolean, String) line: 109&nbsp;&nbsp;&nbsp; <br>
Assert.isTrue(boolean) line: 95&nbsp;&nbsp;&nbsp; <br>
ProcEditor(MultiPageEditorPart).setActivePage(int) line: 695&nbsp;&nbsp;&nbsp; <br>
ProcEditor(MultiPageEditorPart).createPartControl(Composite) line:
287&nbsp;&nbsp;&nbsp; <br>
EditorReference.createPartHelper() line: 661&nbsp;&nbsp;&nbsp; <br>
EditorReference.createPart() line: 426&nbsp;&nbsp;&nbsp; <br>
EditorReference(WorkbenchPartReference).getPart(boolean) line: 592&nbsp;&nbsp;&nbsp; <br>
EditorPane(PartPane).setVisible(boolean) line: 299&nbsp;&nbsp;&nbsp; <br>
PresentablePart.setVisible(boolean) line: 179&nbsp;&nbsp;&nbsp; <br>
PresentablePartFolder.select(IPresentablePart) line: 268&nbsp;&nbsp;&nbsp; <br>
LeftToRightTabOrder.select(IPresentablePart) line: 65&nbsp;&nbsp;&nbsp; <br>
TabbedStackPresentation.selectPart(IPresentablePart) line: 400&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).refreshPresentationSelection() line: 1256&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).setSelection(LayoutPart) line: 1209&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).showPart(LayoutPart, Object) line: 1604&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).add(LayoutPart, Object) line: 499&nbsp;&nbsp;&nbsp; <br>
EditorStack.add(LayoutPart, Object) line: 103&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).add(LayoutPart) line: 485&nbsp;&nbsp;&nbsp; <br>
EditorStack.add(LayoutPart) line: 112&nbsp;&nbsp;&nbsp; <br>
EditorSashContainer.addEditor(EditorPane, EditorStack) line: 63&nbsp;&nbsp;&nbsp; <br>
EditorAreaHelper.addToLayout(EditorPane, EditorStack) line: 217&nbsp;&nbsp;&nbsp; <br>
EditorAreaHelper.addEditor(EditorReference, String) line: 207&nbsp;&nbsp;&nbsp; <br>
EditorManager.createEditorTab(EditorReference, String) line: 774&nbsp;&nbsp;&nbsp; <br>
EditorManager.openEditorFromDescriptor(EditorDescriptor, IEditorInput,
IMemento) line: 673&nbsp;&nbsp;&nbsp; <br>
EditorManager.openEditor(String, IEditorInput, boolean, IMemento) line:
634&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int,
IMemento) line: 2737&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int,
IMemento) line: 2651&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.access$13(WorkbenchPage, IEditorInput, String, boolean,
int, IMemento) line: 2643&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage$10.run() line: 2595&nbsp;&nbsp;&nbsp; <br>
BusyIndicator.showWhile(Display, Runnable) line: 67&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento)
line: 2590&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line:
2574&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String) line: 2557&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor.openEditor(IWorkbench, URI) line: 472&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor$OpenAction.run(IAction) line: 400&nbsp;&nbsp;&nbsp; <br>
WWinPluginAction(PluginAction).runWithEvent(Event) line: 256&nbsp;&nbsp;&nbsp; <br>
WWinPluginAction.runWithEvent(Event) line: 229&nbsp;&nbsp;&nbsp; <br>
PluginActionContributionItem(ActionContributionItem).handleW idgetSelection(Event,
boolean) line: 546&nbsp;&nbsp;&nbsp; <br>
ActionContributionItem.access$2(ActionContributionItem, Event, boolean)
line: 490&nbsp;&nbsp;&nbsp; <br>
ActionContributionItem$5.handleEvent(Event) line: 402&nbsp;&nbsp;&nbsp; <br>
EventTable.sendEvent(Event) line: 66&nbsp;&nbsp;&nbsp; <br>
MenuItem(Widget).sendEvent(Event) line: 938&nbsp;&nbsp;&nbsp; <br>
Display.runDeferredEvents() line: 3682&nbsp;&nbsp;&nbsp; <br>
Display.readAndDispatch() line: 3293&nbsp;&nbsp;&nbsp; <br>
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2389&nbsp;&nbsp;&nbsp;
<br>
Workbench.runUI() line: 2353&nbsp;&nbsp;&nbsp; <br>
Workbench.access$4(Workbench) line: 2219&nbsp;&nbsp;&nbsp; <br>
Workbench$4.run() line: 466&nbsp;&nbsp;&nbsp; <br>
Realm.runWithDefault(Realm, Runnable) line: 289&nbsp;&nbsp;&nbsp; <br>
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 461&nbsp;&nbsp;&nbsp;
<br>
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line:
149&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor$Application.start(IApplicationContext) line: 105&nbsp;&nbsp;&nbsp; <br>
EclipseAppHandle.run(Object) line: 169&nbsp;&nbsp;&nbsp; <br>
EclipseAppLauncher.runApplication(Object) line: 106&nbsp;&nbsp;&nbsp; <br>
EclipseAppLauncher.start(Object) line: 76&nbsp;&nbsp;&nbsp; <br>
EclipseStarter.run(Object) line: 363&nbsp;&nbsp;&nbsp; <br>
EclipseStarter.run(String[], Runnable) line: 176&nbsp;&nbsp;&nbsp; <br>
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]&nbsp;&nbsp;&nbsp; <br>
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39&nbsp;&nbsp;&nbsp; <br>
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25&nbsp;&nbsp;&nbsp; <br>
Method.invoke(Object, Object...) line: 585&nbsp;&nbsp;&nbsp; <br>
Main.invokeFramework(String[], URL[]) line: 508&nbsp;&nbsp;&nbsp; <br>
Main.basicRun(String[]) line: 447&nbsp;&nbsp;&nbsp; <br>
Main.run(String[]) line: 1173&nbsp;&nbsp;&nbsp; <br>
Main.main(String[]) line: 1148&nbsp;&nbsp;&nbsp; <br>
<br>
<br>
Thanks you for your help !<br>
<br>
Best Regards<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
emf-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:emf-dev@eclipse.org">emf-dev@eclipse.org</a>
<a class="moz-txt-link-freetext" href="https://dev.eclipse.org/mailman/listinfo/emf-dev">https://dev.eclipse.org/mailman/listinfo/emf-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: <a class="moz-txt-link-freetext" href="http://www.eclipse.org/modeling">http://www.eclipse.org/modeling</a>
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/index.php/User:Nickb">http://wiki.eclipse.org/index.php/User:Nickb</a>
</pre>
</body>
</html>

--------------030402070400040702040003--
Re: [emf-dev] Re: Problem loading editor with many ECore Model [message #422688 is a reply to message #422683] Fri, 12 September 2008 17:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30813
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050700080107060307010907
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

It sounds likely that something earlier on failed to create any pages at
all. Use the debugger to step through the code to determine what might
be going wrong. Also check the log for prior exceptions since this one
appears more to be a symptom of something more primary...


Nick Boldt wrote:
> This mailing list if for developers of EMF, not support of EMF users.
> Please use the eclipse.tools.emf newsgroup.
>
> http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp
>
> Cheers,
>
> Nick
>
> Neatsoul wrote:
>> In addition to my precedent mail, I would like to add that the
>> assertion appears when I have used before loading my editor the
>> following instruction : MyObjectPackage.eINSTANCE
>>
>> 2008/9/12 Neatsoul <neatsoul33@gmail.com <mailto:neatsoul33@gmail.com>>
>>
>> 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).handleW idgetSelection(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
>>
>>
>> ------------------------------------------------------------ ------------
>>
>> _______________________________________________
>> emf-dev mailing list
>> emf-dev@eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/emf-dev
>>
>
> --
> Nick Boldt :: Release Engineer, IBM Toronto Lab
> Eclipse Modeling :: http://www.eclipse.org/modeling
> http://wiki.eclipse.org/index.php/User:Nickb
>

--------------050700080107060307010907
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It sounds likely that something earlier on failed to create any pages
at all.&nbsp; Use the debugger to step through the code to determine what
might be going wrong.&nbsp; Also check the log for prior exceptions since
this one appears more to be a symptom of something more primary...<br>
<br>
<br>
Nick Boldt wrote:
<blockquote cite="mid:48CA931E.8000308@ca.ibm.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
This mailing list if for developers of EMF, not support of EMF users.
Please use the eclipse.tools.emf newsgroup.
<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp"> http://www.eclipse.org/modeling/emf/newsgroup-mailing-list.p hp</a>
<br>
<br>
Cheers,
<br>
<br>
Nick
<br>
<br>
Neatsoul wrote:
<blockquote
cite="mid:c379d1ee0809120858o7169d1bdn4631805fb5e5b5df@mail.gmail.com"
type="cite">
<div dir="ltr">In addition to my precedent mail, I would like to
add
that the assertion appears when I have used before loading my editor
the following instruction : MyObjectPackage.eINSTANCE<br>
<br>
<div class="gmail_quote">2008/9/12 Neatsoul <span dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:neatsoul33@gmail.com">neatsoul33@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br>
<br>
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.<br>
But when i create EObject from the both modelsI have an error when I
try to open an editor.<br>
<br>
Assert.isTrue(boolean, String) line: 109&nbsp;&nbsp;&nbsp; <br>
Assert.isTrue(boolean) line: 95&nbsp;&nbsp;&nbsp; <br>
ProcEditor(MultiPageEditorPart).setActivePage(int) line: 695&nbsp;&nbsp;&nbsp; <br>
ProcEditor(MultiPageEditorPart).createPartControl(Composite) line:
287&nbsp;&nbsp;&nbsp; <br>
EditorReference.createPartHelper() line: 661&nbsp;&nbsp;&nbsp; <br>
EditorReference.createPart() line: 426&nbsp;&nbsp;&nbsp; <br>
EditorReference(WorkbenchPartReference).getPart(boolean) line: 592&nbsp;&nbsp;&nbsp; <br>
EditorPane(PartPane).setVisible(boolean) line: 299&nbsp;&nbsp;&nbsp; <br>
PresentablePart.setVisible(boolean) line: 179&nbsp;&nbsp;&nbsp; <br>
PresentablePartFolder.select(IPresentablePart) line: 268&nbsp;&nbsp;&nbsp; <br>
LeftToRightTabOrder.select(IPresentablePart) line: 65&nbsp;&nbsp;&nbsp; <br>
TabbedStackPresentation.selectPart(IPresentablePart) line: 400&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).refreshPresentationSelection() line: 1256&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).setSelection(LayoutPart) line: 1209&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).showPart(LayoutPart, Object) line: 1604&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).add(LayoutPart, Object) line: 499&nbsp;&nbsp;&nbsp; <br>
EditorStack.add(LayoutPart, Object) line: 103&nbsp;&nbsp;&nbsp; <br>
EditorStack(PartStack).add(LayoutPart) line: 485&nbsp;&nbsp;&nbsp; <br>
EditorStack.add(LayoutPart) line: 112&nbsp;&nbsp;&nbsp; <br>
EditorSashContainer.addEditor(EditorPane, EditorStack) line: 63&nbsp;&nbsp;&nbsp; <br>
EditorAreaHelper.addToLayout(EditorPane, EditorStack) line: 217&nbsp;&nbsp;&nbsp; <br>
EditorAreaHelper.addEditor(EditorReference, String) line: 207&nbsp;&nbsp;&nbsp; <br>
EditorManager.createEditorTab(EditorReference, String) line: 774&nbsp;&nbsp;&nbsp; <br>
EditorManager.openEditorFromDescriptor(EditorDescriptor, IEditorInput,
IMemento) line: 673&nbsp;&nbsp;&nbsp; <br>
EditorManager.openEditor(String, IEditorInput, boolean, IMemento) line:
634&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int,
IMemento) line: 2737&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int,
IMemento) line: 2651&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.access$13(WorkbenchPage, IEditorInput, String, boolean,
int, IMemento) line: 2643&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage$10.run() line: 2595&nbsp;&nbsp;&nbsp; <br>
BusyIndicator.showWhile(Display, Runnable) line: 67&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento)
line: 2590&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line:
2574&nbsp;&nbsp;&nbsp; <br>
WorkbenchPage.openEditor(IEditorInput, String) line: 2557&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor.openEditor(IWorkbench, URI) line: 472&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor$OpenAction.run(IAction) line: 400&nbsp;&nbsp;&nbsp; <br>
WWinPluginAction(PluginAction).runWithEvent(Event) line: 256&nbsp;&nbsp;&nbsp; <br>
WWinPluginAction.runWithEvent(Event) line: 229&nbsp;&nbsp;&nbsp; <br>
PluginActionContributionItem(ActionContributionItem).handleW idgetSelection(Event,
boolean) line: 546&nbsp;&nbsp;&nbsp; <br>
ActionContributionItem.access$2(ActionContributionItem, Event, boolean)
line: 490&nbsp;&nbsp;&nbsp; <br>
ActionContributionItem$5.handleEvent(Event) line: 402&nbsp;&nbsp;&nbsp; <br>
EventTable.sendEvent(Event) line: 66&nbsp;&nbsp;&nbsp; <br>
MenuItem(Widget).sendEvent(Event) line: 938&nbsp;&nbsp;&nbsp; <br>
Display.runDeferredEvents() line: 3682&nbsp;&nbsp;&nbsp; <br>
Display.readAndDispatch() line: 3293&nbsp;&nbsp;&nbsp; <br>
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2389&nbsp;&nbsp;&nbsp;
<br>
Workbench.runUI() line: 2353&nbsp;&nbsp;&nbsp; <br>
Workbench.access$4(Workbench) line: 2219&nbsp;&nbsp;&nbsp; <br>
Workbench$4.run() line: 466&nbsp;&nbsp;&nbsp; <br>
Realm.runWithDefault(Realm, Runnable) line: 289&nbsp;&nbsp;&nbsp; <br>
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 461&nbsp;&nbsp;&nbsp;
<br>
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line:
149&nbsp;&nbsp;&nbsp; <br>
DataEditorAdvisor$Application.start(IApplicationContext) line: 105&nbsp;&nbsp;&nbsp; <br>
EclipseAppHandle.run(Object) line: 169&nbsp;&nbsp;&nbsp; <br>
EclipseAppLauncher.runApplication(Object) line: 106&nbsp;&nbsp;&nbsp; <br>
EclipseAppLauncher.start(Object) line: 76&nbsp;&nbsp;&nbsp; <br>
EclipseStarter.run(Object) line: 363&nbsp;&nbsp;&nbsp; <br>
EclipseStarter.run(String[], Runnable) line: 176&nbsp;&nbsp;&nbsp; <br>
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]&nbsp;&nbsp;&nbsp; <br>
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39&nbsp;&nbsp;&nbsp; <br>
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25&nbsp;&nbsp;&nbsp; <br>
Method.invoke(Object, Object...) line: 585&nbsp;&nbsp;&nbsp; <br>
Main.invokeFramework(String[], URL[]) line: 508&nbsp;&nbsp;&nbsp; <br>
Main.basicRun(String[]) line: 447&nbsp;&nbsp;&nbsp; <br>
Main.run(String[]) line: 1173&nbsp;&nbsp;&nbsp; <br>
Main.main(String[]) line: 1148&nbsp;&nbsp;&nbsp; <br>
<br>
<br>
Thanks you for your help !<br>
<br>
Best Regards<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
emf-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:emf-dev@eclipse.org">emf-dev@eclipse.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://dev.eclipse.org/mailman/listinfo/emf-dev">https://dev.eclipse.org/mailman/listinfo/emf-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://www.eclipse.org/modeling">http://www.eclipse.org/modeling</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/index.php/User:Nickb">http://wiki.eclipse.org/index.php/User:Nickb</a>
</pre>
</blockquote>
</body>
</html>

--------------050700080107060307010907--
Previous Topic:[CDO] Could a ResourceSet share the same CDOView?
Next Topic:Read-only PropertySheetPage in some Views
Goto Forum:
  


Current Time: Fri Jan 24 02:12:08 GMT 2020

Powered by FUDForum. Page generated in 0.02177 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top