ExternalIndexerListenerTest
Tests
Test |
Duration |
Result |
PreferredPropertyTest |
0.001s |
passed |
eventIdsTest |
0.006s |
passed |
nullEventIdsTest |
0.240s |
passed |
nullPreferredPropertyTest |
0.003s |
passed |
someNullEventIdsTest |
0.002s |
passed |
testAccept |
0.119s |
passed |
testArchivingProduct |
0.009s |
passed |
Standard error
###
Tue Jul 08 19:01:20 UTC 2025
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.
###
Tue Jul 08 19:01:20 UTC 2025
FINER thread=1 [null] product type 'shakemap' excluded
FINE thread=1 [null] product is not preferred in any event
###
Tue Jul 08 19:01:20 UTC 2025
FINE thread=1 Using digest version v2, algorithm=SHA-256
FINE thread=1 Digest='iZz3fW/aqBuIWqMuO3XNkA2RgQsK2+slMAzdIrFRUQU=' , 2ms
FINEST thread=1 Signature is already in history.
FINEST thread=1 [null] acquiring read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINER thread=1 [null] Change product is null. Probably archiving.
FINEST thread=1 [null] acquiring read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1752001280755
INFO thread=1 [null] running command echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-07-08T19:01:20.755Z --status=UPDATE "--property-original-signature=test1234" "--property-testprop=testvalue" "--property-original-signature-version=v1" --link-testrelation=http://google.com/ --action=PRODUCT_ARCHIVED
INFO thread=1 [null] command 'echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-07-08T19:01:20.755Z --status=UPDATE "--property-original-signature=test1234" "--property-testprop=testvalue" "--property-original-signature-version=v1" --link-testrelation=http://google.com/ --action=PRODUCT_ARCHIVED' exited with status '0'