InputWedgeFileProductStorageTest

11

tests

0

failures

0

ignored

5.605s

duration

100%

successful

Test Duration Result
pollForFourProducts 5.083s passed
sendInternalProduct 0.109s passed
sendOneProduct 0.063s passed
sendScenarioProduct 0.231s passed
testCreateInternalProductsConfig 0.006s passed
testCreateScenarioProductsConfig 0.060s passed
testNoParserClassGiven 0.007s passed
testNoPollerClassGiven 0.020s passed
testNonDefaultValidateConfig 0.008s passed
testSendMechanismWhenPhasesExistConfig 0.007s passed
testSendOriginWhenPhasesExistConfig 0.011s passed
###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=800	[null] signature version = v2
CONFIG	thread=800	[null] parallel send enabled=true, timeout=300
CONFIG	thread=800	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=800	Validation disabled
CONFIG	thread=800	sendOriginWhenPhasesExist = false
CONFIG	thread=800	sendMechanismWhenPhasesExist = false
CONFIG	thread=800	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=800	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=800	Using poll interval 1000ms
CONFIG	thread=800	Poll carefully = false
CONFIG	thread=800	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=800	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=800	createInternalProducts = false
CONFIG	thread=800	createScenarioProducts = true
CONFIG	thread=800	doBufferFix = true

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=804	[null] signature version = v2
CONFIG	thread=804	[null] parallel send enabled=true, timeout=300
CONFIG	thread=804	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=804	Validation disabled
CONFIG	thread=804	sendOriginWhenPhasesExist = true
CONFIG	thread=804	sendMechanismWhenPhasesExist = false
CONFIG	thread=804	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=804	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=804	Using poll interval 1000ms
CONFIG	thread=804	Poll carefully = false
CONFIG	thread=804	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=804	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=804	createInternalProducts = false
CONFIG	thread=804	createScenarioProducts = false
CONFIG	thread=804	doBufferFix = true

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=808	[null] signature version = v2
CONFIG	thread=808	[null] parallel send enabled=true, timeout=300
CONFIG	thread=808	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=808	Validation disabled
CONFIG	thread=808	sendOriginWhenPhasesExist = false
CONFIG	thread=808	sendMechanismWhenPhasesExist = true
CONFIG	thread=808	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=808	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=808	Using poll interval 1000ms
CONFIG	thread=808	Poll carefully = false
CONFIG	thread=808	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=808	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=808	createInternalProducts = false
CONFIG	thread=808	createScenarioProducts = false
CONFIG	thread=808	doBufferFix = true

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=812	[null] signature version = v2
CONFIG	thread=812	[null] parallel send enabled=true, timeout=300
CONFIG	thread=812	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=812	Validation enabled
CONFIG	thread=812	sendOriginWhenPhasesExist = false
CONFIG	thread=812	sendMechanismWhenPhasesExist = false
CONFIG	thread=812	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=812	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=812	Using poll interval 1000ms
CONFIG	thread=812	Poll carefully = false
CONFIG	thread=812	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=812	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=812	createInternalProducts = false
CONFIG	thread=812	createScenarioProducts = false
CONFIG	thread=812	doBufferFix = true

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=816	[null] signature version = v2
CONFIG	thread=816	[null] parallel send enabled=true, timeout=300
CONFIG	thread=816	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=816	Validation disabled
CONFIG	thread=816	sendOriginWhenPhasesExist = false
CONFIG	thread=816	sendMechanismWhenPhasesExist = false
CONFIG	thread=816	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=816	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=816	Using poll interval 1000ms
CONFIG	thread=816	Poll carefully = false
CONFIG	thread=816	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=816	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=816	createInternalProducts = true
CONFIG	thread=816	createScenarioProducts = false
CONFIG	thread=816	doBufferFix = true

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=820	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=820	[null] signature version = v2
CONFIG	thread=820	[null] parallel send enabled=true, timeout=300
CONFIG	thread=820	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=820	Validation disabled
CONFIG	thread=820	sendOriginWhenPhasesExist = false
CONFIG	thread=820	sendMechanismWhenPhasesExist = false
CONFIG	thread=820	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=820	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=820	Using poll interval 1000ms
CONFIG	thread=820	Poll carefully = false
CONFIG	thread=820	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=820	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=820	createInternalProducts = false
CONFIG	thread=820	createScenarioProducts = true
CONFIG	thread=820	doBufferFix = true
CONFIG	thread=820	[null] host is 'localhost'
CONFIG	thread=820	[null] port is '11235'
CONFIG	thread=820	[null] connectTimeout is '15000'
CONFIG	thread=820	[null] readTimeout is '15000'
CONFIG	thread=820	[null] writeTimeout is '-1'
CONFIG	thread=820	[null] using xml format
CONFIG	thread=820	[null] enableDeflate is true
CONFIG	thread=820	[null] deflateLevel is 1
CONFIG	thread=820	[null] enablePdlProtocol is true
INFO	thread=820	Reading file pde20000102042021390_33.xml
FINE	thread=820	Resolved classes from context path: [class org.quakeml_1_2.ObjectFactory]
FINE	thread=820	Checking system property javax.xml.bind.JAXBContextFactory
FINE	thread=820	  not found
FINE	thread=820	Checking system property javax.xml.bind.context.factory
FINE	thread=820	  not found
FINE	thread=820	Checking system property javax.xml.bind.JAXBContext
FINE	thread=820	  not found
FINE	thread=820	Searching META-INF/services
FINE	thread=820	Configured factorty class:com.sun.xml.bind.v2.ContextFactory
FINE	thread=820	Property com.sun.xml.bind.XmlAccessorFactoryis not active.  Using JAXB's implementation
FINE	thread=820	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@b4e8508
FINE	thread=820	Using digest version v2, algorithm=SHA-256
FINE	thread=820	Digest='K7NSwlBxtPB+TGkD5hLFLmijMH0jI4hKPLYgp1h7+S0=' , 1ms
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.
INFO	thread=821	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=45950]
FINE	thread=821	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=822	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=45950,localport=11235]
FINE	thread=822	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=45950,localport=11235]
FINE	thread=822	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=822	[test_receiver] received product 'urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=45950,localport=11235]
INFO	thread=822	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=45950,localport=11235]
INFO	thread=821	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=45950] response="[test_receiver] received product 'urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690'
"
INFO	thread=820	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data-scenario:pde20000102042021390_33:1351635048690
FINE	thread=820	Using digest version v2, algorithm=SHA-256
FINE	thread=820	Digest='K7NSwlBxtPB+TGkD5hLFLmijMH0jI4hKPLYgp1h7+S0=' , 0ms

