Fixed #37 throw NullPointerException when method parameter is null.