AbsaOSS / AbsaOSS/atum

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

Ouverte
#117 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Scala
Étoiles
30
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.