[ERROR] [org.influxdb.impl.BatchProcessor ] - Batch could not be sent. Data will be lost java.lang.NullPointerException: null

It looks, that this workaround is needed also in my case. I have changed using a clear password to using sskey authentication. for some instructions look at this post.

After that you can use the examples here without “-p PASSWORD”