java.lang.IllegalStateException: No current activity for repository: abc-defg-1092

Sonatype JIRA | Rich Seddon | 2 years ago
  1. 0

    There is a window of time where two threads can be started that are dropping the same staging repositories: {quote} 2014-07-16 22:15:01 INFO [pxpool-1-thread-10] - com.sonatype.nexus.staging.internal.task.StagingBackgroundTask - STARTED Dropping staging repositories: [abc-defg-1092, abc-defg-1089, abc-defg-1090, abc-defg-1091] ... 2014-07-16 22:15:28 INFO [pxpool-1-thread-14] - com.sonatype.nexus.staging.internal.task.StagingBackgroundTask - STARTED Dropping staging repositories: [abc-defg-1092, abc-defg-1089, abc-defg-1090, abc-defg-1091] {quote} After this, one of these threads will fail, and will leave staging repositories in an invalid state: {quote} 2014-07-16 22:16:43 ERROR [pxpool-1-thread-14] - com.sonatype.nexus.staging.internal.task.RepositoryDropTask - Failure java.lang.IllegalStateException: No current activity for repository: abc-defg-1092 at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-14.0.1.jar:na] at com.sonatype.nexus.staging.internal.activity.ActivityManagerImpl.current(ActivityManagerImpl.java:129) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.activityFailed(OperationTaskSupport.java:270) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.perform(OperationTaskSupport.java:319) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.executeOperations(OperationTaskSupport.java:435) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.doCall(OperationTaskSupport.java:416) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.TaskSupport.call(TaskSupport.java:38) ~[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.StagingTaskSupport.call(StagingTaskSupport.java:134) [nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.StagingBackgroundTask.execute(StagingBackgroundTask.java:68) [nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:53) [nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:1) [nexus-staging-plugin-2.7.2-03.jar:2.7.2-03] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) [nexus-core-2.7.2-03.jar:2.7.2-03] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) [nexus-scheduler-2.7.2-03.jar:2.7.2-03] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) [nexus-core-2.7.2-03.jar:2.7.2-03] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_21] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_21] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_21] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21] {quote} A restart of the server is needed to get the staging repositories out of this state.

    Sonatype JIRA | 2 years ago | Rich Seddon
    java.lang.IllegalStateException: No current activity for repository: abc-defg-1092
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    How to change Chronos port 8080 to something else, say, 8088?

    GitHub | 2 years ago | sourav82
    java.lang.IllegalStateException: Client is not started
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

    No current activity for repository: abc-defg-1092

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:176)[guava-14.0.1.jar:na]
    1 frame
  3. com.sonatype.nexus
    NexusTaskSupport.doRun
    1. com.sonatype.nexus.staging.internal.activity.ActivityManagerImpl.current(ActivityManagerImpl.java:129)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    2. com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.activityFailed(OperationTaskSupport.java:270)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    3. com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.perform(OperationTaskSupport.java:319)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    4. com.sonatype.nexus.staging.internal.task.OperationTaskSupport.executeOperations(OperationTaskSupport.java:435)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    5. com.sonatype.nexus.staging.internal.task.OperationTaskSupport.doCall(OperationTaskSupport.java:416)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    6. com.sonatype.nexus.staging.internal.task.TaskSupport.call(TaskSupport.java:38)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    7. com.sonatype.nexus.staging.internal.task.StagingTaskSupport.call(StagingTaskSupport.java:134)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    8. com.sonatype.nexus.staging.internal.task.StagingBackgroundTask.execute(StagingBackgroundTask.java:68)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    9. com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:53)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    10. com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:1)[nexus-staging-plugin-2.7.2-03.jar:2.7.2-03]
    10 frames
  4. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157)[nexus-core-2.7.2-03.jar:2.7.2-03]
    1 frame
  5. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419)[nexus-scheduler-2.7.2-03.jar:2.7.2-03]
    1 frame
  6. ${project.groupId}:${project.artifactId}
    MDCAwareCallable.call
    1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45)[nexus-core-2.7.2-03.jar:2.7.2-03]
    1 frame
  7. Shiro
    SubjectCallable.call
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.2.jar:1.2.2]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.2.jar:1.2.2]
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_21]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_21]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_21]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_21]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_21]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_21]
    7. java.lang.Thread.run(Thread.java:722)[na:1.7.0_21]
    7 frames