Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

  2. ,

    checkState() is Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met). This occurs when the precondition does not met.

Solutions on the web

via Sonatype JIRA by WP Service Account, 1 year ago
Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability
via sonatype.org by Unknown author, 2 years ago
Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability
via GitHub by iToxicXx
, 1 week ago
Can only activate context at local.
via Google Groups by sele...@googlecode.com, 2 years ago
via GitHub by s905060
, 1 year ago
Partition 99 could not be fully assigned!
java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability	at com.google.common.base.Preconditions.checkState(Preconditions.java:176)	at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:135)	at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:69)	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151)	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)	at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)	at java.util.concurrent.FutureTask.run(FutureTask.java:166)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)