Investigate intermittent CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper failure in CI

Open
#1,923 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@dashorst is already working on this.

Since Nov 15, 2026.

Assessment

This issue has not been assessed yet.

Description

CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper failed in CI on the wicket-10.x branch for #1917, a Dependabot PR that only bumps build-helper-maven-plugin from 3.7.0 to 3.8.0. The same bump passed on master (#1909) and wicket-11.x (#1919), so the change itself is an unlikely cause.

Failing run: https://github.com/apache/wicket/actions/runs/43666967893 (job build (25); the build (17) and build (21) jobs were cancelled by fail-fast, not failed on their own)

[ERROR] Tests run: 26, Failures: 1, Errors: 0, Skipped: 0 -- in org.apache.wicket.core.request.mapper.CryptoMapperTest
[ERROR] org.apache.wicket.core.request.mapper.CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not <null>
[ERROR]   CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper:324 expected: not <null>

To investigate:

  • Whether the test is nondeterministic: random keys or salts, ordering between the two CryptoMapper instances, shared or static state, or a dependency on test execution order. Try to reproduce by running it repeatedly on wicket-10.x with Java 25.
  • Whether it also fails on master and wicket-11.x, and how often it has failed in recent CI history.
  • Whether the CI infrastructure contributes: the Java 25 runner/JDK build, the GitHub Actions setup, or the fail-fast matrix cancelling the other jobs and hiding whether they would pass.

The fix goes on master first and is cherry-picked to the maintenance lines where it applies.

Dominant language
Java
Stars
800
Forks
437
Avg merge
21h 36m
Merged PRs (30d)
167

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/wicket

All issues in apache/wicket

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.