ExternalIndexerListenerTest
Tests
Test |
Duration |
Result |
PreferredPropertyTest |
0.001s |
passed |
eventIdsTest |
0.004s |
passed |
nullEventIdsTest |
0.167s |
passed |
nullPreferredPropertyTest |
0.003s |
passed |
someNullEventIdsTest |
0.002s |
passed |
testAccept |
0.048s |
passed |
testArchivingProduct |
0.010s |
passed |
Standard error
###
Wed Jul 30 21:45:37 UTC 2025
FINE thread=176 [null] running event archive policy (testPolicy)
WARNING thread=176 [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=176 [null] purged 0 expired events and 0 expired unassociated products.
###
Wed Jul 30 21:45:37 UTC 2025
FINER thread=1 [null] product type 'shakemap' excluded
FINE thread=1 [null] product is not preferred in any event
###
Wed Jul 30 21:45:37 UTC 2025
FINE thread=1 Using digest version v2, algorithm=SHA-256
FINE thread=1 Digest='Yqc00wDIF1MRQCzFsHRC9cIeN63NERw6GWs+gqVeOXg=' , 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:1753911937706
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
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:1753911937706
FINEST thread=1 [null] acquired read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
FINEST thread=1 [null] releasing read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
FINEST thread=1 [null] released read lock for product id=urn:usgs-product:us:shakemap:abcd1234:1753911937706
INFO thread=1 [null] running command echo --type=shakemap --code=abcd1234 --source=us --updateTime=2025-07-30T21:45:37.706Z --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-30T21:45:37.706Z --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'