Skip to content

Commit 6d0aab3

Browse files
Handle nulls
1 parent 6632524 commit 6d0aab3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline/SequenceNormalizationTask.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ public RecordedActionSet run() throws PipelineJobException
365365

366366
if (fp.file2 != null)
367367
{
368-
localCopy = _wd.getWorkingCopyForInput(FileSystemLike.wrapFile(fp.file2)).toNioPathForRead().toFile();
368+
localCopyFileLike = _wd.getWorkingCopyForInput(FileSystemLike.wrapFile(fp.file2));
369+
localCopy = localCopyFileLike == null ? null : localCopyFileLike.toNioPathForRead().toFile();
369370
if (localCopy != null)
370371
{
371372
getJob().getLogger().debug("using local working copy for file: " + fp.file2.getPath());

0 commit comments

Comments
 (0)