Changeset 35909 in osm for applications/editors

Timestamp:
2022-02-07T15:41:40+01:00 (3 years ago)
Author:
taylor.smock
Message:

building_tools (dist): Add NPE check in EDT along with a defensive copy

See #21833: NPE: Cannot invoke "org.openstreetmap.josm.data.coor.EastNorth.east()".
This was caused by something either calling the reset method *or* one of the
methods for calculating the EastNorth returning null.

In any case, we fixed the potential race condition by making a defensive copy
of the en array, and then checking the defensive copy for nulls in the EDT,
where appropriate.

File:
1 edited

Note: See TracChangeset for help on using the changeset viewer.