java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability

Sonatype JIRA | WP Service Account | 2 years ago
  1. 0

    Not sure if I am missing some config but generating yum metadata for releases/snapshots is failing with the following error: jvm 1 | 2015-02-25 12:41:03 INFO [ool-1-thread-11] - org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Scheduled task (Generate Yum Metadata) started :: Generate Yum metadata of repository 'releases' jvm 1 | 2015-02-25 12:41:03 WARN [ool-1-thread-11] - org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Scheduled task (Generate Yum Metadata) failed :: Generate Yum m etadata of repository 'releases' (started 2015-02-25T12:41:03+00:00, runtime 0:00:00.022) jvm 1 | java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability jvm 1 | at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.jar:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:135) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:69) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) [nexus-scheduler-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_09] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_09] jvm 1 | at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09] jvm 1 | 2015-02-25 12:41:03 WARN [ool-1-thread-11] - org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Generate Yum Metadata jvm 1 | java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability jvm 1 | at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.jar:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:135) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:69) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) [nexus-core-2.11.2-03.jar:2.11.2-03] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_09] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_09] jvm 1 | at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09] jvm 1 | 2015-02-25 12:41:17 WARN [etcherImpl-task] - com.sonatype.central.secure.nexus.plugin.internal.AuthtokenFetcherImpl - Failed to fetch authtoken: javax.net.ssl.SSLHandsh akeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification p ath to requested target

    Sonatype JIRA | 2 years ago | WP Service Account
    java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability
  2. 0

    [NEXUS-5829] inconsistency on what type of repository you can run Yum: Generate Metadata against - Sonatype JIRA

    sonatype.org | 1 year ago
    java.lang.IllegalStateException: Metadata regeneration can only be run on repositories that have an enabled 'Yum: Generate Metadata' capability
  3. 0

    is it possible to run IE8 on ubuntu via selenium?

    Stack Overflow | 2 years ago | koto-moto
    java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.html
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    installing allure jenkins plugin (v2.1) fails on latest jenkins build 1.576

    GitHub | 2 years ago | psura
    java.lang.IllegalStateException: The path to the driver executable must be set by the phantomjs.binary.path capability/system property/PATH variable; for more information, see https://github.com/ariya/phantomjs/wiki. The latest version can be downloaded from http://phantomjs.org/download.html
  6. 0

    Analyzer fails to catch usage of window function without OVER clause

    GitHub | 2 years ago | martint
    java.lang.IllegalStateException: not a scalar function or operator
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:176)[guava-16.0.1.jar:na]
    1 frame
  3. org.sonatype.nexus
    GenerateMetadataTask.doRun
    1. org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:135)[na:na]
    2. org.sonatype.nexus.yum.internal.task.GenerateMetadataTask.doRun(GenerateMetadataTask.java:69)[na:na]
    2 frames
  4. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151)[nexus-core-2.11.2-03.jar:2.11.2-03]
    1 frame
  5. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)[nexus-scheduler-2.11.2-03.jar:2.11.2-03]
    1 frame
  6. ${project.groupId}:${project.artifactId}
    MDCAwareCallable.call
    1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.11.2-03.jar:2.11.2-03]
    1 frame
  7. Shiro
    SubjectCallable.call
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_09]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_09]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_09]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_09]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.7.0_09]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.7.0_09]
    7. java.lang.Thread.run(Thread.java:722)[na:1.7.0_09]
    7 frames