Skip to content

InfluxDbSink throws NPE #247

@johanneshiry

Description

@johanneshiry

The current implementation of the InfluxDbSink tries to retrieve a scenario name in InfluxDbSink:139 from the provided InfluxDbConnector. However, one of the default InfluxDbConnector constructors passes in a null as scenario parameter which causes a NullPointerException. Furthermore, the documentation of this constructor says that one should not use it at all for persisting (????). Therefore I would prefer removing it but maybe @mia-krause can help with an explanation about the purpose of this constructor...?!

.tag("scenario", connector.getScenarioName())

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions