Java.lang.nullpointerexception Cannot Invoke String.trim Because In Is Null