if return type is string, and return null from java to js, then it will crash if the parameter is string, and pass null from js to java, then java will get "null" instead of null