AbsaOSS / AbsaOSS/atum

It's not possible to use the Atum object when not loaded from file

Offen
#117 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Scala
Sterne
30
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Describe the bug
When _INFO file is not loaded from a file, certain (many?) functions of the `Atum` object are not possible to use, because `Accumulator` is `null`.
There is no other public way how to initialize the `Accumulator` but loading an _INFO file

## To Reproduce
Steps to reproduce the behavior OR commands run:
1. Include Atum in the project
2. Create a `ControlMeasure` via `ControlMeasureBuilder` (maybe this step is not even needed)
3. Call `Atum.setAdditionalInfo(...)`
4. Run the application/piece of code
4. See error

## Expected behavior
Prevent the runtime error in some way.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.