Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » EMF Migration - EDataType error
EMF Migration - EDataType error [message #617518] Fri, 10 July 2009 03:59
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 551
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I want to migrate to the latest EMF version.

I used the Migrate to EMF 2.5 pop-up menu and regenerate code.

All works fine except that at the runtime, this exeception is thrown when one of my element is initialized with an EDataType :

!ENTRY org.eclipse.jface 4 2 2009-07-10 09:37:47.785
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.ExceptionInInitializerError
at org.ow2.jasmine.design.model.apache_http_server.impl.Apache_ http_serverFactoryImpl.createApache_HTTPd(Apache_http_server FactoryImpl.java:132)
at org.ow2.jasmine.design.model.middleware.provider.DomainItemP rovider.collectNewChildDescriptors(DomainItemProvider.java:1 82)
at org.ow2.jasmine.design.model.jonas.provider.JOnASDomainItemP rovider.collectNewChildDescriptors(JOnASDomainItemProvider.j ava:173)
at org.eclipse.emf.edit.provider.ItemProviderAdapter.getNewChil dDescriptors(ItemProviderAdapter.java:765)
at org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain.getN ewChildDescriptors(AdapterFactoryEditingDomain.java:746)
at org.ow2.jasmine.design.model.jasmine.presentation.JasmineAct ionBarContributor.selectionChanged(JasmineActionBarContribut or.java:299)
at org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor.setSelection(JasmineEditor.java:1745)
at org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor$6.selectionChanged(JasmineEditor.java:938)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:2132)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:1160)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1190)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:228)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:222)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:389)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.IllegalArgumentException: The value '80' is invalid.
at org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFa ctoryImpl.java:439)
at org.ow2.jasmine.design.model.jasmine.impl.JasmineFactoryImpl .createPortFromString(JasmineFactoryImpl.java:236)
at org.ow2.jasmine.design.model.jasmine.impl.JasmineFactoryImpl .createFromString(JasmineFactoryImpl.java:117)
at org.ow2.jasmine.design.model.apache_http_server.impl.Apache_ HTTPdImpl. <clinit>(Apache_HTTPdImpl.java:139)
... 45 more


thanks by advance for any help

Aurelien Pupier


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:EMF Ant task - no java code generated
Next Topic:EMF Migration - EDataType error
Goto Forum:
  


Current Time: Sat Apr 19 00:40:28 EDT 2014

Powered by FUDForum. Page generated in 0.07281 seconds