Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not set java.lang.Boolean field xxx to null value #537

Open
xiezhuolong opened this issue Apr 25, 2023 · 4 comments
Open

Can not set java.lang.Boolean field xxx to null value #537

xiezhuolong opened this issue Apr 25, 2023 · 4 comments
Labels
question Further information is requested

Comments

@xiezhuolong
Copy link

image
My field type is Boolean, but my program threw 'Can't set java. lang. Boolean field xxx to null value' here. Please check

@bednar
Copy link
Contributor

bednar commented May 2, 2023

Hi @xiezhuolong,

can you share the output from InfluxDB? I am not able to simulate your exception.

Regards

@bednar bednar added the question Further information is requested label May 2, 2023
@xiezhuolong
Copy link
Author

Hi @bednar ,

This is my data, and the field is "is_VIP_visible".
2023-05-04_08_55_influxdb_data.csv

Regards

@bednar
Copy link
Contributor

bednar commented May 4, 2023

@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?

@xiezhuolong
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants