JiafanZhou
版主
发贴: 736
积分: 61
|
于 2009-10-29 19:10
Sorry, you are right. You highlighted that line in red so I did not pay attention to the while loop.
Anyway, this is very weird. From my understanding, (I am sure it is right), casting a type will never ever throw a Null Pointer Exception. (but I hope that you can prove I am wrong).
It is better that you can upload your log file.... (i.e. to show exact the error message) I am sure that something is wrong here.
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
|