ExternalIndexerListenerTest
Tests
Test |
Duration |
Result |
PreferredPropertyTest |
0.001s |
passed |
eventIdsTest |
0.002s |
passed |
nullEventIdsTest |
0.142s |
passed |
nullPreferredPropertyTest |
0.001s |
passed |
someNullEventIdsTest |
0.002s |
passed |
testAccept |
0.080s |
passed |
testArchivingProduct |
0.013s |
passed |
Standard error
###
Thu Sep 18 21:20:55 UTC 2025
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.
###
Thu Sep 18 21:20:55 UTC 2025
FINER thread=111 [null] running listener cleanup
FINER thread=1 [null] product type 'shakemap' excluded
FINE thread=1 [null] product is not preferred in any event
###
Thu Sep 18 21:20:55 UTC 2025
FINE thread=1 Using digest version v2, algorithm=SHA-256
FINE thread=1 Digest='afIupy1FAWIHKOk54qiXyrDajqrp6S9mpNp12jOc+8U=' , 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:1758230455906
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
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:1758230455906
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1758230455906
INFO thread=1 [null] running command echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-09-18T21:20:55.906Z --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-09-18T21:20:55.906Z --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'