Skip to content

Commit e455dc6

Browse files
committed
Account for JSONObject.NULL
1 parent 7c055d0 commit e455dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/ToolParameterDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public <ParamType> ParamType extractValue(PipelineJob job, PipelineStepProvider<
200200
jobParams = new JSONObject(job.getParameters());
201201
}
202202

203-
if (jobParams.has(key))
203+
if (jobParams.has(key) && !jobParams.isNull(key))
204204
{
205205
Object val = jobParams.get(key);
206206
if (val == JSONObject.NULL) {

0 commit comments

Comments
 (0)