lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhys J <rhyssha...@gmail.com>
Subject Re: Error while updating: java.lang.NumberFormatException: empty String
Date Thu, 16 Jan 2020 20:42:23 GMT
On Thu, Jan 16, 2020 at 3:10 PM Edward Ribeiro <edward.ribeiro@gmail.com>
wrote:

> Hi,
>
> There is a status_code in the JSON snippet and it is going as a string with
> single space. Maybe it is an integer?
>
> Best,
> Edward
>
>
Oh wow, yes you are right. When I adjusted the status_code to not be a
space, it fixed everything.

I had forgotten that status_code was an integer.

It turned out that a database update had an error, and the status_code was
not entered. So my script is now handling whether the status_code is empty,
and adjusting accordingly.

Thanks,

Rhys

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message