DefaultNotificationReceiverTest

3

tests

0

failures

0

ignored

0.210s

duration

100%

successful

Tests

Test Duration Result
retriveProductProductAlreadyExistsTest 0.182s passed
retriveProductRetryableExceptionTest 0.005s passed
retriveProductThrownExceptionsTest 0.023s passed

Standard error

FINER	thread=111	[null] running listener cleanup
FINE	thread=432	[HttpClient-39-SelectorManager] [41s 164ms] HttpClientImpl(39) SelectorManager shutting down
FINE	thread=434	[HttpClient-41-SelectorManager] [41s 164ms] HttpClientImpl(41) SelectorManager shutting down
FINE	thread=435	[HttpClient-42-SelectorManager] [41s 165ms] HttpClientImpl(42) SelectorManager shutting down
FINE	thread=433	[HttpClient-40-SelectorManager] [41s 165ms] HttpClientImpl(40) SelectorManager shutting down
FINE	thread=436	[HttpClient-43-SelectorManager] [41s 170ms] HttpClientImpl(43) next timeout: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [41s 170ms] HttpClientImpl(43) next expired: 0
FINE	thread=436	[HttpClient-43-SelectorManager] [41s 170ms] HttpClientImpl(43) Next deadline is 3000
FINE	thread=437	[HttpClient-44-SelectorManager] [41s 178ms] HttpClientImpl(44) SelectorManager shutting down
FINE	thread=438	[HttpClient-45-SelectorManager] [41s 194ms] HttpClientImpl(45) SelectorManager shutting down
FINE	thread=439	[HttpClient-46-SelectorManager] [41s 199ms] HttpClientImpl(46) SelectorManager shutting down
FINE	thread=440	[HttpClient-47-SelectorManager] [41s 206ms] HttpClientImpl(47) SelectorManager shutting down
FINER	thread=1	[null] don't have product yet, searching notifications
FINER	thread=1	[null] parsed json notification for urn:usgs-product:source:type:code:1758817965461
WARNING	thread=1	[null] exception storing product source, null
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.
FINER	thread=1	[null] don't have product yet, searching notifications
FINER	thread=1	[null] parsed json notification for urn:usgs-product:source:type:code:1758817965472
WARNING	thread=1	[null] exception storing product source, null
FINER	thread=1	[null] don't have product yet, searching notifications
FINER	thread=1	[null] parsed json notification for urn:usgs-product:source:type:code:1758817965480
WARNING	thread=1	[null] exception while retrieving product, file not found
FINER	thread=1	[null] don't have product yet, searching notifications
FINER	thread=1	[null] parsed json notification for urn:usgs-product:source:type:code:1758817965485
WARNING	thread=1	[null] exception while retrieving product