Re: NullPointerException while excuting executeBatch
Posted by: Mark Matthews
Date: January 29, 2005 05:25PM

tr1gun wrote:
> 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.ja
> va: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?


It would help if you posted the version number of the driver you're using, and what you're using for configuration parameters in your JDBC url.


Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools

Options: ReplyQuote

Written By
Re: NullPointerException while excuting executeBatch
January 29, 2005 05:25PM

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.