ObjectLockTest

3

tests

0

failures

0

ignored

8.411s

duration

100%

successful

Tests

Test Duration Result
readLockBlocksUntilWriteLockIsReleased 8.090s passed
testWithLocks 0.213s passed
testWithoutLocks 0.108s 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
2 == 2
3 == 3
5 == 5
7 == 7
9 == 9

Standard error

Starting threads
thread 1543 acquiring read lock
thread 1543 acquired read lock
thread 1545 acquiring write lock
thread 1546 acquiring write lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1546 acquired write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
Thu Mar 20 18:33:49 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 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
Thu Mar 20 18:33:50 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read 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 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
Thu Mar 20 18:33:51 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 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
Thu Mar 20 18:33:52 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1545 acquired write lock
thread 1543 acquiring read lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
Thu Mar 20 18:33:53 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 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 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 1545 releasing write lock
thread 1545 released write lock
thread 1546 acquired write lock
thread 1545 acquiring write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1545 acquired write lock
thread 1544 acquiring read lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
Thu Mar 20 18:33:54 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 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1544 acquired read lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 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 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
Thu Mar 20 18:33:55 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1546 acquired write lock
thread 1545 acquiring write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1545 acquired write lock
thread 1543 acquiring read lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
Thu Mar 20 18:33:56 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 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 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 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1544 acquired read lock
thread 1543 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1543 acquiring read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1545 acquiring write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1546 acquiring write lock
thread 1543 acquired read lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
thread 1544 acquiring read lock
thread 1543 releasing read lock
thread 1543 released read lock
thread 1545 acquired write lock
thread 1545 releasing write lock
thread 1545 released write lock
thread 1546 acquired write lock
thread 1546 releasing write lock
thread 1546 released write lock
thread 1544 acquired read lock
thread 1544 releasing read lock
thread 1544 released read lock
Thu Mar 20 18:33:57 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.