posted 13 years ago
Dear Ranchers,
I get java.lang.NullPointerException at of my code snippet. I really dont understand because name is not null and I tried printing out. Doing some google I found this "Have you closed the result set, statement, or db connection? Don't close and then call next(), premature closing will get you that exception" The answer is "no" I am not closing any statement before the next statement. The weird thing is I used the same code for uploading another table it just worked fine. I am not sure what could be wrong..can someone please help me.