← All tasks
javadropwizard/dropwizard #5281Not a task: already works

LinkageError from Jackson Blackbird

envgap__dropwizard__dropwizard-5281

01 / FAILURE SIGNATURE

As reported upstream

Upon upgrading to Dropwizard 2.1.0, we encountered a LinkageError from Jackson Blackbird as described in this [issue](https://github.com/FasterXML/jackson-modules-base/issues/169).  `java.lang.LinkageError: loader 'app' attempted duplicate class definition for com.xxxx.$$JacksonBlackbirdAccess. (com.xxxx.$$JacksonBlackbirdAccess is in unnamed module of loader 'app')`
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
bfe148eea6c99a03b6f238f2fcf4c781c5abca90
Manifest
dropwizard-dependencies/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

dropwizard/dropwizard #5281 · read the original issue
Upon upgrading to Dropwizard 2.1.0, we encountered a LinkageError from Jackson Blackbird as described in this [issue](https://github.com/FasterXML/jackson-modules-base/issues/169).  `java.lang.LinkageError: loader 'app' attempted duplicate class definition for com.xxxx.$$JacksonBlackbirdAccess. (com.xxxx.$$JacksonBlackbirdAccess is in unnamed module of loader 'app')`



This causes httpclient to react and shutdown ([as described here](https://blog.adebski.com/posts/apache-http-client-shutting-down/)): `java.lang.IllegalStateException: Connection pool shut down`.  The issue is addressed in 2.13.3, can we expect an upgrade to this version in following dot releases of 2.1.x?  

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]