JsonNotificationIndexTest
Tests
Test |
Duration |
Result |
testAddNotifications |
0.397s |
passed |
testFindNotificationById |
0.390s |
passed |
testFindNotificationsByData |
0.343s |
passed |
testFindNotificationsByDataLists |
0.419s |
passed |
testGetMissingNotifications |
0.357s |
passed |
testParseNotification |
0.348s |
passed |
testRemoveExpiredNotifications |
0.337s |
passed |
testRemoveNotifications |
0.431s |
passed |
testThreadSafety |
0.429s |
passed |
Standard error
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINER thread=106 [null] running listener cleanup
FINE thread=157 [null] running event archive policy (testPolicy)
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.
Thu Mar 20 18:33:17 UTC 2025
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINE thread=157 [null] running event archive policy (testPolicy)
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.
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINER thread=106 [null] running listener cleanup
FINE thread=157 [null] running event archive policy (testPolicy)
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.
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
Thu Mar 20 18:33:18 UTC 2025
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINE thread=157 [null] running event archive policy (testPolicy)
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.
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINER thread=106 [null] running listener cleanup
FINE thread=157 [null] running event archive policy (testPolicy)
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.
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
Thu Mar 20 18:33:19 UTC 2025
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
FINE thread=414 [HttpClient-20-SelectorManager] [35s 379ms] HttpClientImpl(20) next timeout: 0
FINE thread=414 [HttpClient-20-SelectorManager] [35s 380ms] HttpClientImpl(20) next expired: 0
FINE thread=414 [HttpClient-20-SelectorManager] [35s 380ms] HttpClientImpl(20) Next deadline is 3000
FINE thread=415 [HttpClient-21-SelectorManager] [35s 391ms] HttpClientImpl(21) next timeout: 0
FINE thread=415 [HttpClient-21-SelectorManager] [35s 391ms] HttpClientImpl(21) next expired: 0
FINE thread=415 [HttpClient-21-SelectorManager] [35s 391ms] HttpClientImpl(21) Next deadline is 3000
FINE thread=416 [HttpClient-22-SelectorManager] [35s 394ms] HttpClientImpl(22) next timeout: 0
FINE thread=416 [HttpClient-22-SelectorManager] [35s 395ms] HttpClientImpl(22) next expired: 0
FINE thread=416 [HttpClient-22-SelectorManager] [35s 395ms] HttpClientImpl(22) Next deadline is 3000
FINE thread=417 [HttpClient-23-SelectorManager] [35s 404ms] HttpClientImpl(23) next timeout: 0
FINE thread=417 [HttpClient-23-SelectorManager] [35s 404ms] HttpClientImpl(23) next expired: 0
FINE thread=417 [HttpClient-23-SelectorManager] [35s 404ms] HttpClientImpl(23) Next deadline is 3000
FINE thread=418 [HttpClient-24-SelectorManager] [35s 411ms] HttpClientImpl(24) next timeout: 0
FINE thread=418 [HttpClient-24-SelectorManager] [35s 411ms] HttpClientImpl(24) next expired: 0
FINE thread=418 [HttpClient-24-SelectorManager] [35s 411ms] HttpClientImpl(24) Next deadline is 3000
FINE thread=419 [HttpClient-25-SelectorManager] [35s 414ms] HttpClientImpl(25) next timeout: 0
FINE thread=419 [HttpClient-25-SelectorManager] [35s 415ms] HttpClientImpl(25) next expired: 0
FINE thread=419 [HttpClient-25-SelectorManager] [35s 415ms] HttpClientImpl(25) Next deadline is 3000
FINE thread=420 [HttpClient-26-SelectorManager] [35s 432ms] HttpClientImpl(26) next timeout: 0
FINE thread=420 [HttpClient-26-SelectorManager] [35s 432ms] HttpClientImpl(26) next expired: 0
FINE thread=420 [HttpClient-26-SelectorManager] [35s 432ms] HttpClientImpl(26) Next deadline is 3000
FINE thread=421 [HttpClient-27-SelectorManager] [35s 454ms] HttpClientImpl(27) next timeout: 0
FINE thread=421 [HttpClient-27-SelectorManager] [35s 455ms] HttpClientImpl(27) next expired: 0
FINE thread=421 [HttpClient-27-SelectorManager] [35s 455ms] HttpClientImpl(27) Next deadline is 3000
FINE thread=157 [null] running event archive policy (testPolicy)
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.
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating
CONFIG thread=1 [null] driver=org.sqlite.JDBC
CONFIG thread=1 [null] table=notification
WARNING thread=1 [null] schema not found, creating