ObjectLockTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
readLockBlocksUntilWriteLockIsReleased | 7.723s | passed |
testWithLocks | 0.250s | passed |
testWithoutLocks | 0.115s | passed |
Standard output
The below numbers should be strictly increasing, but need not be sequential. However the displayed logic statements should (at least periodically) evaluate to false. 1 == 4 5 == 7 8 == 10 The below numbers should be strictly increasing, but need not be sequential. However the displayed logic statements should always evaluate to true. 1 == 1 3 == 3 5 == 5 6 == 6 7 == 7 8 == 8 10 == 10
Standard error
Thu May 01 15:45:32 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. Starting threads thread 1585 acquiring write lock thread 1583 acquiring read lock thread 1585 acquired write lock thread 1584 acquiring read lock thread 1586 acquiring write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock Thu May 01 15:45:33 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock Thu May 01 15:45:34 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock Thu May 01 15:45:35 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1586 acquired write lock thread 1583 acquiring read lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock Thu May 01 15:45:36 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock Thu May 01 15:45:37 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock Thu May 01 15:45:38 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1585 acquired write lock thread 1586 acquiring write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock Thu May 01 15:45:39 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1584 acquired read lock thread 1583 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1585 acquiring write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1583 releasing read lock thread 1583 released read lock thread 1583 acquiring read lock thread 1584 releasing read lock thread 1584 released read lock thread 1584 acquiring read lock thread 1586 acquired write lock WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products. thread 1586 releasing write lock thread 1586 released write lock thread 1586 acquiring write lock thread 1585 acquired write lock thread 1585 releasing write lock thread 1585 released write lock thread 1583 acquired read lock thread 1584 acquired read lock thread 1584 releasing read lock thread 1584 released read lock thread 1583 releasing read lock thread 1583 released read lock thread 1586 acquired write lock thread 1586 releasing write lock thread 1586 released write lock Thu May 01 15:45:40 UTC 2025 WARNING thread=157 [null] exception running event archive policy (testPolicy) java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "gov.usgs.earthquake.indexer.JDBCProductIndex.getConnection()" is null at gov.usgs.earthquake.indexer.JDBCProductIndex.getEvents(JDBCProductIndex.java:232) at gov.usgs.earthquake.indexer.Indexer.purgeExpiredProducts(Indexer.java:1838) at gov.usgs.earthquake.indexer.Indexer$1.run(Indexer.java:1785) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) INFO thread=157 [null] purged 0 expired events and 0 expired unassociated products.