NullPointerException while excuting executeBatch
Posted by: tr1gun
Date: January 29, 2005 03:58PM

Hi,

i got the problem that i sometimes encounter the exeception:
Exception in thread "Thread-3" java.lang.NullPointerException
at com.mysql.jdbc.Statement.executeBatch(Statement.java:1041)

I don't know what's wrong as the same code works fine the other times, my only idea is that i could be that the connection got reset and coz of that the method encounters an error while executing the statements i added before.
Has anyone an idea how to fix it?
Thx

Options: ReplyQuote


Subject
Written By
Posted
NullPointerException while excuting executeBatch
January 29, 2005 03:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.