Open FAMILIAR-project opened 11 years ago
You found a bug in Pacogen, I fixed it but I have to check that the fix doesn't not impact other part of the system. You will have to regenerate a new runtime as soon as I'm sure of the fix.
The model you used to test is too simple, on bigger model it should run correctly.
As temporary fix I'll catch the exception and throw a new error message.
Have we made progress here ?
I am launching FML.java and I perform the following session:
(is it a deployment issue? or a quick fix is needed?)
fml> fm1 = FM (A : B [C] ; ) fm1: (FEATURE_MODEL) A: B [C] ; fml> pw fm1 A,B,C pwConfig: (SET) {} fml> java.io.FileNotFoundException: solution.txt (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:138)
at java.util.Scanner.(Scanner.java:656)
at fr.unice.polytech.modalis.familiar.operations.PacogenLauncher.solutionReader(PacogenLauncher.java:240)
at fr.unice.polytech.modalis.familiar.operations.PacogenLauncher.launchPacogen(PacogenLauncher.java:141)
at fr.unice.polytech.modalis.familiar.parser.PairwiseAnalyzer.eval(PairwiseAnalyzer.java:49)
at fr.unice.polytech.modalis.familiar.parser.FMLAbstractCommandAnalyzer.parse(FMLAbstractCommandAnalyzer.java:101)
at fr.unice.polytech.modalis.familiar.parser.SetAnalyzer.eval(SetAnalyzer.java:162)
at fr.unice.polytech.modalis.familiar.parser.FMLAbstractCommandAnalyzer.parse(FMLAbstractCommandAnalyzer.java:101)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parseSetCommand(FMLCommandInterpreter.java:2089)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parse(FMLCommandInterpreter.java:545)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parse(FMLCommandInterpreter.java:445)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parse(FMLCommandInterpreter.java:1026)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parse(FMLCommandInterpreter.java:941)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parse(FMLCommandInterpreter.java:810)
at fr.unice.polytech.modalis.familiar.parser.FMLCommandInterpreter.parseCommand(FMLCommandInterpreter.java:378)
at fr.unice.polytech.modalis.familiar.interpreter.FMLShell.parse(FMLShell.java:686)
at fr.unice.polytech.modalis.familiar.interpreter.FMLShell.switchToInterativeMode(FMLShell.java:581)
at fr.unice.polytech.modalis.familiar.interpreter.FMLShell.runPrompt(FMLShell.java:327)
at fr.unice.polytech.modalis.familiar.interpreter.FMLShell.launch(FMLShell.java:430)
at fr.unice.polytech.modalis.familiar.standalone.FML.main(FML.java:162)