Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public static void main(String[] args) throws Exception {

try {
cfg = new MmtcConfig();
cfg.validate();
} catch (Exception e) {
logger.fatal("MMTC correlation initialization failed.");
throw new MmtcException("MMTC correlation initialization failed.", e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ public TimeCorrelationApp(TimeCorrelationRunConfig config) throws MmtcException
* the specified SPICE kernels. Load the SCLK kernel separately.
*/
private void init() throws Exception {
config.validate();

new BuiltInOutputProductMigrationManager(config).assertExistingProductsDoNotRequireMigration();

logger.debug("Loading SPICE library");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public Map<String, TimeCorrelationFilter> getFilters() throws MmtcException {
}

public boolean isCreateUplinkCmdFile() {
if (this.runConfigInputs.isCreateUplinkCmdFile) {
if (this.runConfigInputs != null && this.runConfigInputs.isCreateUplinkCmdFile) {
return true;
}

Expand Down