Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.2, 5.2.1
Description
If you deleted shared credentials and a respository was using it, when you try to load, or delete the repo you get. Deleting the shared credential will throw the exception and this will only take effect after refreshing the browser
2013-11-27 20:40:17,516 ERROR [http-bio-10520-exec-18] [ExceptionMappingInterceptor] java.lang.IllegalArgumentException: Shared Credentials with id '327683 are not found com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalArgumentException: Shared Credentials with id '327683 are not found at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) at com.atlassian.bamboo.repository.RepositoryDataImpl.getRepository(RepositoryDataImpl.java:136) at com.atlassian.bamboo.plan.branch.ChainBranchUtils.getSubstitutedVcsBranchName(ChainBranchUtils.java:57) at com.atlassian.bamboo.ww2.beans.DecoratedNavObjectFactoryImpl.getSubstitutedBranchName(DecoratedNavObjectFactoryImpl.java:155) at com.atlassian.bamboo.ww2.beans.DecoratedPlan.<init>(DecoratedPlan.java:59) at com.atlassian.bamboo.ww2.beans.DecoratedNavObjectFactoryImpl.decoratePlan(DecoratedNavObjectFactoryImpl.java:100) at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.getNavObject(NavigationAwareInterceptor.java:148) at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.doIntercept(NavigationAwareInterceptor.java:87) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor$1.call(AbstractBambooInterceptor.java:36) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor$1.call(AbstractBambooInterceptor.java:32) at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:49) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:31) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.doIntercept(BuildResultsSummaryAwareInteceptor.java:70)
Also if you try to access a plan that was using that repository, you get the same exception