#24601 closed defect (fixed)
Tests on Java25 fail: Cannot invoke "org.apache.commons.jcs3.auxiliary.disk.block.BlockDiskKeyStore.reset()" because "this.keyStore" is null
| Reported by: | stoecker | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 26.03 |
| Component: | Core | Version: | |
| Keywords: | Cc: | taylor.smock |
Description
org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJobTest and org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJobTest fail for Java >= 24.
Attachments (0)
Change History (13)
comment:1 by , 3 weeks ago
| Cc: | added |
|---|
comment:2 by , 3 weeks ago
I'll probably run the tests in an IDE with a breakpoint set on keyStore to see when/where it is set (Java 21) and then see why that particular code path is not taken in Java 25.
comment:4 by , 2 weeks ago
| Milestone: | 26.01 → 26.03 |
|---|
comment:5 by , 2 weeks ago
This appears to be a test pollution issue. At least partially. Which is going to make it a PITA to debug.
comment:8 by , 7 days ago
On Windows it works also with Java 25 in the GitHub tests. Only MacOs and Unix fail.
comment:9 by , 5 days ago
Installed Java 25.0.2 on my openSUSE Tumbleweed system. No failure. Work with "mvn test" and "ant test".
comment:12 by , 3 days ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |



@taylor.smock:
Do you have an idea how to fix this? ATM I don't even know where to start looking.