###
Wed Jul 23 20:18:32 UTC 2025
CONFIG	thread=830	[null] signature version = v2
CONFIG	thread=830	[null] parallel send enabled=true, timeout=300
CONFIG	thread=830	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=830	Validation disabled
CONFIG	thread=830	sendOriginWhenPhasesExist = false
CONFIG	thread=830	sendMechanismWhenPhasesExist = false
CONFIG	thread=830	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=830	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=830	Using poll interval 1000ms
CONFIG	thread=830	Poll carefully = false
CONFIG	thread=830	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=830	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=830	createInternalProducts = false
CONFIG	thread=830	createScenarioProducts = false
CONFIG	thread=830	doBufferFix = true

###
Wed Jul 23 20:18:33 UTC 2025
CONFIG	thread=834	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=834	[null] signature version = v2
CONFIG	thread=834	[null] parallel send enabled=true, timeout=300
CONFIG	thread=834	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=834	Validation disabled
CONFIG	thread=834	sendOriginWhenPhasesExist = false
CONFIG	thread=834	sendMechanismWhenPhasesExist = false
CONFIG	thread=834	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=834	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=834	Using poll interval 1000ms
CONFIG	thread=834	Poll carefully = false
CONFIG	thread=834	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=834	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=834	createInternalProducts = true
CONFIG	thread=834	createScenarioProducts = false
CONFIG	thread=834	doBufferFix = true
CONFIG	thread=834	[null] host is 'localhost'
CONFIG	thread=834	[null] port is '11235'
CONFIG	thread=834	[null] connectTimeout is '15000'
CONFIG	thread=834	[null] readTimeout is '15000'
CONFIG	thread=834	[null] writeTimeout is '-1'
CONFIG	thread=834	[null] using xml format
CONFIG	thread=834	[null] enableDeflate is true
CONFIG	thread=834	[null] deflateLevel is 1
CONFIG	thread=834	[null] enablePdlProtocol is true
INFO	thread=834	Reading file pde20000102042021390_33.xml
FINE	thread=834	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@4e8c424d
FINE	thread=834	Using digest version v2, algorithm=SHA-256
FINE	thread=834	Digest='LUFz+4WPfQGilpg2otyxWCS5l5s61Cfw8rIrJlQSfQ4=' , 1ms
INFO	thread=835	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=45966]
FINE	thread=835	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=836	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=45966,localport=11235]
FINE	thread=836	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=45966,localport=11235]
FINE	thread=836	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=836	[test_receiver] received product 'urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=45966,localport=11235]
INFO	thread=836	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=45966,localport=11235]
INFO	thread=835	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=45966] response="[test_receiver] received product 'urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=834	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:internal-phase-data:pde20000102042021390_33:1351635048690
FINE	thread=834	Using digest version v2, algorithm=SHA-256
FINE	thread=834	Digest='LUFz+4WPfQGilpg2otyxWCS5l5s61Cfw8rIrJlQSfQ4=' , 1ms

