CryptoUtilsTest

12

tests

0

failures

0

ignored

1.156s

duration

100%

successful

Tests

Test Duration Result
generateAESKey 0.001s passed
generateDSAKeyPair 0.005s passed
generateRSAKeyPair 0.098s passed
getSignatureThrowsIllegalArgumentException 0.482s passed
getSignatureV1DSAReturnsSHA1withRSA 0.001s passed
getSignatureV1RSAReturnsSHA1withRSA 0.151s passed
getSignatureV2DSAReturnsSHA256withDSA 0.003s passed
getSignatureV2RSAReturnsSHA256withDSA 0.314s passed
readDSAKeyPair 0.002s passed
readOpenSSHDSAKeyPair 0.004s passed
readOpenSSHRSAKeyPair 0.066s passed
readRSAKeyPair 0.029s passed

Standard error

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.
Tue Jan 13 21:37:36 UTC 2026
WARNING	thread=1	Signing product with a deprecated signature version v1, consider updating to v2
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.
WARNING	thread=1	Signing product with a deprecated signature version v1, consider updating to v2
WARNING	thread=1	Signing product with a deprecated signature version v1, consider updating to v2
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.
Tue Jan 13 21:37:37 UTC 2026
WARNING	thread=1	Signing product with a deprecated signature version v1, consider updating to v2
WARNING	thread=1	Signing product with a deprecated signature version v1, consider updating to v2