Quote Originally Posted by pourkascheff View Post
How can I rectify it?
You're obviously doing some bad maths to get that text in the first place. I suspect that you are doing a percentage calculation somewhere and converting the result to a String but the result is Double.NaN. You're probably dividing by zero but a proper debug will tell you for sure.

You shouldn't need us to tell you to do a proper debug in the first place. The exception info you posted tells you exactly what the issue is and where it occurred. Did you even read it before posting? You should have immediately placed a breakpoint on that line 127 and seen for yourself what the issue was. You could have then worked backwards to see where the bad data was coming from and what you could do to prevent. That's all stuff you should be doing before posting here, then only posting if you can't work it out.