info.getFolderInforecord().getInfoValue()
is returning a String
that does not successfully parse to a double
, which is why you're getting a NumberFormatException
. Without more information, that's all I can say.
You're only checking that's it's not blank and not equal to "null". You can stop your program from crashing by wrapping the code in a try/catch
where you handle the NumberFormatException