JDBCNotificationIndexTest
Tests
Test |
Duration |
Result |
testAddNotifications |
0.298s |
passed |
testFindNotificationById |
0.267s |
passed |
testFindNotificationsByData |
0.272s |
passed |
testFindNotificationsByDataLists |
0.276s |
passed |
testRemoveExpiredNotifications |
0.273s |
passed |
testRemoveNotifications |
0.302s |
passed |
testThreadSafety |
0.333s |
passed |
Standard error
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
FINE thread=164 [null] running event archive policy (testPolicy)
WARNING thread=164 [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=164 [null] purged 0 expired events and 0 expired unassociated products.
FINE thread=454 [HttpClient-61-SelectorManager] [59s 568ms] HttpClientImpl(61) next timeout: 0
FINE thread=454 [HttpClient-61-SelectorManager] [59s 568ms] HttpClientImpl(61) next expired: 0
FINE thread=454 [HttpClient-61-SelectorManager] [59s 568ms] HttpClientImpl(61) Next deadline is 3000
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
Thu Sep 18 21:20:45 UTC 2025
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
FINE thread=164 [null] running event archive policy (testPolicy)
WARNING thread=164 [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=164 [null] purged 0 expired events and 0 expired unassociated products.
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
Exception in thread "Timer-183" java.lang.NullPointerException: Cannot read the array length because "<local3>" is null
at gov.usgs.util.DirectoryPoller$PollTask.run(DirectoryPoller.java:176)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
FINE thread=164 [null] running event archive policy (testPolicy)
WARNING thread=164 [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=164 [null] purged 0 expired events and 0 expired unassociated products.
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
FINE thread=425 [HttpClient-32-SelectorManager] [60s 543ms] HttpClientImpl(32) next timeout: 0
FINE thread=425 [HttpClient-32-SelectorManager] [60s 543ms] HttpClientImpl(32) next expired: 0
FINE thread=425 [HttpClient-32-SelectorManager] [60s 543ms] HttpClientImpl(32) Next deadline is 3000
Thu Sep 18 21:20:46 UTC 2025
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'
FINE thread=164 [null] running event archive policy (testPolicy)
WARNING thread=164 [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=164 [null] purged 0 expired events and 0 expired unassociated products.
FINE thread=436 [HttpClient-43-SelectorManager] [61s 45ms] HttpClientImpl(43) next timeout: 0
FINE thread=436 [HttpClient-43-SelectorManager] [61s 45ms] HttpClientImpl(43) next expired: 0
FINE thread=436 [HttpClient-43-SelectorManager] [61s 45ms] HttpClientImpl(43) Next deadline is 3000
CONFIG thread=1 Notification index database is '/builds/ghsc/hazdev/pdl/test-index.db'