This week's book giveaway is in the Beginning Java forum. We're giving away four copies of Getting started with Java programming language and have Ashish Sarin & J Sharma on-line! See this thread for details.
I expect that moveToFirst() returns false if the selection has zero rows, no? And it seems to me that the selection could be empty, especially when the table is created just microseconds before. Perhaps you should start some activity when that happens?