AbsaOSS/atum

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

Opened this issue · 0 comments

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
  5. See error

Expected behavior

Prevent the runtime error in some way.