Bugfix for GSA-552

-- https://jira.broadinstitute.org/browse/GSA-552
-- User reports a null exception while using VariantsToVCF:
   http://gatkforums.broadinstitute.org/discussion/1461/nullpointerexception-converting-vcf3-to-vcf-using-variantstovcf
   The problem is that he left out an input VCF file for the --variant argument and the command-line argument parsing code didn't catch this, so we NPE out later on.
This commit is contained in:
Mark DePristo 2012-10-26 16:25:22 -04:00
parent 682a72faf7
commit fa9b2a91d0
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ public abstract class ArgumentTypeDescriptor {
else
throw new UserException.CommandLineException(
String.format("Failed to parse value %s for argument %s. Message: %s",
value.asString(), fieldName, e.getMessage()));
value, fieldName, e.getMessage()));
}
}
}