Creating new project errors
onynixia
Posts: 3 New member
Randomly this morning after updating to 7.2.4 desktop client, I get the following error message while attempting to create a new project within Flyway Desktop GUI:
Failed to parse the response from the flyway CLI as json.: Failed to parse result '' as json: Unexpected end of JSON input
I tried to run a 'flyway repair' from command like and I run into this:
Failed to parse the response from the flyway CLI as json.: Failed to parse result '' as json: Unexpected end of JSON input
I tried to run a 'flyway repair' from command like and I run into this:
Exception in thread "main" java.util.ServiceConfigurationError: org.flywaydb.core.extensibility.Plugin: Provider org.flywaydb.comparison.engines.SqlServerComparisonPerformer could not be instantiated
at java.base/java.util.ServiceLoader.fail(Unknown Source)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(Unknown Source)
at java.base/java.util.ServiceLoader$ProviderImpl.get(Unknown Source)
at java.base/java.util.ServiceLoader$3.next(Unknown Source)
at org.flywaydb.core.internal.plugin.PluginRegister.registerPlugins(PluginRegister.java:83)
at org.flywaydb.core.internal.plugin.PluginRegister.getPlugins(PluginRegister.java:73)
at org.flywaydb.core.internal.plugin.PluginRegister.getPlugins(PluginRegister.java:46)
at org.flywaydb.core.FlywayTelemetryManager.<init>(FlywayTelemetryManager.java:45)
at org.flywaydb.commandline.Main.main(Main.java:85)
Caused by: java.lang.IncompatibleClassChangeError: class org.flywaydb.core.api.CoreErrorCode can not implement org.flywaydb.core.api.ErrorCode, because it is not an interface (org.flywaydb.core.api.ErrorCode is in unnamed module of loader 'app')
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at org.flywaydb.comparison.engines.SqlServerComparisonPerformer.<init>(SqlServerComparisonPerformer.java:808)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
Am I missing a dependency to run the new desktop client version? I tried fully re-installing but I had no luck.
Am I missing a dependency to run the new desktop client version? I tried fully re-installing but I had no luck.
Tagged:
Answers
Thank you for raising this. I've not been able to replicate this outcome, what OS are you running Desktop on please and what db type did you select from your project?
I tried installing the new 7.2.4 client on an alternate machine and was able to create a new project without any problems. I suspect something was cached during the update that might have broke my install. Is there any instructions to delete installation cached folders or settings on a user profile? I could recreate my user profile but I will save that as a final option.
As for clean up, if you uninstall conventionally and also delete the following directory contents this will ensure you only use the downloaded version.
For verification of download integrity the sha256 of the Flyway Desktop_7.2.5.0_x64 installer is
Failed to parse the response from the flyway CLI as json
There is nothing useful in verbose log files.
I tried repairing, uninstalling and reinstalling from the downloaded installer, nothing helps, i'm bricked from using flyway.
Windows 10.