NPE when enabling "print size of models" log
When enabling "print size of model" in the preferences I get NPE error
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "fr.irisa.atsyra.absystem.model.absystem.util.ABSExpressionEval$ExpressionEvaluator.doSwitch(org.eclipse.emf.ecore.EObject)" is null
at fr.irisa.atsyra.absystem.model.absystem.util.ABSExpressionEval.evalExprInState(ABSExpressionEval.java:570)
at fr.irisa.atsyra.absystem.model.absystem.util.ABSExpressionEval.lambda$0(ABSExpressionEval.java:400)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at fr.irisa.atsyra.absystem.model.absystem.util.ABSExpressionEval.exprNbState(ABSExpressionEval.java:400)
at fr.irisa.atsyra.absystem.model.absystem.util.GoalSizeInfo.getAbsModelSizeInfo(GoalSizeInfo.java:29)
at fr.irisa.atsyra.absystem.gal.transfo.ABS2GAL.printGoalSize(ABS2GAL.java:309)
at fr.irisa.atsyra.absystem.gal.transfo.ABS2GAL.abs2gal(ABS2GAL.java:136)
at fr.irisa.atsyra.absystem.gal.transfo.ABS2Scenarios.abs2Scenarios(ABS2Scenarios.java:204)
at fr.irisa.atsyra.absystem.gal.ui.helpers.ABS2ScenariosWorker$1.run(ABS2ScenariosWorker.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
or depending on the example
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
at fr.irisa.atsyra.absystem.model.absystem.util.ABSSizeInfo.getAbsModelSizeInfo(ABSSizeInfo.java:104)
at fr.irisa.atsyra.absystem.transfo.ABS2ABSDefault.printInputModelSize(ABS2ABSDefault.java:91)
at fr.irisa.atsyra.absystem.transfo.ABS2ABSDefault.abs2abs(ABS2ABSDefault.java:48)
at fr.irisa.atsyra.absystem.gal.transfo.ABS2GAL.abs2gal(ABS2GAL.java:129)
at fr.irisa.atsyra.absystem.gal.transfo.ABS2Scenarios.abs2Scenarios(ABS2Scenarios.java:204)
at fr.irisa.atsyra.absystem.gal.ui.helpers.ABS2ScenariosWorker$1.run(ABS2ScenariosWorker.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)