###
Wed Jul 23 20:18:33 UTC 2025
CONFIG	thread=844	[null] signature version = v2
CONFIG	thread=844	[null] parallel send enabled=true, timeout=300
CONFIG	thread=844	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=844	Validation disabled
CONFIG	thread=844	sendOriginWhenPhasesExist = false
CONFIG	thread=844	sendMechanismWhenPhasesExist = false
CONFIG	thread=844	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=844	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=844	Using poll interval 1000ms
CONFIG	thread=844	Poll carefully = false
CONFIG	thread=844	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=844	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=844	createInternalProducts = false
CONFIG	thread=844	createScenarioProducts = false
CONFIG	thread=844	doBufferFix = true

###
Wed Jul 23 20:18:33 UTC 2025
CONFIG	thread=1	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=1	[null] signature version = v2
CONFIG	thread=1	[null] parallel send enabled=true, timeout=300
CONFIG	thread=1	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=1	Validation disabled
CONFIG	thread=1	sendOriginWhenPhasesExist = false
CONFIG	thread=1	sendMechanismWhenPhasesExist = false
CONFIG	thread=1	Using poll directory /tmp/tmp9451341474605645524/testPolldir
CONFIG	thread=1	Using poll interval 1000ms
CONFIG	thread=1	Poll carefully = true
CONFIG	thread=1	Using oldinput directory /tmp/tmp9451341474605645524/storage
CONFIG	thread=1	Using error directory /tmp/tmp9451341474605645524/testErrordir
CONFIG	thread=1	Using pollerClass class poller
CONFIG	thread=1	createInternalProducts = false
CONFIG	thread=1	createScenarioProducts = false
CONFIG	thread=1	doBufferFix = true
CONFIG	thread=1	[null] host is 'localhost'
CONFIG	thread=1	[null] port is '11235'
CONFIG	thread=1	[null] connectTimeout is '15000'
CONFIG	thread=1	[null] readTimeout is '15000'
CONFIG	thread=1	[null] writeTimeout is '-1'
CONFIG	thread=1	[null] using xml format
CONFIG	thread=1	[null] enableDeflate is true
CONFIG	thread=1	[null] deflateLevel is 1
CONFIG	thread=1	[null] enablePdlProtocol is true
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.
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.
Wed Jul 23 20:18:34 UTC 2025
INFO	thread=849	Reading file testFile1
FINE	thread=849	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@7659583a
FINE	thread=849	Using digest version v2, algorithm=SHA-256
FINE	thread=849	Digest='cZ3k+MgnU22ERPpfWBzH0vXeutCPsfzndJ8JNDAIsc4=' , 1ms
INFO	thread=850	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=48948]
FINE	thread=850	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=851	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=48948,localport=11235]
FINE	thread=851	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=48948,localport=11235]
FINE	thread=851	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=851	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=48948,localport=11235]
INFO	thread=851	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=48948,localport=11235]
INFO	thread=850	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=48948] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=849	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='cZ3k+MgnU22ERPpfWBzH0vXeutCPsfzndJ8JNDAIsc4=' , 1ms
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.
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.
Wed Jul 23 20:18:35 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.
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.
Wed Jul 23 20:18:36 UTC 2025
INFO	thread=849	Reading file testFile2
FINE	thread=849	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@611abdbd
WARNING	thread=849	Missing catalog attributes from event element, skipping
INFO	thread=849	generated 0 products: 0 sent, 0 partially sent, 0 failed to send
INFO	thread=849	Reading file testFile3
FINE	thread=849	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@34372059
FINE	thread=849	Using digest version v2, algorithm=SHA-256
FINE	thread=849	Digest='Ib0mH2iC5/L5vKl8ejpMS7RA+ef+YtPWIJAyJgMQ1/U=' , 11ms
INFO	thread=856	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=48960]
FINE	thread=856	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=857	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=48960,localport=11235]
FINE	thread=857	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=48960,localport=11235]
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.
FINE	thread=857	[test_receiver] listener (test_listener) has 1 queued notifications
INFO	thread=857	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701'
 from Socket[addr=/127.0.0.1,port=48960,localport=11235]
