Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » ECL/EML example not working
ECL/EML example not working [message #588960] Sun, 09 May 2010 19:49 Go to next message
Stephen Barrett is currently offline Stephen Barrett
Messages: 46
Registered: May 2010
Member
Hello Dimitrios,

This problem is similar to another one you were looking at:
http://www.eclipse.org/forums/index.php?t=msg&th=161315& amp;start=0&
which does not seem to have been resolved, at least in the forum.

On Friday I did reinstalls of the latest Eclipse modeling package on two different Linux machines. Since then I have been trying to get the Heterogeneous Model Merging example to work on either.

Generally I get this error trace:

java.lang.NullPointerException
at org.antlr.runtime.CommonTokenStream.fillBuffer
at org.antlr.runtime.CommonTokenStream.LT
at org.eclipse.epsilon.eol.AbstractModule.invokeMainRule
at org.eclipse.epsilon.eol.AbstractModule.parse
at org.eclipse.epsilon.eml.dt.launching.
EmlLaunchConfigurationDelegate.launch
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


I say generally, because I actually did manage to get one successful run today. Thinking that changing the launch paths to use forward slashes was the secret, I tried the same thing from scratch only to find myself back at the above exception. Since then I have been unable to achieve any success, though I have downloaded and reinstalled the example numerous times.

Finally I tried running the ANT build that is part of the example with some modification: change "alias" to `alias` in the ECL, and remove the usematchtrace="eclMatchTrace" code from the compare and merge sections. Then, over the course of trying many other things the following rather bizarre pattern emerged:

1. Run the build:
Resource '/home/spokes/ExMerge/models/Source.model' does not exist.

2. Run the build:
Resource '/home/spokes/ExMerge/models/Vocabulary.model' does not exist.

3. Run the build:
Resource '/home/spokes/ExMerge/models/Source.model' does not exist.

4. Run the build:

Buildfile: /home/spokes/ExMerge/build.xml

loadModels:

compare:

merge:

disposeModels:
Resource '/home' does not exist.

Rinse, repeat. Same pattern every time. Note that I don't do anything between these steps. Also, step 4 doesn't actually ever change the Target.model file.

I don't expect you to answer for ANT, I only included that information in hopes that it helps you zero in on what's going on with Epsilon. Thanks for any help, I'm really keen on giving ECL a try.

--Steve
Re: ECL/EML example not working [message #588968 is a reply to message #588960] Sun, 09 May 2010 21:17 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Steve,

I'm afraid I can't reproduce this in my Windows box. I'll need to set up
Ubuntu using vmware and try to reproduce it there - but this will take
some time.

Cheers,
Dimitris

Stephen Barrett wrote:
> Hello Dimitrios,
>
> This problem is similar to another one you were looking at:
> http://www.eclipse.org/forums/index.php?t=msg&th=161315& amp;start=0&
> which does not seem to have been resolved, at least in the forum.
>
> On Friday I did reinstalls of the latest Eclipse modeling package on two
> different Linux machines. Since then I have been trying to get the
> Heterogeneous Model Merging example to work on either.
>
> Generally I get this error trace:
>
> java.lang.NullPointerException
> at org.antlr.runtime.CommonTokenStream.fillBuffer
> at org.antlr.runtime.CommonTokenStream.LT
> at org.eclipse.epsilon.eol.AbstractModule.invokeMainRule
> at org.eclipse.epsilon.eol.AbstractModule.parse
> at org.eclipse.epsilon.eml.dt.launching.
> EmlLaunchConfigurationDelegate.launch
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> I say generally, because I actually did manage to get one successful run
> today. Thinking that changing the launch paths to use forward slashes
> was the secret, I tried the same thing from scratch only to find myself
> back at the above exception. Since then I have been unable to achieve
> any success, though I have downloaded and reinstalled the example
> numerous times.
>
> Finally I tried running the ANT build that is part of the example with
> some modification: change "alias" to `alias` in the ECL, and remove the
> usematchtrace="eclMatchTrace" code from the compare and merge sections.
> Then, over the course of trying many other things the following rather
> bizarre pattern emerged:
>
> 1. Run the build:
> Resource '/home/spokes/ExMerge/models/Source.model' does not exist.
>
> 2. Run the build:
> Resource '/home/spokes/ExMerge/models/Vocabulary.model' does not exist.
>
> 3. Run the build:
> Resource '/home/spokes/ExMerge/models/Source.model' does not exist.
>
> 4. Run the build:
>
> Buildfile: /home/spokes/ExMerge/build.xml
>
> loadModels:
>
> compare:
>
> merge:
>
> disposeModels:
> Resource '/home' does not exist.
>
> Rinse, repeat. Same pattern every time. Note that I don't do anything
> between these steps. Also, step 4 doesn't actually ever change the
> Target.model file.
>
> I don't expect you to answer for ANT, I only included that information
> in hopes that it helps you zero in on what's going on with Epsilon.
> Thanks for any help, I'm really keen on giving ECL a try.
>
> --Steve
Previous Topic:Navigation of ref'd associations
Next Topic:[EuGENia] Problem customizing the GMF editor
Goto Forum:
  


Current Time: Sat Oct 25 03:08:15 GMT 2014

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

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