PathmindAI / nativerl

Train reinforcement learning agents using AnyLogic or Python-based simulations
Apache License 2.0
19 stars 4 forks source link

Model Analyzer is crashing #455

Closed slinlee closed 2 years ago

slinlee commented 2 years ago

This happens very often the last few weeks. here is an example snipped from the model analyzer logs.

Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
        at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
        at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
        at java.base/java.util.Objects.checkIndex(Objects.java:372)
        at java.base/java.util.ArrayList.get(ArrayList.java:458)
        at supply_chain_puzzle___delmia_version20211021.Main.getActionMask(Main.java:4273)
        at supply_chain_puzzle___delmia_version20211021.Main$1ActionMasks.<init>(Main.java:3006)
        ... 9 more
java.io.FileNotFoundException: File '' does not exist

We still get the errors even after the model analyzer refactoring, and when we started copying the model analyzer libraries from the [env]-static-training-files buckets.