Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] [Announce] ATL 2.0.0RC2 is available
[ATL] [Announce] ATL 2.0.0RC2 is available [message #55671] Wed, 01 August 2007 22:57 Go to next message
Eclipse UserFriend
Originally posted by: freddy.allilaire.univ-nantes.fr

Dear all,

ATL 2.0.0RC2 is available. More details are available here:
http://www.eclipse.org/m2m/atl/download/

Additionally, two "ATL Ready-To-Use" bundles are available:
* ATL Bundle 2.0 Standard Version (including Eclipse 3.3, EMF 2.3, ATL
2.0.0RC2, and ATL basic examples)
* ATL Bundle 2.0 UML2 Version (including Eclipse 3.3, EMF 2.3, UML 2.1,
ATL 2.0.0RC2, UML2 Driver for ATL, and ATL basic examples)

ATL release notes are published here:
http://wiki.eclipse.org/ATL_ReleaseNotes.

Regards,
Freddy.

--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
Re: [ATL] [Announce] ATL 2.0.0RC2 is available [message #56363 is a reply to message #55671] Mon, 06 August 2007 12:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: r.c.ladan.tue.nl

Freddy Allilaire wrote:
> Dear all,
>
> ATL 2.0.0RC2 is available. More details are available here:
> http://www.eclipse.org/m2m/atl/download/
>
I converted from ATL 1 to ATL 2.0.0rc2, but I get a NullPointerException
when calling it from Java:

java.lang.NullPointerException
at
org.eclipse.m2m.atl.engine.AtlEMFModelHandler.saveModel(AtlE MFModelHandler.java:144)
at
org.eclipse.m2m.atl.engine.AtlEMFModelHandler.saveModel(AtlE MFModelHandler.java:65)
at meta.presentation.MetaEditor.doATLTransformation(MetaEditor. java:381)


MetaEditor.java:381 :
this.amh.saveModel(this.models.get("OUT"), outModel);

outModel is a ByteArrayOutputStream, this.models.get("OUT") retrieves
ASMEMFModel OUT from a HashMap. It is created as:

ASMEMFModel outputModel;
outputModel = ASMEMFModel.newASMEMFModel("OUT", "OUT",
this.metaModel, this.ml);
outputModel.setCheckSameModel(false);

using:
ASMEMFModel metaModel;
protected EMFModelLoader ml;

Changing the second "OUT" string to "" or null doesn't help.

Any ideas?

Thanks,
Rene
Re: [ATL] [Announce] ATL 2.0.0RC2 is available [message #56615 is a reply to message #56363] Tue, 07 August 2007 13:27 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hi Rene,

Could you please use bugzilla to discuss this issue?


Thanks,

Frédéric Jouault


Rene Ladan wrote:
> Freddy Allilaire wrote:
>> Dear all,
>>
>> ATL 2.0.0RC2 is available. More details are available here:
>> http://www.eclipse.org/m2m/atl/download/
>>
> I converted from ATL 1 to ATL 2.0.0rc2, but I get a NullPointerException
> when calling it from Java:
>
> java.lang.NullPointerException
> at
> org.eclipse.m2m.atl.engine.AtlEMFModelHandler.saveModel(AtlE MFModelHandler.java:144)
>
> at
> org.eclipse.m2m.atl.engine.AtlEMFModelHandler.saveModel(AtlE MFModelHandler.java:65)
>
> at meta.presentation.MetaEditor.doATLTransformation(MetaEditor. java:381)
>
>
> MetaEditor.java:381 :
> this.amh.saveModel(this.models.get("OUT"), outModel);
>
> outModel is a ByteArrayOutputStream, this.models.get("OUT") retrieves
> ASMEMFModel OUT from a HashMap. It is created as:
>
> ASMEMFModel outputModel;
> outputModel = ASMEMFModel.newASMEMFModel("OUT", "OUT",
> this.metaModel, this.ml);
> outputModel.setCheckSameModel(false);
>
> using:
> ASMEMFModel metaModel;
> protected EMFModelLoader ml;
>
> Changing the second "OUT" string to "" or null doesn't help.
>
> Any ideas?
>
> Thanks,
> Rene
Re: [ATL] [Announce] ATL 2.0.0RC2 is available [message #57676 is a reply to message #56615] Tue, 14 August 2007 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: milan.milanovic.org

Hi,

I've installed ATL Bundle 2.0 UML2 Version and MDR driver for ATL, but
when I want to inject xml file to xml model (MDR based) I got an exception:

SEVERE: Plug-in "org.eclipse.m2m.atl.drivers.mdr4atl" was unable to
instantiate class "org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler".
org.eclipse.core.runtime.CoreException: Plug-in
"org.eclipse.m2m.atl.drivers.mdr4atl" was unable to instantiate class
"org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler".
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwException(RegistryStrategyOSGI.java:180)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:174)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.m2m.atl.engine.AtlModelHandler.getDefault(AtlMod elHandler.java:71)
at
org.eclipse.gmt.am3.dsls.km3.actions.KM3MDRInjector.run(KM3M DRInjector.java:40)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError:
javax/jmi/reflect/InvalidCallException
at
org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler.<init >(AtlMDRModelHandler.java:144)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:170)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.m2m.atl.engine.AtlModelHandler.getDefault(AtlMod elHandler.java:71)
at
org.eclipse.gmt.am3.dsls.km3.actions.KM3MDRInjector.run(KM3M DRInjector.java:40)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

What is the problem with this bundle ?

--
Best regards, Milan Milanovic
Re: [ATL] [Announce] ATL 2.0.0RC2 is available [message #57720 is a reply to message #57676] Tue, 14 August 2007 09:29 Go to previous message
Eclipse UserFriend
Originally posted by: milan.milanovic.org

Hi,

I forgotted to extract MDR in lib folder, sorry.

--
Best regards, Milan Milanovic

Milan Milanovic wrote:

> Hi,

> I've installed ATL Bundle 2.0 UML2 Version and MDR driver for ATL, but
> when I want to inject xml file to xml model (MDR based) I got an exception:

> SEVERE: Plug-in "org.eclipse.m2m.atl.drivers.mdr4atl" was unable to
> instantiate class "org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler".
> org.eclipse.core.runtime.CoreException: Plug-in
> "org.eclipse.m2m.atl.drivers.mdr4atl" was unable to instantiate class
> "org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler".
> at
>
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwException(RegistryStrategyOSGI.java:180)
> at
>
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:174)
> at
>
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
> at
>
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
> at
>
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
> at
>
org.eclipse.m2m.atl.engine.AtlModelHandler.getDefault(AtlMod elHandler.java:71)
> at
>
org.eclipse.gmt.am3.dsls.km3.actions.KM3MDRInjector.run(KM3M DRInjector.java:40)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
> org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError:
> javax/jmi/reflect/InvalidCallException
> at
>
org.eclipse.m2m.atl.drivers.mdr4atl.AtlMDRModelHandler.<init >(AtlMDRModelHandler.java:144)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known
> Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at
>
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:170)
> at
>
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
> at
>
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
> at
>
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
> at
>
org.eclipse.m2m.atl.engine.AtlModelHandler.getDefault(AtlMod elHandler.java:71)
> at
>
org.eclipse.gmt.am3.dsls.km3.actions.KM3MDRInjector.run(KM3M DRInjector.java:40)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

> What is the problem with this bundle ?

> --
> Best regards, Milan Milanovic
Previous Topic:[ATL] uml2 model/profile in transformation
Next Topic:Probleme des mots clés des langages de transformations
Goto Forum:
  


Current Time: Fri Apr 19 22:25:03 GMT 2024

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

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

Back to the top