Sen4cap v 1.2 got the following issue with L8 processing. /var/log/messages is full of such errors (below). What could have caused it ? Anyone had this?
Aug 31 14:50:12 s66114 start.sh: 2020-Aug-31 14:50:12.778 WARN [USGS-L8-1 ] r.c.t.d.r.r.j.JsonResponseParser - Cannot deserialize value of type java.time.LocalDate from String “2020-05-01 09:07:50”: Failed to deserialize java.time.LocalDate: (java.time.format.DateTimeParseException) Text ‘2020-05-01 09:07:50’ could not be parsed, unparsed text found at index 10
Aug 31 14:50:12 s66114 start.sh: at [Source: (String)"{“errorCode”:null,“error”:"",“data”:{“numberReturned”:6,“totalHits”:6,“firstRecord”:1,“lastRecord”:6,“nextRecord”:6,“results”:[{“acquisitionDate”:“2020-05-01”,“startTime”:“2020-05-01”,“endTime”:“2020-05-01”,“spatialFootprint”:{“type”:“Polygon”,“coordinates”:[[[24.03123,52.48075],[26.73353,52.01103],[27.58862,53.69767],[24.78229,54.17671],[24.03123,52.48075]]]},“sceneBounds”:“24.03123,52.01103,27.58862,54.17671”,“browseUrl”:“https://ims.cr.usgs.gov/browse/landsat_8_c1/2020/185/023/LC08_L1”[truncated 6810 chars]; line: 1, column: 1127] (through reference chain: ro.cs.tao.datasource.usgs.json.responses.SearchResponse[“data”]->ro.cs.tao.datasource.usgs.json.responses.SearchResults[“results”]->java.util.ArrayList[0]->ro.cs.tao.datasource.usgs.json.responses.SearchResult[“modifiedDate”])
Aug 31 14:50:12 s66114 start.sh: 2020-Aug-31 14:50:12.792 WARN [DefaultQuartzScheduler_Worker-1] o.e.s.scheduling.LookupJob - Query failed for site lietuva (reason: ro.cs.tao.datasource.QueryException: ro.cs.tao.datasource.QueryException: java.lang.NullPointerException). It will be retried later.
On another server I’ve got different problem with Landsat download:
log shows
Sep 15 08:50:57 s84036 start.sh: 2020-Sep-15 08:50:57.591 DEBUG [USGS-L8-1 ] o.e.s.s.i.DownloadServiceImpl - Querying page #1 (query 1 of 1) for {site id=1,satellite=L8}
Sep 15 08:50:58 s84036 start.sh: 2020-Sep-15 08:50:58.487 WARN [USGS-L8-1 ] r.c.t.d.r.r.j.JsonResponseParser - Can not construct instance of int from String value (“5f3bedf0d676088b”): not a valid Integer value
And then debug message shows json that comes from server, where fieldId is indeed not an integer:
(I can’t paste full json because system allows only two links pased, so here’s shorter version of json)
The issue has been recently introduced by USGS and it has been addressed. The fix will be included in the next Sen4CAP system update/patch. If you need it more urgent, please send me an email.