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

License check failed with unknown error: Failed to invoke procedure bloom.checkLicenseCompliance: Caused by: java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.util.JacksonFeatureSet com.fasterxml.jackson.core.JsonParser.getReadCapabilities()' #264

Closed
Sandalorian opened this issue Jul 4, 2022 · 2 comments

Comments

@Sandalorian
Copy link

Sandalorian commented Jul 4, 2022

When combining Bloom, GDS, APOC and n10s there can be occurrences where Bloom does not start due to incompatible versions of jackson-core being loaded. This would also have knock on effects for other parts that also rely on jackson 2.13 methods.

Specifically Bloom and GDS uses jackson-core 2.13, apoc inherts from Neo4j which uses 2.12.

N10s uses jackson-core 2.9.

When the wrong version of jackson-core is loaded, we end up with an error during log in:

License check failed with unknown error: Failed to invoke procedure `bloom.checkLicenseCompliance`: Caused by: java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.util.JacksonFeatureSet com.fasterxml.jackson.core.JsonParser.getReadCapabilities()'

When reviewing the javdocs for jackson-core, we see that the method is present on 2.13 but is not present on 2.9. Below are the links:

Jackson 2.13:
https://fasterxml.github.io/jackson-core/javadoc/2.13/com/fasterxml/jackson/core/JsonParser.html#getReadCapabilities--

Jackson 2.9:
https://fasterxml.github.io/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html

Can we have jackson version updated to stop this issue form occurring?

@Sandalorian
Copy link
Author

Sandalorian commented Jul 4, 2022

related issue #259 and PR #262

@jbarrasa
Copy link
Collaborator

jbarrasa commented Nov 4, 2022

@jbarrasa jbarrasa closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants