-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
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...?!
PowerSystemDataModel/src/main/java/edu/ie3/datamodel/io/connectors/InfluxDbConnector.java
Line 62 in 1bea36c
| this(url, databaseName, null); |
| .tag("scenario", connector.getScenarioName()) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working