question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stream Enrich: force jackson-databind to 2.9.3

See original GitHub issue

Related to #3701 and #3702, we see a java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.node.ArrayNode.<init>(Lcom/fasterxml/jackson/databind/node/JsonNodeFactory;Ljava/util/List;) error at runtime when using R103 (which is equivalent to master at the time of writing).

The solution for spark-enrich in #3702 fixes the problem in stream-enrich. That is, downgrading geoip2 to version 2.5.0 for stream-enrich. I am unsure if this is the correct approach. If it is, I can easily submit a PR.

Steps to reproduce:

git clone https://github.com/snowplow/snowplow
cd 3-enrich/stream-enrich
sbt "project kinesis" assembly
# Run target/scala-2.11/snowplow-stream-enrich-kinesis-0.16.0.jar with a config setup for Kinesis.
java -jar ...

We see ERROR com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker - Worker.run caught exception, sleeping for 1000 milli seconds! and the underlying error is java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.node.ArrayNode.<init>(Lcom/fasterxml/jackson/databind/node/JsonNodeFactory;Ljava/util/List;).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
BenFradetcommented, Apr 27, 2018

I was able to find the root cause:

Apparently publishLocal relies on ivy2 whereas publish relies on maven and I guess they have different dependency resolution mechanisms.

2reactions
BenFradetcommented, Apr 26, 2018

Reopening til we get to the bottom of this.

Also you might be interested in https://github.com/snowplow/snowplow-docker 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in stream-enrich jackson databind - Discourse – Snowplow
Hi, i am getting an error when i run stream-enrich (Kafka project) Exception in thread "main" java.lang.
Read more >
com.fasterxml.jackson.core : jackson-databind : 2.9.9.3
jackson -databind - General data-binding functionality for Jackson: works on core streaming API.
Read more >
snowplow/snowplow r105-pompeii on GitHub - NewReleases.io
This release focuses on fixing a duplication issue in Stream Enrich. ... between sink and record processor (#3745); Force jackson-databind to 2.9.3 (#3744) ......
Read more >
SAP Cloud SDK for Java – Release Notes
Update dependency to Jackson Databind to version 2.9.9.2 (from 2.9.9.1) in order to fix reported security vulnerabilities. Fixed Issues. Fix an issue where ......
Read more >
Drools Documentation - Red Hat on GitHub
Drools provides an Eclipse-based IDE (which is optional), but at its core only ... Every user further has the option to force a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found