Skip to content

Commit

Permalink
Corrected a NPE caused by containers missing for files not dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpitre committed Aug 29, 2024
1 parent 138d550 commit e1ea3f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public GtfsFeedContainer loadAndValidate(
ArrayList<GtfsContainer<?, ?>> tableContainers = new ArrayList<>();
tableContainers.ensureCapacity(tableDescriptors.size());
for (GtfsDescriptor<?> tableDescriptor : remainingDescriptors.values()) {
AnyTableLoader.loadMissingFile(tableDescriptor, validatorProvider, noticeContainer);
tableContainers.add(AnyTableLoader.loadMissingFile(tableDescriptor, validatorProvider, noticeContainer));
}
try {
for (Future<TableAndNoticeContainers> futureContainer : exec.invokeAll(loaderCallables)) {
Expand Down

0 comments on commit e1ea3f1

Please sign in to comment.