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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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'

    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