Ronald Klop wrote:
Hello, today I found this. I don't really get why. Any thoughts?
java.lang.NullPointerException
at com.mysql.jdbc.ResultSet.buildIndexMapping(ResultSet.java:575)
at com.mysql.jdbc.ResultSet.findColumn(ResultSet.java:926)
at com.mysql.jdbc.ResultSet.getBytes(ResultSet.java:1626)
at com.mysql.jdbc.DatabaseMetaData$6.forEach(DatabaseMetaData.java:3080)
at
com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:79)
at com.mysql.jdbc.DatabaseMetaData.getIndexInfo(DatabaseMetaData.java:3042)
at nl.base.sql.layout.IndexFinder.find(IndexFinder.java:3
Ronald,
Any idea what table(s) getIndexInfo() was being called on and what their
structure looks like? What version of the server is this?
Is there any chance that the connection that created this
DatabaseMetaData object has been closed or returned to the pool (if any
are in use) sometime before calling .getIndexInfo() or during the
execution of .getIndexInfo()? If so, that will cause the underlying
result set used by our DatabaseMetaData implementation to be closed
implicitly by the driver.
-Mark
-Mark