If I try to use the PRO trial key, liquibase throws exception on any command:
Starting Liquibase at 10:44:24 (version 4.17.0 #4922 built at 2022-10-05 14:56+0000)
Liquibase Version: 4.17.0
[2022-10-19 10:44:24] SEVERE [liquibase.integration] Index 1 out of bounds for length 1
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at liquibase.license.pro.DaticalTrueLicenseService.getValByAttributeTypeFromIssuerDN(Unknown Source)
at liquibase.license.pro.DaticalTrueLicenseService.getLicenseInfo(Unknown Source)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$1(LiquibaseCommandLine.java:337)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:318)
at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:84)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at liquibase.integration.commandline.LiquibaseLauncher.main(LiquibaseLauncher.java:107)
Unexpected error running Liquibase: Index 1 out of bounds for length 1
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at liquibase.license.pro.DaticalTrueLicenseService.getValByAttributeTypeFromIssuerDN(Unknown Source)
at liquibase.license.pro.DaticalTrueLicenseService.getLicenseInfo(Unknown Source)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$1(LiquibaseCommandLine.java:337)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:318)
at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:84)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at liquibase.integration.commandline.LiquibaseLauncher.main(LiquibaseLauncher.java:107)
liquibase.properties looks like:
changeLogFile=changelog.xml
classpath: postgresql-42.5.0.jar
liquibase.command.url=jdbc:postgresql://10.10.251.124:5432/db
liquibase.command.username: dily
liquibase.command.password: password
liquibase.command.referenceUrl: jdbc:postgresql://10.10.251.124:5432/db2
liquibase.command.referenceUsername: dily
liquibase.command.referencePassword: password
logLevel: all
liquibase.licenseKey: bla-bla-bla
without license key commands like ‘status’ or ‘update’ works fine
What could be wrong?