Issue #4284 NPE guard on exception
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
fcf91d8964
commit
c8e09a1026
|
@ -603,11 +603,11 @@ public class Main
|
|||
}
|
||||
catch (ConnectException e)
|
||||
{
|
||||
usageExit(e, ERR_NOT_STOPPED, jsvcStartArgs.isTestingModeEnabled());
|
||||
usageExit(e, ERR_NOT_STOPPED, jsvcStartArgs != null && jsvcStartArgs.isTestingModeEnabled());
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
usageExit(e, ERR_UNKNOWN, jsvcStartArgs.isTestingModeEnabled());
|
||||
usageExit(e, ERR_UNKNOWN, jsvcStartArgs != null && jsvcStartArgs.isTestingModeEnabled());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue