Skip to content

[CRS normalization] Ingested manifest with 2D CRS Persistable reference cannot be found by Search (GONRG-5581)

Riabokon Stanislav(EPAM)[GCP] requested to merge npe-arrays into master

Issue: osdu/platform/system/indexer-service#61 (closed)

There is a bug in the core common lib util class:

Storage service uses this class when records are requested via query endpoint:

curl --location --request POST '' \
--header 'Data-Partition-ID: odesprod' \
--header 'frame-of-reference: units=SI;crs=wgs84;elevation=msl;azimuth=true north;dates=utc;' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{

The same endpoint is used by the Indexer service to perform indexing on converted records.

When there is a conversion property in array format like VerticalMeasurements[].VerticalMeasurement present in the record meta block but not present in the data section, this method throws NullPointerException. Which makes Storage to respond a 500 error and breaks the indexing of that record.


Merge request reports