DefaultNotificationListenerTest
Tests
| Test |
Duration |
Result |
| testDuplicateHandling |
0.086s |
passed |
| testOnNotificationNonRetryableExceptionThrown |
0.185s |
passed |
| testOnNotificationNullProduct |
0.051s |
passed |
Standard error
###
Fri May 08 16:52:45 UTC 2026
FINER thread=727 [listener] running listener cleanup
INFO thread=1 [receiver] requeueing notification index 'null'
INFO thread=1 Done finding existing notifications
INFO thread=1 All notifications queued
FINE thread=1 Using digest version v2, algorithm=SHA-256
FINE thread=1 Digest='BORsV0OZyOYqG4WL/V8+mgRqXwBTfb+iKjVwSEeHvI4=' , 2ms
FINER thread=729 [null] NotificationIndexCleanup starting
FINER thread=1 [null] product stored id=urn:usgs-product:us:shakemap:abcd1234:1778259165099, status=UPDATE
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINE thread=1 [receiver] listener (listener) has 0 queued notifications
FINER thread=733 [listener] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINER thread=733 [listener] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINE thread=1 [receiver] listener (listener) has 1 queued notifications
FINER thread=733 [listener] skipping existing product urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINE thread=1 [receiver] listener (listener) has 1 queued notifications
FINER thread=733 [listener] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINER thread=733 [listener] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1778259165099
FINER thread=729 [null] NotificationIndexCleanup exiting
FINE thread=165 [null] running event archive policy (testPolicy)
WARNING thread=165 [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=165 [null] purged 0 expired events and 0 expired unassociated products.
FINE thread=425 [HttpClient-32-SelectorManager] [42s 409ms] HttpClientImpl(32) next timeout: 0
FINE thread=425 [HttpClient-32-SelectorManager] [42s 409ms] HttpClientImpl(32) next expired: 0
FINE thread=425 [HttpClient-32-SelectorManager] [42s 409ms] HttpClientImpl(32) Next deadline is 3000
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1778259165333
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1778259165333, null
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1778259165349
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1778259165349, null
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1778259165353
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1778259165353, null