Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Exception while loading MM via ANT
[ATL] Exception while loading MM via ANT [message #663776] Wed, 06 April 2011 09:27
Julian P is currently offline Julian P
Messages: 5
Registered: September 2010
Junior Member
Hi,

i get the following error when i try to load a metamodel via ANT

any ideas?

Julian

[atl.loadModel] Loading model STRINGS from http://www.mee.org/Strings
[atl.loadModel] org.eclipse.m2m.atl.core.ATLCoreException: Error loading http://www.mee.org/Strings: org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'.
[atl.loadModel] at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector. java:70)
[atl.loadModel] at org.eclipse.m2m.atl.core.ant.tasks.LoadModelTask.execute(Loa dModelTask.java:148)
[atl.loadModel] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[atl.loadModel] at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
[atl.loadModel] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[atl.loadModel] at java.lang.reflect.Method.invoke(Unknown Source)
[atl.loadModel] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
[atl.loadModel] at org.apache.tools.ant.Task.perform(Task.java:348)
[atl.loadModel] at org.apache.tools.ant.Target.execute(Target.java:357)
[atl.loadModel] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[atl.loadModel] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1337)
[atl.loadModel] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
[atl.loadModel] at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
[atl.loadModel] at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
[atl.loadModel] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[atl.loadModel] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[atl.loadModel] at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
[atl.loadModel] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[atl.loadModel] at java.lang.reflect.Method.invoke(Unknown Source)
[atl.loadModel] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
[atl.loadModel] at org.apache.tools.ant.Task.perform(Task.java:348)
[atl.loadModel] at org.apache.tools.ant.Target.execute(Target.java:357)
[atl.loadModel] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[atl.loadModel] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1337)
[atl.loadModel] at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
[atl.loadModel] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
[atl.loadModel] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
[atl.loadModel] at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
[atl.loadModel] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:662)
[atl.loadModel] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
[atl.loadModel] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[atl.loadModel] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[atl.loadModel] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[atl.loadModel] at java.lang.reflect.Method.invoke(Unknown Source)
[atl.loadModel] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
[atl.loadModel] at org.eclipse.ant.internal.launching.launchConfigurations.AntL aunchDelegate$1.run(AntLaunchDelegate.java:298)
[atl.loadModel] at java.lang.Thread.run(Unknown Source)
[atl.loadModel] Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'.
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
[atl.loadModel] at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector. java:65)
[atl.loadModel] ... 36 more
[atl.loadModel] Caused by: org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'.
[atl.loadModel] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. createSAXParseException(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper. fatalError(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.rep ortError(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFat alError(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.sc anEntityDecl(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.sc anDecls(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.sc anDTDExternalSubset(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl$DTDDriver.dispatch(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl$DTDDriver.next(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl$PrologDriver.next(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScanner Impl.next(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
[atl.loadModel] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
[atl.loadModel] at javax.xml.parsers.SAXParser.parse(Unknown Source)
[atl.loadModel] at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
[atl.loadModel] at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1494)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1282)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
[atl.loadModel] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
[atl.loadModel] ... 38 more
Previous Topic:M2M gmftools
Next Topic:Request for information about AML
Goto Forum:
  


Current Time: Thu Aug 28 07:26:20 EDT 2014

Powered by FUDForum. Page generated in 0.03751 seconds