Closed somera closed 1 week ago
With OSS 3.70.2-01 it's working.
@mrprescott any updates here?
Still same in OSS 3.73.0-12
==> nexus.log <==
2024-10-11 10:23:33,547+0000 INFO [quartz-9-thread-19] *SYSTEM com.sonatype.nexus.vulnerability.internal.log.VulnerabilityStatisticsTask - Task log: /nexus/sonatype-work/nexus3/log/tasks/repository.vulnerability.statistics-20241011102333534.log
2024-10-11 10:23:33,659+0000 WARN [quartz-9-thread-19] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task 0deedb35-a2d5-43a1-b848-cac8fbc90ad0 : 'Statistics - recalculate vulnerabilities statistics' [repository.vulnerability.statistics] execution failure
java.time.format.DateTimeParseException: Text '07/Sep/2024:09:39:20 +0000' could not be parsed at index 3
at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2052)
at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1954)
at java.base/java.time.ZonedDateTime.parse(ZonedDateTime.java:600)
at com.sonatype.nexus.vulnerability.internal.log.RequestLogAggregator.extractDate(RequestLogAggregator.java:118)
at com.sonatype.nexus.vulnerability.internal.log.RequestLogAggregator.parseLogFiles(RequestLogAggregator.java:97)
at com.sonatype.nexus.vulnerability.internal.log.RequestLogAggregator.versionRequestCount(RequestLogAggregator.java:71)
at com.sonatype.nexus.vulnerability.internal.log.VulnerabilityRadarService.recalculateStatistics(VulnerabilityRadarService.java:68)
at com.sonatype.nexus.vulnerability.internal.log.VulnerabilityStatisticsTask.execute(VulnerabilityStatisticsTask.java:37)
at org.sonatype.nexus.scheduling.TaskSupport.call(TaskSupport.java:105)
at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:143)
at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:106)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.sonatype.nexus.quartz.internal.QuartzThreadPool.lambda$0(QuartzThreadPool.java:145)
at org.sonatype.nexus.thread.internal.MDCAwareRunnable.run(MDCAwareRunnable.java:40)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
I deleted the task and added it again. Same problem with the same date.
Why September? -> 07/Sep/2024:09:39:20 +0000
How can I fix it?
Looks like Nexus is slowly dying. Cause nothing happens here.
I solved it. Just by deleting older fildes in /sonatype-work/nexus3/tmp folder.
I'm asking me, why I get this error with some files in the /tmp folder.
OSS 3.72.0-04
The "Statistics - recalculate vulnerabilities statistics" task isn't working.
This is my configuation.
And I start it manualy for testing after OrientDB to H2 migration.