Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Problem running Ecore2Rdb example : Missing factory for 'Node :null'.

Hi Christian,

I've been stuck with this issue for days, and it works fine now.
Thanks a lot !

Sebastien

Le 19/01/2015 13:41, Christian Krause a écrit :
Hi Sebastien,

you are most probably missing the Trace model in your build path. You need to add the org.eclipse.emf.henshin.trace_XXX.jar to your build / class path.

Cheers,
Christian

2015-01-19 10:28 GMT+01:00 Sébastien Pasero <sebastien.pasero@xxxxxx>:
Hello,

I'm trying to run the Ecore2Rdb example, but I get the following error :
Generating Rdb model for 'CarRental.ecore'...
Exception in thread "main" java.lang.RuntimeException: Missing factory for 'Node :null'. Register the corresponding package, e.g. using PackageName.eINSTANCE.getName().
    at org.eclipse.emf.henshin.interpreter.impl.EngineImpl.getRuleInfo(EngineImpl.java:716)
    at org.eclipse.emf.henshin.interpreter.impl.EngineImpl$MatchFinder.<init>(EngineImpl.java:305)
    at org.eclipse.emf.henshin.interpreter.impl.EngineImpl$MatchGenerator.iterator(EngineImpl.java:251)
    at org.eclipse.emf.henshin.interpreter.impl.RuleApplicationImpl.execute(RuleApplicationImpl.java:89)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.executeRule(UnitApplicationImpl.java:175)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.doExecute(UnitApplicationImpl.java:99)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.execute(UnitApplicationImpl.java:89)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.executeSequentialUnit(UnitApplicationImpl.java:222)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.doExecute(UnitApplicationImpl.java:103)
    at org.eclipse.emf.henshin.interpreter.impl.UnitApplicationImpl.execute(UnitApplicationImpl.java:89)
    at org.eclipse.emf.henshin.interpreter.util.InterpreterUtil.executeOrDie(InterpreterUtil.java:254)
    at org.eclipse.emf.henshin.examples.ecore2rdb.Ecore2Rdb.run(Ecore2Rdb.java:83)
    at org.eclipse.emf.henshin.examples.ecore2rdb.Ecore2Rdb.main(Ecore2Rdb.java:110)

Here is what I did :
 - get all the files
 - create a standard Java Project in Eclipse (Luna 4.4, Build id: I20140606-1215).
 - add the required jars to build path
 - run Ecore2Rdb.java as Java Application

What am I missing ?

Regards,
Sebastien Pasero
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/henshin-dev



_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/henshin-dev

--
CS CS BLOG MAILTO



Back to the top