carpediemevive Posted February 26, 2016 Report Share Posted February 26, 2016 I have attempted to resolve this one on my own, but I can't seem to get it to work. It's happening with the most recent version of Bamboo v5.10.1.1. This is the stack track I am getting: com.atlassian.bamboo.repository.RepositoryException: java.lang.IllegalStateException: Changeset id is missing from the commit context at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:367) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:307) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:199) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:156) at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:172) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:250) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:341) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy154.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.lambda$call$85(PlanExecutionManagerImpl.java:426) at com.atlassian.bamboo.util.CacheAwareness$3.call(CacheAwareness.java:134) at com.atlassian.bamboo.util.CacheAwareness$3.call(CacheAwareness.java:130) at com.atlassian.bamboo.util.CacheAwareness.withValuesOlderThanTimestampReloaded(CacheAwareness.java:163) at com.atlassian.bamboo.util.CacheAwareness.withValuesOlderThanTimestampReloaded(CacheAwareness.java:129) at com.atlassian.bamboo.util.CacheAwareness.withValuesOlderThanTimestampReloaded(CacheAwareness.java:194) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:425) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:416) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:85) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:796) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$400(PlanExecutionManagerImpl.java:128) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1.run(PlanExecutionManagerImpl.java:410) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.IllegalStateException: Changeset id is missing from the commit context at com.google.common.base.Preconditions.checkState(Preconditions.java:173) at com.atlassian.bamboo.commit.CommitContextImpl$Builder.build(CommitContextImpl.java:185) at com.atlassian.bamboo.commit.CommitFunctions$CloneCommit.apply(CommitFunctions.java:48) at com.atlassian.bamboo.commit.CommitFunctions$CloneCommit.apply(CommitFunctions.java:31) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl.setChanges(BuildRepositoryChangesImpl.java:147) at com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl.<init>(BuildRepositoryChangesImpl.java:80) at com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl.<init>(BuildRepositoryChangesImpl.java:67) at com.codicesoftware.plugins.bamboo40.PlasticRepository.collectChangesSinceLastBuild(PlasticRepository.java:108) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesWithRetry(DefaultChangeDetectionManager.java:553) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.lambda$createBuildRepositoryChanges$99(DefaultChangeDetectionManager.java:424) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:359) As it stands right now, I'm completely unable to build at least 3 of my projects, so any help on this would be very appreciated. Link to comment Share on other sites More sharing options...
calbzam Posted February 29, 2016 Report Share Posted February 29, 2016 Hi, I was able to reproduce the issue. According to the Atlassian documentation: - This release contains changes that break the plugin backward compatibility. For more information about how to prevent your plugins from breaking, see Bamboo developer documentation. https://confluence.atlassian.com/bamboo/bamboo-5-10-release-notes-797411614.html We are going to try to support this new version as soon as possible. Regards, Carlos. Link to comment Share on other sites More sharing options...
carpediemevive Posted February 29, 2016 Author Report Share Posted February 29, 2016 Thanks for your response! I really look forward to the new release. I'm not sure exactly how to rollback my Bamboo version, and even if I did it still wouldn't work 100%. If you could come back and update this thread if/when you have some idea as to when a new version might be released that would be great too. Link to comment Share on other sites More sharing options...
carpediemevive Posted April 8, 2016 Author Report Share Posted April 8, 2016 Is there any update available on this? I checked yesterday and it looks like the plugin hasn't been updated yet. Link to comment Share on other sites More sharing options...
manu Posted April 26, 2016 Report Share Posted April 26, 2016 Hi! we are going to start working on this today. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.