java.lang.IllegalStateException: Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg

Atlassian JIRA | Piotr Stefan Stefaniak [Atlassian] | 6 years ago
  1. 0

    How to reproduce: 1) Grab 'large-repo' from [BSP-4370|https://support.atlassian.com/browse/BSP-4370]. 2) Set up Git plan using that repo, run it once. 3) Run it again. 3a) In logs there should be no messages alike "failed to checkout, trying to recover". 3b) And in bamboo logs there shouldn't be {noformat} [INFO] [talledLocalContainer] 2011-04-27 13:45:38,538 ERROR [4-BAM::Default Agent::Agent:pool-10-thread-1] [GitRepository] Warning: failed to checkout source code to directory '/home/pstefaniak/bamboo/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/GG-GG-JOB1', trying to recover... [INFO] [talledLocalContainer] java.lang.IllegalStateException: Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.bad(DirCacheBuilder.java:247) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.resort(DirCacheBuilder.java:236) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.finish(DirCacheBuilder.java:192) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:398) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitOperationHelper.checkout(GitOperationHelper.java:337) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:257) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:239) [INFO] [talledLocalContainer] at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:238) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.checkoutCode(CheckoutUpdateForBuild.java:119) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:91) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at $Proxy345.call(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:106) [INFO] [talledLocalContainer] at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662) {noformat} This issue is not preventing Git Repository from being operational, but it slows down the performance.

    Atlassian JIRA | 6 years ago | Piotr Stefan Stefaniak [Atlassian]
    java.lang.IllegalStateException: Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg
  2. 0

    How to reproduce: 1) Grab 'large-repo' from [BSP-4370|https://support.atlassian.com/browse/BSP-4370]. 2) Set up Git plan using that repo, run it once. 3) Run it again. 3a) In logs there should be no messages alike "failed to checkout, trying to recover". 3b) And in bamboo logs there shouldn't be {noformat} [INFO] [talledLocalContainer] 2011-04-27 13:45:38,538 ERROR [4-BAM::Default Agent::Agent:pool-10-thread-1] [GitRepository] Warning: failed to checkout source code to directory '/home/pstefaniak/bamboo/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/GG-GG-JOB1', trying to recover... [INFO] [talledLocalContainer] java.lang.IllegalStateException: Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.bad(DirCacheBuilder.java:247) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.resort(DirCacheBuilder.java:236) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheBuilder.finish(DirCacheBuilder.java:192) [INFO] [talledLocalContainer] at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:398) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitOperationHelper.checkout(GitOperationHelper.java:337) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:257) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:239) [INFO] [talledLocalContainer] at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) [INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:238) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.checkoutCode(CheckoutUpdateForBuild.java:119) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:91) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at $Proxy345.call(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) [INFO] [talledLocalContainer] at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:106) [INFO] [talledLocalContainer] at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662) {noformat} This issue is not preventing Git Repository from being operational, but it slows down the performance.

    Atlassian JIRA | 6 years ago | Piotr Stefan Stefaniak [Atlassian]
    java.lang.IllegalStateException: Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg
  3. 0

    GitHub comment 19643#177852646

    GitHub | 10 months ago | remcobeckers
    java.lang.IllegalStateException: onNext is not allowed when the stream has not requested elements, totalDemand was 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 17521#115698118

    GitHub | 1 year ago | egisj
    java.lang.IllegalStateException: onNext is not allowed when the stream has not requested elements, totalDemand was 0
  6. 0

    onNext is not allowed when the stream has not requested elements

    GitHub | 1 year ago | martinstuder
    java.lang.IllegalStateException: onNext is not allowed when the stream has not requested elements, totalDemand was 0

    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

      Duplicate stages not allowed: 0 Garaio.Reka.FeWo.ExportMoss/Piktogramme/Bademöglichkeit.jpg

      at org.eclipse.jgit.dircache.DirCacheBuilder.bad()
    2. JGit - Core
      DirCacheCheckout.checkout
      1. org.eclipse.jgit.dircache.DirCacheBuilder.bad(DirCacheBuilder.java:247)
      2. org.eclipse.jgit.dircache.DirCacheBuilder.resort(DirCacheBuilder.java:236)
      3. org.eclipse.jgit.dircache.DirCacheBuilder.finish(DirCacheBuilder.java:192)
      4. org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:398)
      4 frames
    3. com.atlassian.bamboo
      GitRepository$3.call
      1. com.atlassian.bamboo.plugins.git.GitOperationHelper.checkout(GitOperationHelper.java:337)
      2. com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:257)
      3. com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:239)
      3 frames
    4. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324)
      1 frame
    5. com.atlassian.bamboo
      CheckoutUpdateForBuild.call
      1. com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:238)
      2. com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.checkoutCode(CheckoutUpdateForBuild.java:119)
      3. com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:91)
      4. com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    8. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    10. Unknown
      $Proxy345.call
      1. $Proxy345.call(Unknown Source)
      1 frame
    11. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192)
      2. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99)
      3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:106)
      4. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      4 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame