Skip to content

Commit 35e5864

Browse files
committed
Add null check
1 parent 519d37a commit 35e5864

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisMaintenanceTask.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ else if (!d.getFile().exists())
241241
{
242242
log.error("Missing runId: " + m.getRunId());
243243
}
244+
else if (run.getFilePathRootPath() == null)
245+
{
246+
log.error("Run fileroot is null for runId: " + m.getRunId());
247+
}
244248
else
245249
{
246250
try (Stream<Path> stream = Files.walk(run.getFilePathRootPath()))

0 commit comments

Comments
 (0)