DefaultNotificationListenerTest
Tests
Test |
Duration |
Result |
testDuplicateHandling |
0.135s |
passed |
testOnNotificationNonRetryableExceptionThrown |
0.153s |
passed |
testOnNotificationNullProduct |
0.071s |
passed |
Standard error
###
Thu Sep 18 21:20:33 UTC 2025
FINER thread=720 [listener] running listener cleanup
FINER thread=722 [null] NotificationIndexCleanup starting
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='5rp+oG+EDha0QZe5EPdl6SCIMxT4PoN8Vsd/TF/RDRY=' , 2ms
FINER thread=1 [null] product stored id=urn:usgs-product:us:shakemap:abcd1234:1758230433200, status=UPDATE
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINE thread=1 [receiver] listener (listener) has 0 queued notifications
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.
FINER thread=726 [listener] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINER thread=726 [listener] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINE thread=1 [receiver] listener (listener) has 1 queued notifications
FINER thread=726 [listener] skipping existing product urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINE thread=1 [receiver] listener (listener) has 1 queued notifications
FINER thread=726 [listener] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINER thread=726 [listener] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1758230433200
FINER thread=722 [null] NotificationIndexCleanup exiting
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1758230433417
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1758230433417, null
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1758230433434
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1758230433434, null
FINER thread=1 [null] processing notification for id=urn:usgs-product:source:type:code:1758230433437
WARNING thread=1 [null] not processing product for id=urn:usgs-product:source:type:code:1758230433437, null