INFO	thread=857	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=48960,localport=11235]
INFO	thread=856	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=48960] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701'
"
INFO	thread=849	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data:pde20100314080803960_32:1351636909701
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='Ib0mH2iC5/L5vKl8ejpMS7RA+ef+YtPWIJAyJgMQ1/U=' , 20ms
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.
Wed Jul 23 20:18:37 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.
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.
Wed Jul 23 20:18:38 UTC 2025
INFO	thread=849	Reading file myproduct
FINE	thread=849	Using digest version v2, algorithm=SHA-256
FINE	thread=849	Digest='OZaol0FtcXsUNloHSdxOF/mv0+6Df6x9IWDL1qtiBkM=' , 1ms
INFO	thread=861	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=48966]
There are 1 active/queued socket connections
FINE	thread=861	[sender] using protocol version v0.1
INFO	thread=862	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=48966,localport=11235]
FINE	thread=862	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=48966,localport=11235]
FINE	thread=862	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=862	[test_receiver] received product 'urn:usgs-product:me:test-product:testcode:1741032752157'
 from Socket[addr=/127.0.0.1,port=48966,localport=11235]
INFO	thread=861	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=48966] response="[test_receiver] received product 'urn:usgs-product:me:test-product:testcode:1741032752157'
"
INFO	thread=862	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=48966,localport=11235]
INFO	thread=849	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:me:test-product:testcode:1741032752157
FINE	thread=1	Using digest version v2, algorithm=SHA-256
FINE	thread=1	Digest='OZaol0FtcXsUNloHSdxOF/mv0+6Df6x9IWDL1qtiBkM=' , 1ms

###
Wed Jul 23 20:18:38 UTC 2025
CONFIG	thread=870	[null] Loading private key file 'etc/test_products/test_key/testkey'
CONFIG	thread=870	[null] signature version = v2
CONFIG	thread=870	[null] parallel send enabled=true, timeout=300
CONFIG	thread=870	Using parser class gov.usgs.earthquake.distribution.QuakemlProductCreator
CONFIG	thread=870	Validation disabled
CONFIG	thread=870	sendOriginWhenPhasesExist = false
CONFIG	thread=870	sendMechanismWhenPhasesExist = false
CONFIG	thread=870	pollerClass not defined, using default gov.usgs.util.DirectoryPoller
CONFIG	thread=870	Using poll directory /builds/ghsc/hazdev/pdl/pollDirectory
CONFIG	thread=870	Using poll interval 1000ms
CONFIG	thread=870	Poll carefully = false
CONFIG	thread=870	Using oldinput directory /builds/ghsc/hazdev/pdl/oldInputDirectory
CONFIG	thread=870	Using error directory /builds/ghsc/hazdev/pdl/errorDirectory
CONFIG	thread=870	createInternalProducts = false
CONFIG	thread=870	createScenarioProducts = false
CONFIG	thread=870	doBufferFix = true
CONFIG	thread=870	[null] host is 'localhost'
CONFIG	thread=870	[null] port is '11235'
CONFIG	thread=870	[null] connectTimeout is '15000'
CONFIG	thread=870	[null] readTimeout is '15000'
CONFIG	thread=870	[null] writeTimeout is '-1'
CONFIG	thread=870	[null] using xml format
CONFIG	thread=870	[null] enableDeflate is true
CONFIG	thread=870	[null] deflateLevel is 1
CONFIG	thread=870	[null] enablePdlProtocol is true
INFO	thread=870	Reading file pde20000102042021390_33.xml
FINE	thread=870	SAXParserFactory instance: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@5af016b9
FINE	thread=870	Using digest version v2, algorithm=SHA-256
FINE	thread=870	Digest='XxWdnTYYR2XxOPIV1pOv5k8Ar0IQa52Yoz+WxDEMvsg=' , 1ms
INFO	thread=871	[sender] sending product to Socket[addr=localhost/127.0.0.1,port=11235,localport=48980]
FINE	thread=871	[sender] using protocol version v0.1
There are 1 active/queued socket connections
INFO	thread=872	[test_receiver] accepted connection Socket[addr=/127.0.0.1,port=48980,localport=11235]
FINE	thread=872	[test_receiver] protocol version 'v0.1' Socket[addr=/127.0.0.1,port=48980,localport=11235]
FINE	thread=872	[test_receiver] listener (test_listener) has 0 queued notifications
INFO	thread=872	[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
 from Socket[addr=/127.0.0.1,port=48980,localport=11235]
INFO	thread=872	[test_receiver] closed connection Socket[addr=/127.0.0.1,port=48980,localport=11235]
INFO	thread=871	[sender] send complete Socket[addr=localhost/127.0.0.1,port=11235,localport=48980] response="[test_receiver] received product 'urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690'
"
INFO	thread=870	generated 1 products: 1 sent, 0 partially sent, 0 failed to send
listener received urn:usgs-product:us:phase-data:pde20000102042021390_33:1351635048690
FINE	thread=870	Using digest version v2, algorithm=SHA-256
FINE	thread=870	Digest='XxWdnTYYR2XxOPIV1pOv5k8Ar0IQa52Yoz+WxDEMvsg=' , 1ms