DefaultNotificationReceiverTest

3

tests

0

failures

0

ignored

0.231s

duration

100%

successful

Tests

Test Duration Result
retriveProductProductAlreadyExistsTest 0.204s passed
retriveProductRetryableExceptionTest 0.013s passed
retriveProductThrownExceptionsTest 0.014s passed

Standard error

FINER	thread=111	[null] running listener cleanup
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:1768340230447
FINE	thread=165	[null] running event archive policy (testPolicy)
WARNING	thread=1	[null] exception storing product source, null
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.
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:1768340230453
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:1768340230456
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:1768340230461
WARNING	thread=1	[null] exception while retrieving product