java.lang.IllegalStateException: Staging repository is already transitioning: fusesource_releases_external-2342

Sonatype JIRA | Peter Lynch | 7 months ago
  1. 0

    Perform a staging bulk promote operation (multiple staging repositories) - if one of these promoted members is internally marked as "in transition" from another staging operation, then the independent bulk promote operation can leave some of the staging repository members in transition and not editable in the UI from then on. A restart is required to get out of this state. {noformat} 2016-04-30 05:12:13 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.rest.repository.RepositoryResource - Fetching: jboss_releases_staging_profile-8163 2016-04-30 05:12:13 DEBUG [qtp2124695070-30823] admin com.sonatype.nexus.staging.rest.repository.RepositoryListResource - Listing repositories 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.rest.bulk.BulkPromoteResource - Preforming staging action: PROMOTE on repositories: [fusesource_releases_internal-1406, fusesource_releases_external-2336, fusesource_releases_external-2337, fusesource_releases_external-2341, fusesource_releases_external-2342, jboss_releases_staging_profile-8163] 2016-04-30 05:12:21 INFO [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Promoting staging repositories [fusesource_releases_internal-1406, fusesource_releases_external-2336, fusesource_releases_external-2337, fusesource_releases_external-2341, fusesource_releases_external-2342, jboss_releases_staging_profile-8163] to group profile 5992e1cc22908 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Preparing background task: com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask@4f50d46e 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: fusesource_releases_internal-1406 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: fusesource_releases_external-2336 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: fusesource_releases_external-2337 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: fusesource_releases_external-2341 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: fusesource_releases_external-2342 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Resolving operation item for: jboss_releases_staging_profile-8163 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - 6 members: 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=fusesource_releases_internal-1406, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=fusesource_releases_external-2336, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=fusesource_releases_external-2337, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=fusesource_releases_external-2341, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=fusesource_releases_external-2342, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - PromoteItem{id=jboss_releases_staging_profile-8163, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.persist.StagingConfigurationSource - Saving configuration: /services/nexus/sonatype-work/nexus/conf/staging.xml 2016-04-30 05:12:21 INFO [qtp2124695070-30852] admin org.sonatype.nexus.configuration.ModelUtils - Saving model /services/nexus/sonatype-work/nexus/conf/staging.xml 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=fusesource_releases_internal-1406, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=fusesource_releases_external-2336, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=fusesource_releases_external-2337, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=fusesource_releases_external-2341, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=fusesource_releases_external-2342, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask - Ensuring preconditions: PromoteItem{id=jboss_releases_staging_profile-8163, state=closed, group=false} 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Transitioning true: fusesource_releases_internal-1406 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Transitioning true: fusesource_releases_external-2336 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Transitioning true: fusesource_releases_external-2337 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Transitioning true: fusesource_releases_external-2341 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Transitioning true: fusesource_releases_external-2342 2016-04-30 05:12:21 DEBUG [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Staging repository is already transitioning: fusesource_releases_external-2342; repositories in transition: [fusesource_releases_internal-1406, fusesource_releases_external-2317, fusesource_releases_external-2329, fusesource_releases_external-2319, fusesource_releases_external-2318, fusesource_releases_internal-1402, fusesource_releases_internal-1401, fusesource_releases_external-2342, fusesource_releases_external-2333, fusesource_releases_external-2341, fusesource_releases_external-2332, fusesource_releases_external-2322, fusesource_releases_external-2321, fusesource_releases_external-2337, fusesource_releases_external-2336, jboss_releases_staging_profile-8099, jboss_releases_staging_profile-8108] 2016-04-30 05:12:21 WARN [qtp2124695070-30852] admin com.sonatype.nexus.staging.internal.DefaultStagingManager - Abort background; task preparations failed java.lang.IllegalStateException: Staging repository is already transitioning: fusesource_releases_external-2342 at com.google.common.base.Preconditions.checkState(Preconditions.java:200) ~[guava-16.0.1.jar:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.ensureCompatibleTransition(DefaultStagingManager.java:171) [nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.setTransitioning(DefaultStagingManager.java:180) [nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.transitioning(OperationTaskSupport.java:217) ~[nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.transitioning(OperationTaskSupport.java:212) ~[nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.prepare(OperationTaskSupport.java:393) ~[nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask.prepare(RepositoryPromoteTask.java:363) ~[nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.prepareBackgroundTask(DefaultStagingManager.java:196) [nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.promoteToGroupStagingRepositories(DefaultStagingManager.java:342) [nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.rest.bulk.BulkPromoteResource.doPost(BulkPromoteResource.java:78) [nexus-staging-plugin-2.13.0-01/:na] at com.sonatype.nexus.staging.rest.bulk.BulkResourceSupport.post(BulkResourceSupport.java:84) [nexus-staging-plugin-2.13.0-01/:na] at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:262) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:70) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.restlet.resource.Resource.post(Resource.java:688) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.restlet.resource.Resource.handlePost(Resource.java:537) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.restlet.Finder.handle(Finder.java:357) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.13.0-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.13.0-01/:na] {noformat} In the above example fusesource_releases_external-2336, fusesource_releases_external-2337,fusesource_releases_external-2341 are all left internally marked as in transition and when viewed from the staging UI after this operation, cannot be promoted, dropped, or released until Nexus is restarted. Expected: - Nexus should keep track of transition state more carefully inside of transactions and unwind any set transition states if the enclosing operation fails - should not have to restart Nexus to get out of this state

    Sonatype JIRA | 7 months ago | Peter Lynch
    java.lang.IllegalStateException: Staging repository is already transitioning: fusesource_releases_external-2342
  2. 0

    docker.com | 1 month ago
    java.lang.IllegalStateException: Nexus work directory already in use: /sonatype-work
  3. 0

    Crawling with Google Chrome fails silently in Web UI

    GitHub | 3 years ago | keheliya
    java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html while locating com.crawljax.browser.WebDriverBrowserBuilder while locating com.crawljax.browser.EmbeddedBrowser for parameter 0 at com.crawljax.core.CrawlerContext.<init>(CrawlerContext.java:32) while locating com.crawljax.core.CrawlerContext for parameter 0 at com.crawljax.core.Crawler.<init>(Crawler.java:72) while locating com.crawljax.core.Crawler for parameter 2 at com.crawljax.core.CrawlTaskConsumer.<init>(CrawlTaskConsumer.java:30) while locating com.crawljax.core.CrawlTaskConsumer 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Titan data corruption

    Stack Overflow | 2 years ago | crak
    java.lang.IllegalStateException: Could not find type for id: 630
  6. 0

    compiler crashes with integer overflow when evaluating expressions

    GitHub | 1 year ago | nicks
    java.lang.IllegalStateException: Casting long to integer results in overflow: 1000000000000
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

    Staging repository is already transitioning: fusesource_releases_external-2342

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:200)[guava-16.0.1.jar:na]
    1 frame
  3. com.sonatype.nexus
    BulkResourceSupport.post
    1. com.sonatype.nexus.staging.internal.DefaultStagingManager.ensureCompatibleTransition(DefaultStagingManager.java:171)[nexus-staging-plugin-2.13.0-01/:na]
    2. com.sonatype.nexus.staging.internal.DefaultStagingManager.setTransitioning(DefaultStagingManager.java:180)[nexus-staging-plugin-2.13.0-01/:na]
    3. com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.transitioning(OperationTaskSupport.java:217)[nexus-staging-plugin-2.13.0-01/:na]
    4. com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.transitioning(OperationTaskSupport.java:212)[nexus-staging-plugin-2.13.0-01/:na]
    5. com.sonatype.nexus.staging.internal.task.OperationTaskSupport.prepare(OperationTaskSupport.java:393)[nexus-staging-plugin-2.13.0-01/:na]
    6. com.sonatype.nexus.staging.internal.task.RepositoryPromoteTask.prepare(RepositoryPromoteTask.java:363)[nexus-staging-plugin-2.13.0-01/:na]
    7. com.sonatype.nexus.staging.internal.DefaultStagingManager.prepareBackgroundTask(DefaultStagingManager.java:196)[nexus-staging-plugin-2.13.0-01/:na]
    8. com.sonatype.nexus.staging.internal.DefaultStagingManager.promoteToGroupStagingRepositories(DefaultStagingManager.java:342)[nexus-staging-plugin-2.13.0-01/:na]
    9. com.sonatype.nexus.staging.rest.bulk.BulkPromoteResource.doPost(BulkPromoteResource.java:78)[nexus-staging-plugin-2.13.0-01/:na]
    10. com.sonatype.nexus.staging.rest.bulk.BulkResourceSupport.post(BulkResourceSupport.java:84)[nexus-staging-plugin-2.13.0-01/:na]
    10 frames
  4. ${project.groupId}:${project.artifactId}
    RestletResource.acceptRepresentation
    1. org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:262)[nexus-restlet1x-plugin-2.13.0-01/:na]
    1 frame
  5. Nexus Core
    NexusRestletResource.acceptRepresentation
    1. org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:70)[nexus-restlet1x-plugin-2.13.0-01/:na]
    1 frame
  6. org.restlet.resource
    Resource.handlePost
    1. org.restlet.resource.Resource.post(Resource.java:688)[nexus-restlet1x-plugin-2.13.0-01/:na]
    2. org.restlet.resource.Resource.handlePost(Resource.java:537)[nexus-restlet1x-plugin-2.13.0-01/:na]
    2 frames
  7. org.restlet
    Filter.handle
    1. org.restlet.Finder.handle(Finder.java:357)[nexus-restlet1x-plugin-2.13.0-01/:na]
    2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.13.0-01/:na]
    3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.13.0-01/:na]
    3 frames