Re: Ecore diagram bugs with Linux Kubuntu Edgy [message #71478] |
Mon, 30 October 2006 06:54  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Francois,
This is a question for the GMF newsgroup. Are there any errors showing
up in the Error log view?
Francois Gaudin wrote:
>Hello, I'm new to eclipse and EMF. I've manage to work with
>eclipse/EMF/GMF/Acceleo, but since I've updated my distrib from Ubuntu
>Dapper to Edgy, ecore diagrams don't display as expected (can't create more
>tthan one EClass, ...).
>
>Have anybody encountered such a problem and solved it ?
>
>Thx
>
>Francois Gaudin
>Makina Corpus
>
>
|
|
|
Re: Ecore diagram bugs with Linux Kubuntu Edgy [message #71516 is a reply to message #71478] |
Mon, 30 October 2006 08:36   |
Eclipse User |
|
|
|
Originally posted by: francois.gaudin.makina-corpus.com
Sorry, I thought ecore diagrams were parts of EMF.
So, when I try to create an EClass in the diagram, I get this :
Failed to execute runnable (java.lang.ClassCastException:
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart)
whith stack :
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.ClassCastException:
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3143)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2845)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.ClassCastException:
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart
at
org.eclipse.gmf.runtime.diagram.ui.tools.TextDirectEditManag er.show(TextDirectEditManager.java:505)
at
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart.performD irectEdit(EClassNameEditPart.java:347)
at
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart$4.run(EC lassNameEditPart.java:387)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:258)
at
org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart.performD irectEditRequest(EClassNameEditPart.java:376)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.performRequest(GraphicalEditPart.java:1030)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TopGraphicEditP art.performDirectEditRequest(TopGraphicEditPart.java:133)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.performRequest(GraphicalEditPart.java:1030)
at
org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool$1.run( CreationTool.java:169)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 20 more
and session data :
eclipse.buildId=M20060921-0945
java.version=1.5.0_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
Command-line arguments: -os linux -ws gtk -arch x86
there is also an Unhandled event loop exception, but no stack trace
Ed Merks wrote:
> Francois,
>
> This is a question for the GMF newsgroup. Are there any errors showing
> up in the Error log view?
>
>
> Francois Gaudin wrote:
>
>>Hello, I'm new to eclipse and EMF. I've manage to work with
>>eclipse/EMF/GMF/Acceleo, but since I've updated my distrib from Ubuntu
>>Dapper to Edgy, ecore diagrams don't display as expected (can't create
>>more tthan one EClass, ...).
>>
>>Have anybody encountered such a problem and solved it ?
>>
>>Thx
>>
>>Francois Gaudin
>>Makina Corpus
>>
>>
|
|
|
Re: Ecore diagram bugs with Linux Kubuntu Edgy [message #71554 is a reply to message #71516] |
Mon, 30 October 2006 09:11  |
Eclipse User |
|
|
|
Hi,
Please take a look at the following Bugzilla search query.
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advan ced&short_desc_type=allwordssubstr&short_desc=ClassC astException+TextDirectEditManager
Regards,
Michael
"Francois Gaudin" <francois.gaudin@makina-corpus.com> wrote in message
news:ei4v3l$4cd$1@utils.eclipse.org...
> Sorry, I thought ecore diagrams were parts of EMF.
>
> So, when I try to create an EClass in the diagram, I get this :
>
> Failed to execute runnable (java.lang.ClassCastException:
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart)
>
> whith stack :
>
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.ClassCastException:
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart)
> at org.eclipse.swt.SWT.error(SWT.java:3374)
> at org.eclipse.swt.SWT.error(SWT.java:3297)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3143)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2845)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.ClassCastException:
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart
> at
> org.eclipse.gmf.runtime.diagram.ui.tools.TextDirectEditManag er.show(TextDirectEditManager.java:505)
> at
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart.performD irectEdit(EClassNameEditPart.java:347)
> at
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart$4.run(EC lassNameEditPart.java:387)
> at
> org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:258)
> at
> org.eclipse.gmf.ecore.edit.parts.EClassNameEditPart.performD irectEditRequest(EClassNameEditPart.java:376)
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.performRequest(GraphicalEditPart.java:1030)
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.TopGraphicEditP art.performDirectEditRequest(TopGraphicEditPart.java:133)
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.performRequest(GraphicalEditPart.java:1030)
> at
> org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool$1.run( CreationTool.java:169)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> ... 20 more
>
>
> and session data :
>
> eclipse.buildId=M20060921-0945
> java.version=1.5.0_08
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
> Command-line arguments: -os linux -ws gtk -arch x86
>
> there is also an Unhandled event loop exception, but no stack trace
>
> Ed Merks wrote:
>
>> Francois,
>>
>> This is a question for the GMF newsgroup. Are there any errors showing
>> up in the Error log view?
>>
>>
>> Francois Gaudin wrote:
>>
>>>Hello, I'm new to eclipse and EMF. I've manage to work with
>>>eclipse/EMF/GMF/Acceleo, but since I've updated my distrib from Ubuntu
>>>Dapper to Edgy, ecore diagrams don't display as expected (can't create
>>>more tthan one EClass, ...).
>>>
>>>Have anybody encountered such a problem and solved it ?
>>>
>>>Thx
>>>
>>>Francois Gaudin
>>>Makina Corpus
>>>
>>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06323 seconds