java.lang.IllegalArgumentException

Number of days must be greater than zero

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web728

  • via Unknown by Kelly Robinson,
  • Stack trace

    • java.lang.IllegalArgumentException: Number of days must be greater than zero at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)[com.google.guava:18.0.0] at org.sonatype.nexus.repository.maven.internal.PurgeUnusedSnapshotsFacetImpl.purgeUnusedSnapshots(PurgeUnusedSnapshotsFacetImpl.java:104)[na:na] at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)[na:na] at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:267)[na:na] at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)[na:na] at org.sonatype.nexus.repository.maven.tasks.PurgeMavenUnusedSnapshotsTask.execute(PurgeMavenUnusedSnapshotsTask.java:59)[na:na] at org.sonatype.nexus.repository.RepositoryTaskSupport.execute(RepositoryTaskSupport.java:56)[na:na] at org.sonatype.nexus.scheduling.TaskSupport.call(TaskSupport.java:89)[org.sonatype.nexus.scheduling:3.0.0.SNAPSHOT] at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:137)[org.sonatype.nexus.quartz:3.0.0.SNAPSHOT] at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:99)[org.sonatype.nexus.quartz:3.0.0.SNAPSHOT] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[org.quartz-scheduler.quartz:2.2.2] at org.sonatype.nexus.thread.internal.MDCAwareRunnable.run(MDCAwareRunnable.java:40)[org.sonatype.nexus.thread:3.0.0.SNAPSHOT] at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)[org.apache.shiro.core:1.2.4] at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)[org.apache.shiro.core:1.2.4] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_66] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    arturgajowyarturgajowy
    Once,
    batwalrus76batwalrus76
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    brunosatrianibrunosatriani
    Once,
    ben.slama.jihedben.slama.jihed
    2 times, last one
    32 more bugmates