Hello,
Im trying to trigger “Analyze” on a proxy repo i have.
Sadly i task immediatly exists with NPE exception.
please see below:
> 2020-10-02 10:58:25,615+0000 INFO [quartz-3-thread-19] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task ‘Health Check: pypi-external’ [healthcheck] scheduled: hourly
2020-10-02 10:58:25,615+0000 WARN [quartz-3-thread-19] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task ded28d38-1127-4933-95c6-7917d70a1de6 : 'Health Check: pypi-external' [healthcheck] execution failure java.lang.NullPointerException: null at com.thoughtworks.xstream.mapper.ClassAliasingMapper.addClassAlias(ClassAliasingMapper.java:37) at com.thoughtworks.xstream.XStream.alias(XStream.java:1510) at com.thoughtworks.xstream.XStream.setupAliases(XStream.java:920) at com.thoughtworks.xstream.XStream.<init>(XStream.java:590) at com.thoughtworks.xstream.XStream.<init>(XStream.java:514) at com.thoughtworks.xstream.XStream.<init>(XStream.java:483) at com.thoughtworks.xstream.XStream.<init>(XStream.java:429) at com.thoughtworks.xstream.XStream.<init>(XStream.java:396) at com.sonatype.insight.scan.model.io.XStreamFactory.newInstance(XStreamFactory.java:31) at com.sonatype.insight.scan.model.io.ScanWriter.<init>(ScanWriter.java:49) at com.sonatype.insight.scan.model.io.DefaultScanWriterFactory.newWriter(DefaultScanWriterFactory.java:36) at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doScan(HealthCheckTask.java:281) at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRunSafe(HealthCheckTask.java:215) at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.execute(HealthCheckTask.java:132) at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.execute(HealthCheckTask.java:1) at org.sonatype.nexus.scheduling.TaskSupport.call(TaskSupport.java:93) at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:145) at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:108) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) 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.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Appreciate you help!