Failing to create target-stream (type mismatch)
When running the following command:
java -Dorg.bytedeco.openblas.load=mkl_rt\ ${EVOAL_JVM_ARGUMENTS[@]} \ -Bcore:main=heuristic-search-evaluation\ "-Bcore:training-point-file=$DIST/points.xml"\ "-Bcore:predictive-function-file=$PRED" \ "-Bcore:target-points-file=$FUNC/target.xml" \ "-Bcore:optimisation-configuration-file=$EA" \ "-Bcore:fitness-standard-function-file=$FUNC/function.json" \ "-Bcore:data-validation-folder=$DVL"\ "-Bcore:evaluation=$EVALUATIONS"\ "-Bcore:evaluation-iterations=$NUMBER_OF_RUNS" \ "-Bcore:evaluation-output-folder=$OUTPUT"\ -Bcore:logging=INFO\ #&> logs/evaluations/$LOG
I get an error related to creating a target-stream from the target points file.
09:30:38.550 [main] INFO d.e.c.a.c.BeanFactory - Creating bean of type interface java.util.stream.Stream with name target-stream. 09:30:38.552 [main] ERROR d.e.c.a.c.BeanFactory - Failed to create contextual reference of type 'interface java.util.stream.Stream' with name 'target-stream'. 09:30:38.553 [main] ERROR d.e.c.a.c.BeanFactory - existing beans are: 09:30:38.553 [main] ERROR d.e.c.m.Evoal - Main class threw an exception. org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305: The given type interface java.util.stream.Stream is not a type of the bean Producer Method [Stream<PropertiesPair>] with qualifiers [@Default @Any @Named] declared as [[BackedAnnotatedMethod] @Produces @Named public de.evoal.surrogate.main.cdi.TargetPointLoader.getTargetStream(@Named PropertiesSpecification, @Named PropertiesSpecification)]
I am not sure if this is an issue with the file format or potentially an issue somewhere else (the optimisation configuration, for example, presumably doesn't work yet).