Skip to content

Commit 1ea5d84

Browse files
committed
Fix NPE
1 parent e591183 commit 1ea5d84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/util/GenotypeGVCFsWrapper.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ else if (f.isDirectory() && doneFile.exists())
226226
{
227227
ctx.getLogger().info("Files will be marked for deletion after this step");
228228
toDelete.add(movedFile);
229-
toDelete.add(movedIdx);
229+
if (movedIdx != null)
230+
{
231+
toDelete.add(movedIdx);
232+
}
233+
230234
if (doneFile.exists())
231235
{
232236
toDelete.add(doneFile);

0 commit comments

Comments
 (0)