ExternalIndexerListenerTest
Tests
| Test |
Duration |
Result |
| PreferredPropertyTest |
0.001s |
passed |
| eventIdsTest |
0.003s |
passed |
| nullEventIdsTest |
0.143s |
passed |
| nullPreferredPropertyTest |
0.001s |
passed |
| someNullEventIdsTest |
0.003s |
passed |
| testAccept |
0.038s |
passed |
| testArchivingProduct |
0.020s |
passed |
Standard error
###
Mon Feb 23 16:05:20 UTC 2026
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.
###
Mon Feb 23 16:05:20 UTC 2026
FINER thread=1 [null] product type 'shakemap' excluded
FINE thread=1 [null] product is not preferred in any event
###
Mon Feb 23 16:05:20 UTC 2026
FINE thread=1 Using digest version v2, algorithm=SHA-256
FINE thread=1 Digest='bCxGnjhiFj8UwubezrNVtj8/HglwDDIHkrsgF2KFETY=' , 6ms
FINEST thread=1 Signature is already in history.
FINEST thread=1 [null] acquiring read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
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:1771862720650
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1771862720650
INFO thread=1 [null] running command echo --type=shakemap --code=abcd1234 --source=us --updateTime=2026-02-23T16:05:20.650Z --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=2026-02-23T16:05:20.650Z --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'