EIDSNotificationSenderTest
Tests
Test |
Duration |
Result |
testDuplicateHandling |
0.255s |
passed |
Standard error
###
Tue Jul 08 19:01:02 UTC 2025
FINER thread=752 [sender] running listener cleanup
FINER thread=754 [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='C3zosTojHyzq+aCLDBvcBA7xhk2qjOHfCz01E3Rk5Eg=' , 3ms
FINER thread=1 [null] product stored id=urn:usgs-product:us:shakemap:abcd1234:1752001262960, status=UPDATE
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1752001262960
Tue Jul 08 19:01:03 UTC 2025
FINE thread=1 [receiver] listener (sender) has 0 queued notifications
FINER thread=759 [sender] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINER thread=759 [sender] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1752001262960
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.
FINER thread=759 [null] product stored id=urn:usgs-product:us:shakemap:abcd1234:1752001262960, status=UPDATE
INFO thread=759 [sender] sent notification to EIDS via testSenderPolldir/out_1752001263077.xml
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINE thread=1 [receiver] listener (sender) has 1 queued notifications
FINER thread=759 [sender] skipping existing product urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINER thread=1 [null] product removed, id=urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINE thread=1 [receiver] Notification Received urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINE thread=1 [receiver] listener (sender) has 1 queued notifications
FINER thread=759 [sender] found notifications, but product missing from storage urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINER thread=759 [sender] processing notification for id=urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINER thread=759 [sender] processing product for id=urn:usgs-product:us:shakemap:abcd1234:1752001262960
FINER thread=759 [null] product stored id=urn:usgs-product:us:shakemap:abcd1234:1752001262960, status=UPDATE
INFO thread=759 [sender] sent notification to EIDS via testSenderPolldir/out_1752001263172.xml
FINER thread=754 [null] NotificationIndexCleanup exiting