Skip to content

WriteParameters#hashCode can produce NPE #482

@frederic-pierre

Description

@frederic-pierre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions