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

no null protect in FlexibleRowBuilder setString #3637

Closed
vagetablechicken opened this issue Nov 29, 2023 · 0 comments · Fixed by #3649
Closed

no null protect in FlexibleRowBuilder setString #3637

vagetablechicken opened this issue Nov 29, 2023 · 0 comments · Fixed by #3649
Assignees
Labels
bug Something isn't working sdk openmldb java/python sdk

Comments

@vagetablechicken
Copy link
Collaborator

vagetablechicken commented Nov 29, 2023

if val is null, we'll get an error:

java.lang.NullpointerException: null
at com._4paradigm.openmldb.common.codec.FlexibleRowBuilder.setstring(FlexibleRowBuilder.java:337)
at com._4paradigm.openmldb,sdk.impl.BatchcallablepreparedstatementImpl,setstring(BatchcallablereparedstatementImpl.java:215)
@vagetablechicken vagetablechicken changed the title no null protect in setString no null protect in FlexibleRowBuilder setString Nov 29, 2023
@aceforeverd aceforeverd added sdk openmldb java/python sdk bug Something isn't working labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sdk openmldb java/python sdk
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants