java.lang.RuntimeException: com.atlassian.bamboo.plugins.hg.HgCommandException: command 'C:\Program Files\TortoiseHg\hg.exe' id -i --debug --rev default --config 'ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes' https://fkraemer:********@bitbucket.org/fkraemer/mercurialtest failed. Working directory was `D:\Atlassian\atlassian-bamboo-4.3\bamboo_home\xml-data\build-dir\_hg-repositories-cache\057dc4a6e93b5e6f50d100febc75369723606b7e'. stderr: abort: authorization failed stdout: using https://bitbucket.org/fkraemer/mercurialtest http auth: user fkraemer, password ********** sending capabilities command bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Felipe Kraemer, 1 year ago
/mercurialtest failed. Working directory was `D:\Atlassian\atlassian-bamboo-4.3\bamboo_home\xml-data\build-dir\_hg-repositories-cache\057dc4a6e93b5e6f50d100febc75369723606b7e'. stderr: abort: authorization failed stdout: using https://bitbucket.org/fkraemer
via Atlassian JIRA by Felipe Kraemer, 1 year ago
/mercurialtest failed. Working directory was `D:\Atlassian\atlassian-bamboo-4.3\bamboo_home\xml-data\build-dir\_hg-repositories-cache\057dc4a6e93b5e6f50d100febc75369723606b7e'. stderr: abort: authorization failed stdout: using https://bitbucket.org/fkraemer
via Atlassian JIRA by Armen Khachatryan [Atlassian], 1 year ago
com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'file:///Users/akhachatryan/dev/Repositories/GitTest' on branch 'next'. Branch has probably been removed.
via Atlassian JIRA by Armen Khachatryan [Atlassian], 1 year ago
com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'file:///Users/akhachatryan/dev/Repositories/GitTest' on branch 'next'. Branch has probably been removed.
via Atlassian JIRA by Felipe Kraemer, 1 year ago
com.atlassian.bamboo.repository.RepositoryException: : http://localhost:7990/scm/proj/repository.git: not authorized
via Atlassian JIRA by Felipe Kraemer, 1 year ago
com.atlassian.bamboo.repository.RepositoryException: : http://localhost:7990/scm/proj/repository.git: not authorized
java.lang.RuntimeException: com.atlassian.bamboo.plugins.hg.HgCommandException: command 'C:\Program Files\TortoiseHg\hg.exe' id -i --debug --rev default --config 'ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes' https://fkraemer:********@bitbucket.org/fkraemer/mercurialtest failed. Working directory was `D:\Atlassian\atlassian-bamboo-4.3\bamboo_home\xml-data\build-dir\_hg-repositories-cache\057dc4a6e93b5e6f50d100febc75369723606b7e'. stderr: abort: authorization failed stdout: using https://bitbucket.org/fkraemer/mercurialtest http auth: user fkraemer, password ********** sending capabilities command bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified http auth: user fkraemer, password ********** bitbucket.org certificate successfully verified
at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83)
at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376)
at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419)
at com.atlassian.bamboo.plugins.hg.HgCommandProcessor.runCommand(HgCommandProcessor.java:510)
at com.atlassian.bamboo.plugins.hg.HgCommandProcessor.runCommand(HgCommandProcessor.java:478)
at com.atlassian.bamboo.plugins.hg.HgCommandProcessor.extractTipHash(HgCommandProcessor.java:539)
at com.atlassian.bamboo.plugins.hg.HgCommandProcessor.getRemoteTipForBranch(HgCommandProcessor.java:391)
at com.atlassian.bamboo.plugins.hg.HgRepositoryAccessImpl.getLatestRemoteRevisionHash(HgRepositoryAccessImpl.java:325)
at com.atlassian.bamboo.plugins.hg.HgRepositoryAccessImpl.collectChangesSinceLastBuild(HgRepositoryAccessImpl.java:95)
at com.atlassian.bamboo.plugins.hg.HgRepository.collectChangesSinceLastBuild(HgRepository.java:379)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:461)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:458)
at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)
at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:457)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:318)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:251)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:161)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:127)
at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:113)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:199)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:252)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:300)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:296)
at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324)
at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:77)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:467)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:48)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:295)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.