Skip to content

Commit 837be70

Browse files
dependabot[bot]stian-sandvoldclaude
authored
chore(deps): bump io.netty:netty-all from 4.2.1.Final to 4.2.13.Final in /dhis-2 (#23875)
* chore(deps): bump io.netty:netty-all in /dhis-2 Bumps [io.netty:netty-all](https://github.com/netty/netty) from 4.2.1.Final to 4.2.13.Final. - [Release notes](https://github.com/netty/netty/releases) - [Commits](netty/netty@netty-4.2.1.Final...netty-4.2.13.Final) --- updated-dependencies: - dependency-name: io.netty:netty-all dependency-version: 4.2.13.Final dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix(deps): align netty modules via netty-bom for netty-all 4.2.13 Bumping netty-all to 4.2.13 leaves the individual netty modules that Artemis pulls in transitively (netty-codec-haproxy, netty-transport-classes-epoll/kqueue) at 4.1.128, putting two netty versions on the classpath. At runtime that throws AbstractMethodError (AbstractReferenceCountedByteBuf vs ReferenceCountUpdater) when the Artemis JMS listener starts, which fails every integration test that loads the Spring context. Import io.netty:netty-bom (pinned to ${netty-all.version}) so all io.netty:* artifacts resolve to one version. Verified: dependency:tree shows all netty artifacts at 4.2.13 with no 4.1.x left, and SchemaControllerTest passes under integration-h2-test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stian Sandvold <stian@dhis2.org> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e0b9983 commit 837be70

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

dhis-2/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
<!-- Apache Artemis -->
160160
<artemis.version>2.44.0</artemis.version>
161-
<netty-all.version>4.2.1.Final</netty-all.version>
161+
<netty-all.version>4.2.13.Final</netty-all.version>
162162
<classgraph.version>4.8.184</classgraph.version>
163163

164164
<!-- SMS/SMPP -->
@@ -1312,6 +1312,17 @@
13121312
<type>pom</type>
13131313
<scope>import</scope>
13141314
</dependency>
1315+
<!-- Align every io.netty:* artifact (incl. modules Artemis pulls transitively,
1316+
e.g. netty-codec-haproxy / netty-transport-classes-*) to the same version as
1317+
netty-all. Without this, the netty-all uber jar mixes with older individual
1318+
netty modules on the classpath, causing AbstractMethodError at runtime. -->
1319+
<dependency>
1320+
<groupId>io.netty</groupId>
1321+
<artifactId>netty-bom</artifactId>
1322+
<version>${netty-all.version}</version>
1323+
<type>pom</type>
1324+
<scope>import</scope>
1325+
</dependency>
13151326
<dependency>
13161327
<groupId>com.graphhopper.external</groupId>
13171328
<artifactId>jackson-datatype-jts</artifactId>

0 commit comments

Comments
 (0)