AbsaOSS / AbsaOSS/atum

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

Aperta
#117 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Scala
Stelle
30
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.