evaluate method in EndUserAPI cannot be called with a factbase accessed by relational views
This seems to be because the size of the factbase is required while we cannot get the size of a datasource accessed by relational views
java.lang.NullPointerException: Cannot invoke "java.util.stream.Stream.count()" because the return value of "fr.boreal.model.kb.api.FactBase.getAtoms()" is null
at fr.boreal.model.kb.api.FactBase.size(FactBase.java:119)
at fr.boreal.component_builder.operations.FactBaseLoadingOperationResult.<init>(FactBaseLoadingOperationResult.java:12)
at fr.boreal.component_builder.ComponentBuilder.trySetFactBase(ComponentBuilder.java:310)
at fr.boreal.component_builder.ComponentBuilder.init(ComponentBuilder.java:321)
at fr.boreal.component_builder.api.IComponentBuilder.createDefaultBuilderFrom(IComponentBuilder.java:180)
at fr.boreal.component_builder.api.IComponentBuilder.buildAndGetQueryEvaluator(IComponentBuilder.java:67)
at fr.boreal.component_builder.api.IComponentBuilder.buildAndGetQueryEvaluator(IComponentBuilder.java:45)
at fr.boreal.api.high_level_api.EndUserAPI.evaluate(EndUserAPI.java:102)
at fr.boreal.api.integraal_repl.IGCommands$EvaluateCommand.queryFromInput(IGCommands.java:475)
at fr.boreal.api.integraal_repl.IGCommands$EvaluateCommand.run(IGCommands.java:459)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at picocli.shell.jline3.PicocliCommands.invoke(PicocliCommands.java:287)
at org.jline.console.impl.SystemRegistryImpl.execute(SystemRegistryImpl.java:1239)
at org.jline.console.impl.SystemRegistryImpl.execute(SystemRegistryImpl.java:1284)
at fr.boreal.api.integraal_repl.IGRepl.main(IGRepl.java:173)