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?
>
Tr1gun,
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
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html