Bug - Report generation fails if the Passing Criteria is kept as 'None'
Description
The core produces the following stack trace:
com.eclipsesource.v8.V8ScriptCompilationException: undefined:8: SyntaxError: Unexpected token ;
at com.eclipsesource.v8.V8._executeScript(Native Method)
at com.eclipsesource.v8.V8.executeScript(V8.java:1079)
at com.eclipsesource.v8.V8.executeScript(V8.java:682)
at com.eclipsesource.v8.V8.executeObjectScript(V8.java:712)
at com.eclipsesource.v8.V8.executeObjectScript(V8.java:695)
at nl.tudelft.ewi.auta.j2v8.J2V8ScriptExecutionContext.submitScript(J2V8ScriptExecutionContext.java:108)
at nl.tudelft.ewi.auta.core.report.ReportGeneratorNg.precompile(ReportGeneratorNg.java:145)
at nl.tudelft.ewi.auta.core.report.ReportGeneratorNg.report(ReportGeneratorNg.java:76)
at nl.tudelft.ewi.auta.core.report.ResultsProcessor.process(ResultsProcessor.java:76)
at nl.tudelft.ewi.auta.core.communication.MessageReceiver.lambda$handle$0(MessageReceiver.java:231)
at nl.tudelft.ewi.auta.common.threads.Threads.lambda$wrap$0(Threads.java:219)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Priority - Medium
The submission shows the status as 'error' if this happens, should be fixed before demo.
Definition of done
When the reports are generated even if there are no passing criteria.