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

WriteParameters#hashCode can produce NPE #482

Closed
frederic-pierre opened this issue Dec 12, 2022 · 1 comment · Fixed by #483
Closed

WriteParameters#hashCode can produce NPE #482

frederic-pierre opened this issue Dec 12, 2022 · 1 comment · Fixed by #483
Labels
bug Something isn't working
Milestone

Comments

@frederic-pierre
Copy link

Hi there,

The method com.influxdb.client.write.WriteParameters#hashCode can produce a NullPointerException if the bucket or the org is null.

As we set those two properties in the InfluxDBClientOptions, we're not setting them in the WriteParameters. This should not lead to potential NPE.

Specifications:

  • Client Version: 6.7.0
  • InfluxDB Version: 2.5.1
  • JDK Version: 17.0.5
@bednar bednar added the bug Something isn't working label Dec 13, 2022
@bednar
Copy link
Contributor

bednar commented Dec 13, 2022

Hi @frederic-pierre,

thanks for report this issue. We will take a look.

Regards

@bednar bednar added this to the 6.8.0 milestone Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants