Standard error
2025-06-27T16:16:01.267Z 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)
2025-06-27T16:16:01.267Z INFO thread=164 [null] purged 0 expired events and 0 expired unassociated products.
grep: notfound: No such file or directory
total 188
drwxrwxrwx 13 root root 4096 Jun 27 16:16 .
drwxrwxrwx 4 root root 32 Jun 27 16:13 ..
drwxr-xr-x 9 root root 110 Jun 27 16:15 build
-rw-rw-rw- 1 root root 4487 Jun 27 16:13 build.gradle
-rw-rw-rw- 1 root root 3322 Jun 27 16:13 code.json
-rw-rw-rw- 1 root root 1486 Jun 27 16:13 CONTRIBUTING.md
-rw-rw-rw- 1 root root 623 Jun 27 16:13 DISCLAIMER.md
-rw-rw-rw- 1 root root 11 Jun 27 16:13 .dockerignore
drwxrwxrwx 9 root root 178 Jun 27 16:13 docs
drwxrwxrwx 6 root root 71 Jun 27 16:13 etc
drwxrwxrwx 6 root root 128 Jun 27 16:14 .git
-rw-rw-rw- 1 root root 40 Jun 27 16:13 .git-blame-ignore-revs
drwxrwxrwx 2 root root 42 Jun 27 16:13 .githooks
-rw-rw-rw- 1 root root 181 Jun 27 16:13 .gitignore
-rw-rw-rw- 1 root root 3630 Jun 27 16:13 .gitlab-ci.yml
drwxrwxrwx 3 root root 21 Jun 27 16:13 gradle
drwx------ 14 root root 249 Jun 27 16:15 .gradle
-rwxrwxrwx 1 root root 8692 Jun 27 16:13 gradlew
-rw-rw-rw- 1 root root 2918 Jun 27 16:13 gradlew.bat
-rw-r--r-- 1 root root 357 Jun 27 16:15 heartbeat.dat
drwxrwxrwx 2 root root 186 Jun 27 16:13 lib
-rw-rw-rw- 1 root root 2225 Jun 27 16:13 LICENSE.md
drwxr-xr-x 2 root root 26 Jun 27 16:16 log
-rwxrwxrwx 1 root root 1086 Jun 27 16:13 nats-init
-rw-rw-rw- 1 root root 442 Jun 27 16:13 pdl.iml
-rw-rw-rw- 1 root root 23868 Jun 27 16:13 pmd-ruleset.xml
-rw-r--r-- 1 root root 65536 Jun 27 16:15 productIndex.db
-rw-r--r-- 1 root root 1085 Jun 27 16:15 product.xml
-rw-rw-rw- 1 root root 1120 Jun 27 16:13 README.md
-rw-r--r-- 1 root root 6739 Jun 27 16:15 regions.json
-rw-rw-rw- 1 root root 1124 Jun 27 16:13 RELEASE.md
-rw-rw-rw- 1 root root 606 Jun 27 16:13 settings.gradle
drwxrwxrwx 5 root root 49 Jun 27 16:13 src
-rw-r--r-- 1 root root 41 Jun 27 16:16 test-load-config-exists.ini
drwxrwxrwx 2 root root 53 Jun 27 16:13 .vscode
2025-06-27T16:16:01.767Z 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)
2025-06-27T16:16:01.767Z INFO thread=164 [null] purged 0 expired events and 0 expired unassociated products.
2025-06-27T16:16:02.266Z 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)
2025-06-27T16:16:02.267Z INFO thread=164 [null] purged 0 expired events and 0 expired unassociated products.