URLNotificationXMLConverterTest
Tests
Test |
Duration |
Result |
testXMLFormat |
0.099s |
passed |
Standard error
<?xml version="1.0"?>
<notification xmlns="http://earthquake.usgs.gov/distribution/product" id="urn:usgs-product:testsource:testtype:testcode:1742495623251" updated="2025-03-20T18:33:43.251Z" expires="2025-03-20T18:43:48.051Z" url="http://earthquake.usgs.gov/someProduct.xml"/>
Thu Mar 20 18:33:43 UTC 2025
WARNING thread=157 [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=157 [null] purged 0 expired events and 0 expired unassociated products.