You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If irace is used with metrics enabled without autoconfig, an error is raised.
To Reproduce
Activate metrics and run project with irace (no autoconfig)
Expected behavior
Should run properly
What happens instead
Execution error
Screenshots / Code snippets
[12:19:12] ERROR .[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Called Metrics::getCurrentThreadMetrics before Metrics::resetMetrics] with root cause
java.lang.IllegalStateException: Called Metrics::getCurrentThreadMetrics before Metrics::resetMetrics
at es.urjc.etsii.grafo.metrics.Metrics.getCurrentThreadMetrics(Metrics.java:37)
at es.urjc.etsii.grafo.metrics.Metrics.get(Metrics.java:101)
at es.urjc.etsii.grafo.metrics.Metrics.get(Metrics.java:114)
at es.urjc.etsii.grafo.metrics.Metrics.add(Metrics.java:194)
at es.urjc.etsii.grafo.PDSP.algorithm.TabuSearchAlgorithm.algorithmWithTabu(TabuSearchAlgorithm.java:135)
at es.urjc.etsii.grafo.PDSP.algorithm.TabuSearchAlgorithm.lambda$algorithm$0(TabuSearchAlgorithm.java:68)
at java.base/java.lang.ScopedValue$Carrier$CallableAdapter.call(ScopedValue.java:461)
at java.base/jdk.internal.vm.ScopedValueContainer.callWithoutScope(ScopedValueContainer.java:162)
at java.base/jdk.internal.vm.ScopedValueContainer.call(ScopedValueContainer.java:147)
at java.base/java.lang.ScopedValue$Carrier.get(ScopedValue.java:448)
at java.base/java.lang.ScopedValue.getWhere(ScopedValue.java:623)
at es.urjc.etsii.grafo.PDSP.algorithm.TabuSearchAlgorithm.algorithm(TabuSearchAlgorithm.java:68)
at es.urjc.etsii.grafo.PDSP.algorithm.TabuSearchAlgorithm.algorithm(TabuSearchAlgorithm.java:27)
at es.urjc.etsii.grafo.autoconfig.irace.IraceOrchestrator.singleExecution(IraceOrchestrator.java:316)
at es.urjc.etsii.grafo.autoconfig.irace.IraceOrchestrator.iraceSingleCallback(IraceOrchestrator.java:259)
at es.urjc.etsii.grafo.autoconfig.irace.IraceOrchestrator.lambda$iraceMultiCallback$0(IraceOrchestrator.java:290)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
[12:19:12] INFO e.u.e.g.a.i.r.RLangRunner : IRACE Error Stream:
Versions (ignore not applicable ones):
OS: Ubuntu
Java version: 21
Mork version (if released, if not commit reference): 0.18
The text was updated successfully, but these errors were encountered:
Describe the bug
If irace is used with metrics enabled without autoconfig, an error is raised.
To Reproduce
Activate metrics and run project with irace (no autoconfig)
Expected behavior
Should run properly
What happens instead
Execution error
Screenshots / Code snippets
Versions (ignore not applicable ones):
The text was updated successfully, but these errors were encountered: