Missing dialect definitions on classpath cause exception
alex@ubuntu:~/ws/20190901/stardat-ddiflatdb-core$ java -jar target/stardat-ddiflatdb-core-0.0.12-SNAPSHOT-jar-with-dependencies.jar
13:52:43.312 [main] DEBUG org.gesis.stardat.ddiflatdb.core.repository.SpringResourceRepository - locationPattern: classpath*:**/flatdb/dialect-definitions/**/*.*
Exception in thread "main" java.lang.ExceptionInInitializerError
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 org.gesis.stardat.ddiflatdb.core.repository.ClasspathDialectDefinitionRepository.<init>(ClasspathDialectDefinitionRepository.java:128)
at org.gesis.stardat.ddiflatdb.core.test.Cli.<clinit>(Cli.java:32)
Edited by Alexander Mühlbauer