java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception.

Atlassian JIRA | Martin Meinhold | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Just seen on JBAC: {noformat} 2013-08-16 07:56:31,000 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Task 'Collecting changes for ACF-AFCC5' was unsuccessful. Run 1 / 2. Exception thrown when running task 'Collecting changes for ACF-AFCC5', with message: Runtime exception. 2013-08-16 07:56:31,000 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Waiting 5545ms before retrying... 2013-08-16 07:56:36,915 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Task 'Collecting changes for ACF-AFCC5' was unsuccessful. Run 2 / 2. Exception thrown when running task 'Collecting changes for ACF-AFCC5', with message: Runtime exception. 2013-08-16 07:56:36,915 ERROR [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Failed to run task 'Collecting changes for ACF-AFCC5' after 2 attempts. Task was not executed. 2013-08-16 07:56:36,915 ERROR [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Exception being rethrown 2013-08-16 07:56:36,915 WARN [4-BAM::PlanExec:pool-7-thread-3] [PlanExecutionManagerImpl] Unknown error during doWithProcessLock java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) 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:470) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:111) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:450) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:435) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:78) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:704) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startConditionalBuild(PlanExecutionManagerImpl.java:434) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:503) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:520) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:131) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:119) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:281) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:182) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:474) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:471) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 25 more Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://melias@bitbucket.org/atlassian-foundation/codefoundation failed with code 128. Working directory was [.]., stderr: [fatal: https://melias@bitbucket.org/atlassian-foundation/codefoundation/info/refs not found: did you run git update-server-info on the server?] at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) at com.atlassian.bamboo.plugins.git.CallableResultCache.call(CallableResultCache.java:82) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:485) {noformat} See the attached log for the complete stack trace. I would appreciate if Bamboo could simply disable the branch build or at least log it in the system log. Currently, there is no error on the plan summary page.

    Atlassian JIRA | 4 years ago | Martin Meinhold
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception.
  2. 0

    Just seen on JBAC: {noformat} 2013-08-16 07:56:31,000 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Task 'Collecting changes for ACF-AFCC5' was unsuccessful. Run 1 / 2. Exception thrown when running task 'Collecting changes for ACF-AFCC5', with message: Runtime exception. 2013-08-16 07:56:31,000 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Waiting 5545ms before retrying... 2013-08-16 07:56:36,915 INFO [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Task 'Collecting changes for ACF-AFCC5' was unsuccessful. Run 2 / 2. Exception thrown when running task 'Collecting changes for ACF-AFCC5', with message: Runtime exception. 2013-08-16 07:56:36,915 ERROR [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Failed to run task 'Collecting changes for ACF-AFCC5' after 2 attempts. Task was not executed. 2013-08-16 07:56:36,915 ERROR [4-BAM::PlanExec:pool-7-thread-3] [RetryingTaskExecutor] Exception being rethrown 2013-08-16 07:56:36,915 WARN [4-BAM::PlanExec:pool-7-thread-3] [PlanExecutionManagerImpl] Unknown error during doWithProcessLock java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) 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:470) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:111) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:450) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:435) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:78) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:704) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startConditionalBuild(PlanExecutionManagerImpl.java:434) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:503) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:520) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:131) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:119) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:281) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:182) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:474) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:471) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 25 more Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://melias@bitbucket.org/atlassian-foundation/codefoundation failed with code 128. Working directory was [.]., stderr: [fatal: https://melias@bitbucket.org/atlassian-foundation/codefoundation/info/refs not found: did you run git update-server-info on the server?] at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) at com.atlassian.bamboo.plugins.git.CallableResultCache.call(CallableResultCache.java:82) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:485) {noformat} See the attached log for the complete stack trace. I would appreciate if Bamboo could simply disable the branch build or at least log it in the system log. Currently, there is no error on the plan summary page.

    Atlassian JIRA | 4 years ago | Martin Meinhold
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception.
  3. 0

    Java Null Pointer Exception - Stack Trace Null

    Stack Overflow | 5 years ago | workwise
    com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException The stack trace is also null. I am using eclipse. And cannot go through the steps (the debug panel gives a very top level function trace of where exception occurs which is not useful to get to the root cause). How can I debug this exception? I am mostly Java newbie (though C++ experienced) and may have missed some imp information. Here is some relevant code: import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; Cache<BubbleKey, List<BlockData>> thecache; // Above is initialized somewhere.. bit complex and code distributed across various file //Somewhere else List<BlockData>> __ll = thecache.getUnchecked(keydata); Above is what is causing it. The keydata is properly initialized. It could be in the lookup/comparing the keys functions but I cannot get there as there is no stack trace. Some more! On some runs, I am getting more debug output. Still dont know how to analyze it though. Below exception is a different one, occurring at later stages, after the above exception has occurred 3-4 times in the program. For the above exception, as I mentioned, there is never any stack trace. at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305) ~[guava-10.0.1.jar:na]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.common.util.concurrent.UncheckedExecutionException

      com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://melias@bitbucket.org/atlassian-foundation/codefoundation failed with code 128. Working directory was [.]., stderr: [fatal: https://melias@bitbucket.org/atlassian-foundation/codefoundation/info/refs not found: did you run git update-server-info on the server?]

      at com.google.common.cache.AbstractCache.getUnchecked()
    2. Guava
      AbstractCache.getUnchecked
      1. com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51)
      1 frame
    3. com.atlassian.bamboo
      NativeGitOperationHelper.getRemoteRefs
      1. com.atlassian.bamboo.plugins.git.CallableResultCache.call(CallableResultCache.java:82)
      2. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:485)
      2 frames