Can not set java.lang.Boolean field xxx to null value
My field type is Boolean, but my program threw 'Can't set java. lang. Boolean field xxx to null value' here. Please check
Hi @xiezhuolong,
can you share the output from InfluxDB? I am not able to simulate your exception.
Regards
Hi @bednar ,
This is my data, and the field is "is_VIP_visible". 2023-05-04_08_55_influxdb_data.csv
Regards
@xiezhuolong, thanks for sharing your data.
All values from the field "is_VIP_visible" are "FALSE" and are parsed as Boolean.False. Why do you want to set the field to null for these values?
@bednar
This error is not related to the data. Because fieldType is not assigned from Boolean. TYPE. I think the fieldType should be assigned from Boolean. class.