Fix bug in JavaLangUtils when input is null