Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go back to Liquibase 4.3.5 #18209

Merged
merged 2 commits into from
Jun 28, 2021
Merged

Go back to Liquibase 4.3.5 #18209

merged 2 commits into from
Jun 28, 2021

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Jun 28, 2021

Since the upgrade to Liquibase 4.4, we have some errors with their license stuff. Given we don't have the sources and things are obfuscated, it's not exactly easy to know what's going on so for now, let's go back to 4.3.5.

For the record:

Caused by: java.lang.NullPointerException
	at liquibase.license.pro.DaticalTrueLicenseService.licenseIsInstalled(Unknown Source)
	at liquibase.license.pro.DaticalTrueLicenseService.licenseIsValid(Unknown Source)
	at liquibase.configuration.pro.EnvironmentValueProvider.getProvidedValue(Unknown Source)
	at liquibase.configuration.LiquibaseConfiguration.getCurrentConfiguredValue(LiquibaseConfiguration.java:123)
	at liquibase.configuration.ConfigurationDefinition.getCurrentConfiguredValue(ConfigurationDefinition.java:93)
	at liquibase.configuration.ConfigurationDefinition.getCurrentValue(ConfigurationDefinition.java:61)
	at liquibase.logging.core.DefaultLogMessageFilter.filterMessage(DefaultLogMessageFilter.java:12)
	at liquibase.logging.core.AbstractLogger.filterMessage(AbstractLogger.java:92)
	at liquibase.logging.core.JavaLogger.log(JavaLogger.java:26)
	at liquibase.logging.core.AbstractLogger.info(AbstractLogger.java:50)
	at liquibase.logging.core.AbstractLogger.info(AbstractLogger.java:45)
	at liquibase.servicelocator.StandardServiceLocator.findInstances(StandardServiceLocator.java:28)
	at liquibase.plugin.AbstractPluginFactory.findAllInstances(AbstractPluginFactory.java:92)
	at liquibase.plugin.AbstractPluginFactory.getPlugin(AbstractPluginFactory.java:62)
	at liquibase.logging.core.LogServiceFactory.getDefaultLogService(LogServiceFactory.java:22)
	at liquibase.Scope.getCurrentScope(Scope.java:79)
	at liquibase.configuration.ConfigurationDefinition$Building.build(ConfigurationDefinition.java:323)
	at com.datical.liquibase.ext.config.LiquibaseProConfiguration.<clinit>(Unknown Source)

Note that GraalVM recommends to make com.datical.liquibase.ext.config.LiquibaseProConfiguration runtime initialized but it's not as easy as it seems as this class is used in a ton of clinits across the codebase.

And for now, I must admit I don't want to waste my time on this given I have absolutely no idea what's going wrong. I'll open an issue in the Liquibase tracker to see if they are willing to help.

@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/liquibase labels Jun 28, 2021
@famod
Copy link
Member

famod commented Jun 28, 2021

I'll open an issue in the Liquibase tracker to see if they are willing to help.

👍

Btw, #16292 (comment) is another case of GraalVM "incompatibility" in Liquibase.

@gastaldi
Copy link
Contributor

@gsmet Should we backport this PR too?

@gsmet
Copy link
Member Author

gsmet commented Jun 28, 2021

AFAIK, we kept 4.3 in 2.0.x.

@quarkus-bot
Copy link

quarkus-bot bot commented Jun 28, 2021

Failing Jobs - Building bbbaf76

Status Name Step Test failures Logs Raw logs
Maven Tests - JDK 11 Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Maven Tests - JDK 11 #

📦 integration-tests/maven

io.quarkus.maven.it.DevMojoIT.testThatNewResourcesAreServed line 849 - More details - Source on GitHub

@gsmet gsmet merged commit 4b02fe3 into quarkusio:main Jun 28, 2021
@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jun 28, 2021
@famod
Copy link
Member

famod commented Aug 7, 2021

@gsmet have you ever reported that issue upstream?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/liquibase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants