Check for null comment

This commit is contained in:
Mark DePristo 2011-11-23 10:47:21 -05:00
parent 6c2555885c
commit c8bf7d2099
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class CommandLineGATK extends CommandLineExecutable {
private static void checkForTooManyOpenFilesProblem(String message) {
// Special case the "Too many open files" error because it's a common User Error for which we know what to do
if ( message.indexOf("Too many open files") != -1 )
if ( message != null && message.indexOf("Too many open files") != -1 )
exitSystemWithUserError(new UserException.TooManyOpenFiles());
}