java.lang.IllegalStateException: After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid.

Atlassian JIRA | Alexey Efimov | 3 years ago
  1. 0

    {code} 2432/merge HTTP/1.0" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalStateException: After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid. at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.resolveMerge(DefaultGitPullRequestCommandFactory.java:720) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:389) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:321) ~[na:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) ~[na:1.6.0_30] at java.util.concurrent.FutureTask.run(FutureTask.java:138) ~[na:1.6.0_30] at com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:63) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:266) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:60) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:111) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:99) ~[na:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.isConflicted(PullRequestServiceImpl.java:1313) ~[stash-service-impl-2.6.2.jar:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:1009) ~[stash-service-impl-2.6.2.jar:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:283) ~[stash-service-impl-2.6.2.jar:na] at sun.reflect.GeneratedMethodAccessor665.invoke(Unknown Source) ~[na:na] {code} {code} stash@stash:/var/lib/stash/data/repositories/4/refs/pull-requests$ ls -lah 2432 total 60K drwxr-xr-x 2 stash stash 4,0K авг. 5 15:41 . drwxr-xr-x 2440 stash stash 40K авг. 5 15:32 .. -rw-r--r-- 1 stash stash 41 авг. 5 15:39 merge -rw-r--r-- 1 stash stash 34 авг. 5 15:39 merge-base -rw-r--r-- 1 stash stash 41 авг. 5 15:39 to {code}

    Atlassian JIRA | 3 years ago | Alexey Efimov
    java.lang.IllegalStateException: After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid.
  2. 0

    {code} 2432/merge HTTP/1.0" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalStateException: After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid. at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.resolveMerge(DefaultGitPullRequestCommandFactory.java:720) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:389) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:321) ~[na:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) ~[na:1.6.0_30] at java.util.concurrent.FutureTask.run(FutureTask.java:138) ~[na:1.6.0_30] at com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:63) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:266) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:60) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:111) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:99) ~[na:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.isConflicted(PullRequestServiceImpl.java:1313) ~[stash-service-impl-2.6.2.jar:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:1009) ~[stash-service-impl-2.6.2.jar:na] at com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:283) ~[stash-service-impl-2.6.2.jar:na] at sun.reflect.GeneratedMethodAccessor665.invoke(Unknown Source) ~[na:na] {code} {code} stash@stash:/var/lib/stash/data/repositories/4/refs/pull-requests$ ls -lah 2432 total 60K drwxr-xr-x 2 stash stash 4,0K авг. 5 15:41 . drwxr-xr-x 2440 stash stash 40K авг. 5 15:32 .. -rw-r--r-- 1 stash stash 41 авг. 5 15:39 merge -rw-r--r-- 1 stash stash 34 авг. 5 15:39 merge-base -rw-r--r-- 1 stash stash 41 авг. 5 15:39 to {code}

    Atlassian JIRA | 3 years ago | Alexey Efimov
    java.lang.IllegalStateException: After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid.
  3. 0

    Cannot connect to ElasticSearch

    GitHub | 2 years ago | TheGameSquid
    java.lang.IllegalStateException: Expected to be healthy after starting. The following services are not running: {FAILED=[IndexerSetupService [FAILED]]}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Graylog2 with elasticsearch on AWS VPC

    GitHub | 2 years ago | amos6224
    java.lang.IllegalStateException: Expected to be healthy after starting. The following services are not running: {FAILED=[IndexerSetupService [FAILED]]}
  6. 0

    GitHub comment 20#250952231

    GitHub | 2 months ago | kisonay
    java.lang.IllegalStateException: Failed to start authorized services.

    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

      After matching the from and to refs, the expected merge could not be resolved for pull request 4:2432@2. The contents of the repository are invalid.

      at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.resolveMerge()
    2. com.atlassian.stash
      DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call
      1. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.resolveMerge(DefaultGitPullRequestCommandFactory.java:720)[na:na]
      2. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:389)[na:na]
      3. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$PullRequestEffectiveDiffCallable.call(DefaultGitPullRequestCommandFactory.java:321)[na:na]
      3 frames
    3. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_30]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_30]
      2 frames
    4. com.atlassian.util
      ConcurrentOperationMapImpl.runOperation
      1. com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:63)[atlassian-util-concurrent-2.4.1.jar:na]
      2. com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51)[atlassian-util-concurrent-2.4.1.jar:na]
      2 frames
    5. com.atlassian.stash
      PullRequestServiceImpl.canMerge
      1. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:266)[na:na]
      2. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:60)[na:na]
      3. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:111)[na:na]
      4. com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$1.call(DefaultGitPullRequestCommandFactory.java:99)[na:na]
      5. com.atlassian.stash.internal.pull.PullRequestServiceImpl.isConflicted(PullRequestServiceImpl.java:1313)[stash-service-impl-2.6.2.jar:na]
      6. com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:1009)[stash-service-impl-2.6.2.jar:na]
      7. com.atlassian.stash.internal.pull.PullRequestServiceImpl.canMerge(PullRequestServiceImpl.java:283)[stash-service-impl-2.6.2.jar:na]
      7 frames
    6. Java RT
      GeneratedMethodAccessor665.invoke
      1. sun.reflect.GeneratedMethodAccessor665.invoke(Unknown Source)[na:na]
      1 frame