java.lang.IllegalStateException: Already have branch data: name='xxxx' branchRevision='1.3.0.2' revisonNumber='1.3.2 startRevisionN umber='1.3'

Atlassian JIRA | Anton Mazkovoi [Atlassian] | 1 decade ago
  1. 0

    [JRA-6384] Add support for CVS branch aliases - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalStateException: Already have branch data: name='xxxx' branchRevision='1.3.0.2' revisonNumber='1.3.2 startRevisionN umber='1.3'
  2. 0

    JIRA fails to parse CVS log files which contain branch aliases (which can be created using 'cvs admin -nbranch_alias_name:branch_name' command). The exception in teh logs looks like: 2005-03-28 13:43:25,214 ERROR [action.admin.vcs.AddRepository] Error occurred while obtaining cvs log or parsing the cvs log. java.lang.IllegalStateException: Already have branch data: name='xxxx' branchRevision='1.3.0.2' revisonNumber='1.3.2 startRevisionN umber='1.3' at net.sf.statcvs.input.CvsRevisionParser.setBranchInformation(CvsRevisionParser.java:200) at net.sf.statcvs.input.CvsRevisionParser.parseRevision(CvsRevisionParser.java:167) at net.sf.statcvs.input.CvsRevisionParser.parse(CvsRevisionParser.java:103) at net.sf.statcvs.input.CvsFileBlockParser.parse(CvsFileBlockParser.java:115) at net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:84) at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.parseCvsLogs(CvsRepositoryUtilImpl.java:153) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.testRepository(RepositoryActionSupport.java:285) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.checkRepository(RepositoryActionSupport.java:224) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.checkPathsAndRepository(RepositoryActionSupport.java:336) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.validateRepositoryParameters(RepositoryActionSupport.java:309) at com.atlassian.jira.web.action.admin.vcs.AddRepository.doValidation(AddRepository.java:54) at webwork.action.ActionSupport.validate(ActionSupport.java:373) at webwork.action.ActionSupport.execute(ActionSupport.java:150) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)

    Atlassian JIRA | 1 decade ago | Anton Mazkovoi [Atlassian]
    java.lang.IllegalStateException: Already have branch data: name='xxxx' branchRevision='1.3.0.2' revisonNumber='1.3.2 startRevisionN umber='1.3'
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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?

    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

      Already have branch data: name='xxxx' branchRevision='1.3.0.2' revisonNumber='1.3.2 startRevisionN umber='1.3'

      at net.sf.statcvs.input.CvsRevisionParser.setBranchInformation()
    2. net.sf.statcvs
      CvsLogfileParser.parse
      1. net.sf.statcvs.input.CvsRevisionParser.setBranchInformation(CvsRevisionParser.java:200)
      2. net.sf.statcvs.input.CvsRevisionParser.parseRevision(CvsRevisionParser.java:167)
      3. net.sf.statcvs.input.CvsRevisionParser.parse(CvsRevisionParser.java:103)
      4. net.sf.statcvs.input.CvsFileBlockParser.parse(CvsFileBlockParser.java:115)
      5. net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:84)
      5 frames
    3. com.atlassian.jira
      AddRepository.doValidation
      1. com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.parseCvsLogs(CvsRepositoryUtilImpl.java:153)
      2. com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.testRepository(RepositoryActionSupport.java:285)
      3. com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.checkRepository(RepositoryActionSupport.java:224)
      4. com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.checkPathsAndRepository(RepositoryActionSupport.java:336)
      5. com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.validateRepositoryParameters(RepositoryActionSupport.java:309)
      6. com.atlassian.jira.web.action.admin.vcs.AddRepository.doValidation(AddRepository.java:54)
      6 frames
    4. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.validate(ActionSupport.java:373)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:150)
      2 frames
    5. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46)
      1 frame
    6. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
      1 frame
    7. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)
      1 frame