Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Error log with not caption
[Acceleo] Error log with not caption [message #636582] Tue, 02 November 2010 02:53 Go to next message
Yannick Duchene (Hibou57) is currently offline Yannick Duchene (Hibou57)Friend
Messages: 50
Registered: September 2010
Location: Metz (France - Europe)
Member
Hi all,

A new error I cannot understand at all.

When I want to run a transformation, nothing is generated and I get two lines without even a caption in the error log pan.

I've re-installed everything, and that's not better.

Here is the first one (long enough, so I do not post both) :

Quote:
eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86


Error
Tue Nov 02 03:46:28 CET 2010


java.lang.reflect.InvocationTargetException
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.acceleo.internal.ide.ui.launching.AcceleoLaunchO peration.run(AcceleoLaunchOperation.java:105)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginL aunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java: 220)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginL aunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java: 123)
at org.eclipse.acceleo.internal.ide.ui.launching.AcceleoLaunchD elegate.launch(AcceleoLaunchDelegate.java:53)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: java.io.FileNotFoundException: L:\Projets\Eclipse_Workspace\com.ada.models\models\Greetings .uml (Le chemin d'accès spécifié est introuvable)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils. java:349)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator. initialize(AbstractAcceleoGenerator.java:311)
at com.ada.transform.files.Generate.<init>(Generate.java:83)
at com.ada.transform.files.Generate.main(Generate.java:125)
... 13 more
Caused by: java.io.FileNotFoundException: L:\Projets\Eclipse_Workspace\com.ada.models\models\Greetings .uml (Le chemin d'accès spécifié est introuvable)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.creat eInputStream(FileURIHandlerImpl.java:105)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1254)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 18 more
Root exception:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: java.io.FileNotFoundException: L:\Projets\Eclipse_Workspace\com.ada.models\models\Greetings .uml (Le chemin d'accès spécifié est introuvable)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils. java:349)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator. initialize(AbstractAcceleoGenerator.java:311)
at com.ada.transform.files.Generate.<init>(Generate.java:83)
at com.ada.transform.files.Generate.main(Generate.java:125)
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.acceleo.internal.ide.ui.launching.AcceleoLaunchO peration.run(AcceleoLaunchOperation.java:105)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginL aunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java: 220)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginL aunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java: 123)
at org.eclipse.acceleo.internal.ide.ui.launching.AcceleoLaunchD elegate.launch(AcceleoLaunchDelegate.java:53)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: L:\Projets\Eclipse_Workspace\com.ada.models\models\Greetings .uml (Le chemin d'accès spécifié est introuvable)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.creat eInputStream(FileURIHandlerImpl.java:105)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1254)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 18 more


Re: [Acceleo] Error log with not caption [message #636598 is a reply to message #636582] Tue, 02 November 2010 07:13 Go to previous messageGo to next message
Yannick Duchene (Hibou57) is currently offline Yannick Duchene (Hibou57)Friend
Messages: 50
Registered: September 2010
Location: Metz (France - Europe)
Member
While I still do not know what happened, I could solve the problem with a reseted Workspace. Created a new Workspace, imported every thing from the old one, and voilà.

In the error log above, you may see an error about a file which could not be found, but the file was actually really there.
Re: [Acceleo] Error log with not caption [message #636639 is a reply to message #636598] Tue, 02 November 2010 10:14 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Hi Yannick,

a "File Not Found" error is something the platform returns us and which we have little power over; if it told it couldn't find the file, then that is what failed Razz.

I can see two cases where this could happen with a file "that really is there" :

1. the file is in a closed project of your workspace (thus it is indeed on the disc, but can't be read from Eclipse)
2. the file is in a project you've "linked" from another workspace (through the wizard "import => existing projects ..." and not ticking "copy project in the workspace"), in which case Acceleo has troubles of its own (there is a bug opened for this, but I can't remember which).

Laurent Goubet
Obeo
Re: [Acceleo] Error log with not caption [message #636666 is a reply to message #636582] Tue, 02 November 2010 12:10 Go to previous message
Yannick Duchene (Hibou57) is currently offline Yannick Duchene (Hibou57)Friend
Messages: 50
Registered: September 2010
Location: Metz (France - Europe)
Member
Laurent Goubet wrote on Tue, 02 November 2010 11:14
Hi Yannick,

a "File Not Found" error is something the platform returns us and which we have little power over; if it told it couldn't find the file, then that is what failed Razz.

I can see two cases where this could happen with a file "that really is there" :

1. the file is in a closed project of your workspace (thus it is indeed on the disc, but can't be read from Eclipse)
2. the file is in a project you've "linked" from another workspace (through the wizard "import => existing projects ..." and not ticking "copy project in the workspace"), in which case Acceleo has troubles of its own (there is a bug opened for this, but I can't remember which).

Laurent Goubet
Obeo

It was none of them (the two cases), and the file was there. I don't bother, I've recreate the workspace. If this occurs again, I will tell.

Note : the file Greetings.uml was even open in Papyrus at that time, so it was really there and really accessible.
Previous Topic:[Acceleo] "Selection does not contain a main type ..."
Next Topic:[Acceleo 3.1] protected block
Goto Forum:
  


Current Time: Tue Apr 16 11:09:11 GMT 2024

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

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

Back to the top