Skip to content

MMTC can attempt to access config key "table.runHistoryFile.path" before the config is validated and it's confirmed that the key exists #67

@Lagejohn

Description

@Lagejohn

If a user tries to run the MMTC CLI with the lockfile.path missing from their config, MmtcConfig.getLockFileLocation() will resort to trying to create a lockfile in the same parent directory as the run history file. However, the acquisition of a lock file happens before config.validate() is called, so in the event a user is also missing the table.runHistoryFile.path key (or, more likely, has updated from 1.5.0 and hasn't renamed their key from table.runHistoryFile.uri), MMTC will throw an ambiguous NullPointerException that suggests they check the log (where no further details can be found).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions