Skip to main content

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

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


Back to the top