Oracle container - error
pioro opened this issue · 0 comments
pioro commented
Hello
I created a docker container based on the Oracle one and when I try to use it with Liquibase data
I got an error listed below.
Container file:
pioro@faragorn:~$ cat local/Dockerfile
from gvenzl/oracle-xe:21.3.0-slim
VOLUME /opt/oracle/oradata
EXPOSE 1521
Error message:
Unexpected error running Liquibase: java.lang.NullPointerException
liquibase.exception.CommandExecutionException: java.lang.NullPointerException
at liquibase.command.CommandScope.execute(CommandScope.java:186)
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:55)
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:24)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$1(LiquibaseCommandLine.java:352)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:317)
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)
Caused by: java.lang.NullPointerException
at io.titandata.titan.providers.local.Run.run(Run.kt:104)
at io.titandata.titan.providers.local.Run.run$default(Run.kt:23)
at io.titandata.titan.providers.Local.run(Local.kt:210)
at org.liquibase.ext.data.RunCommandStep.run(RunCommandStep.java:60)
at liquibase.command.CommandScope.execute(CommandScope.java:172)
... 20 more
There is no problem with an postgresql container.