I have a body of users using an Eclipse RCP-based Java desktop app (32-bit JRE1.7, Windows 7) that uses GeoTools for world/screen projection handling.
This morning the app has started failing for just one user. It worked fine on Friday. Significantly, CRS is not finding the transform, so _degs2Metres takes a null value:
_worldCoords = CRS.decode("EPSG:3395"); final CoordinateReferenceSystem worldDegs = CRS.decode("EPSG:4326"); _degs2metres = CRS.findMathTransform(worldDegs, _worldCoords);
This happens for just one user, on a network of users with (apparently) identical PCs. He tried restarting his PC, but it didn't fix it.
He has prior versions of the app running back to Oct 2018, and all of them now fail in the same way. We also tried opening 10-year old datafiles, and they won't open. This makes it look like the problem is outside this app.
It really looks like something we're unaware of has changed with his PC config. He's not aware of anything changing over the weekend, nor are his IT support staff.
Has anybody encountered a class-path, or some MS Windows config change that has caused the
CRS.findMathTransform() method to fail?
I believe GeoTools uses an H2 database to store the EPSG codes, so I guess his PC could have some other H2 database driver that is being used instead of the GeoTools one.
Any other suggestions?