0 - 1 of 1 tags for null input


i was trying to write a simple udf with java with an input argumentn of type string which sometimes also expect null inputs. Whenever I got a null  input it gives the error even I tried it with return null on null input option. Can someone please suggest me that how to handle it. Thanks