java.lang.NullPointerException
at glassbox.monitor.resource.JdbcMonitor.ajc$interFieldGetDispatch$glassbox_monitor_resource_JdbcMonitor$glassbox_monitor_resource_JdbcMonitor$TrackedStatement$key(JdbcMonitor.aj)
at glassbox.monitor.resource.JdbcMonitor.getStatementKey(JdbcMonitor.aj:
418)
at glassbox.monitor.resource.JdbcMonitor.ajc$if_5(JdbcMonitor.aj:133)
at oracle.jdbc.driver.ArrayDataResultSet.next(ArrayDataResultSet.java:13
7)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Request urgent help!
Getting NullPointerException at rs.next() while trying to do the following -
Array array = cstmt.getArray(5); rs = array.getResultSet(); while(rs.next()) {};
=============
Details of the exception follows -
java.lang.NullPointerException
at glassbox.monitor.resource.JdbcMonitor.ajc$interFieldGetDispatch$glassbox_monitor_resource_JdbcMonitor$glassbox_monitor_resource_JdbcMonitor$TrackedStatement$key(JdbcMonitor.aj)
at glassbox.monitor.resource.JdbcMonitor.getStatementKey(JdbcMonitor.aj:
418)
at glassbox.monitor.resource.JdbcMonitor.ajc$if_5(JdbcMonitor.aj:133)
at oracle.jdbc.driver.ArrayDataResultSet.next(ArrayDataResultSet.java:13
7)
This error typically happens because of problems in AspectJ load-time weaving, and how it handles JDBC drivers loaded in a parent classloader. The easiest work around is to build-time weave your JDBC driver. See http://jeoftp.blogspot.com/2009/03/timing-oracle-sql-queries-with-glassbox.html., and also https://sourceforge.net/projects/glassbox/forums/forum/575670/topic/3377958?message=7599927 for more information on how to do this…
Ron