java.lang.IllegalStateException: Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted?

Atlassian JIRA | Lukasz Pater | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    HTR: # Push a commit on a branch (in git) # Create a new branch for the commit, remove the old branch # Try creating a review for the branch (via the cog menu), while the new branch is being indexed Expected: # Either an existing branch is picked in favor of the removed one, or a friendly error message is shown Actual: # Red "internal server error" pops up {code} 2015-02-03 11:01:50,882 ERROR [qtp715504968-3211 ] com.atlassian.crucible.plugins.branchreview.rest.provider.ExceptionExceptionMapper noClassMethodInfo - Exception thrown during REST request:Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't ha ve last changeset set. Branch was deleted? User: null Referrer:null java.lang.IllegalStateException: Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted? at com.google.common.base.Preconditions.checkState(Preconditions.java:172) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.getLatestChangeSetId(DefaultBranchReviewService.java:330) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.access$100(DefaultBranchReviewService.java:55) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:231) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:226) at com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.listBranchCommits(DefaultBranchReviewService.java:226) at com.atlassian.crucible.plugins.branchreview.rest.BranchReviewResource.listBranchCommits(BranchReviewResource.java:116) 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:483) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker$1.invoke(DispatchProviderHelper.java:205) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker._dispatch(DispatchProviderHelper.java:201) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) {code}

    Atlassian JIRA | 2 years ago | Lukasz Pater (On vacation till July 8th')
    java.lang.IllegalStateException: Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted?
  2. 0

    HTR: # Push a commit on a branch (in git) # Create a new branch for the commit, remove the old branch # Try creating a review for the branch (via the cog menu), while the new branch is being indexed Expected: # Either an existing branch is picked in favor of the removed one, or a friendly error message is shown Actual: # Red "internal server error" pops up {code} 2015-02-03 11:01:50,882 ERROR [qtp715504968-3211 ] com.atlassian.crucible.plugins.branchreview.rest.provider.ExceptionExceptionMapper noClassMethodInfo - Exception thrown during REST request:Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't ha ve last changeset set. Branch was deleted? User: null Referrer:null java.lang.IllegalStateException: Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted? at com.google.common.base.Preconditions.checkState(Preconditions.java:172) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.getLatestChangeSetId(DefaultBranchReviewService.java:330) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.access$100(DefaultBranchReviewService.java:55) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:231) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:226) at com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507) at com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.listBranchCommits(DefaultBranchReviewService.java:226) at com.atlassian.crucible.plugins.branchreview.rest.BranchReviewResource.listBranchCommits(BranchReviewResource.java:116) 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:483) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker$1.invoke(DispatchProviderHelper.java:205) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker._dispatch(DispatchProviderHelper.java:201) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) {code}

    Atlassian JIRA | 2 years ago | Lukasz Pater
    java.lang.IllegalStateException: Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted?
  3. 0
    samebug tip
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    enhance error handling/logging

    GitHub | 12 months ago | KostyaSha
    java.lang.IllegalStateException: Can't get remote GH repo for test-job
  6. 0

    Can't disable codec for avro

    GitHub | 2 years ago | jvalkeal
    java.lang.IllegalStateException: Format avro doesn't support compression format uncompressed
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

    Branch '3.6-FE-5525-skip-querying-commiter-mappings-on-viewdir@null' doesn't have last changeset set. Branch was deleted?

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:172)
    1 frame
  3. com.atlassian.crucible
    DefaultBranchReviewService$1.apply
    1. com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.getLatestChangeSetId(DefaultBranchReviewService.java:330)
    2. com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.access$100(DefaultBranchReviewService.java:55)
    3. com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:231)
    4. com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService$1.apply(DefaultBranchReviewService.java:226)
    4 frames
  4. com.cenqua.fisheye
    RepositoryHandle.withEngine
    1. com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507)
    1 frame
  5. com.atlassian.crucible
    BranchReviewResource.listBranchCommits
    1. com.atlassian.crucible.plugins.branchreview.service.DefaultBranchReviewService.listBranchCommits(DefaultBranchReviewService.java:226)
    2. com.atlassian.crucible.plugins.branchreview.rest.BranchReviewResource.listBranchCommits(BranchReviewResource.java:116)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  7. com.atlassian.plugins
    DispatchProviderHelper$TypeOutInvoker._dispatch
    1. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker$1.invoke(DispatchProviderHelper.java:205)
    2. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100)
    3. com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61)
    4. com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38)
    5. com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61)
    6. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132)
    7. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker._dispatch(DispatchProviderHelper.java:201)
    7 frames
  8. Jersey
    WebApplicationImpl.handleRequest
    1. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    2. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
    3. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    4. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    6. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    7. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
    8. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
    9. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
    10. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
    10 frames