Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4364

REST calls to /rest-service/repositories-v1/ and /rest-service-fe/repositories-v1/ fail when there are ClearCase repositories configured

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.9.1
    • 2.8.0, 2.9.0
    • None
    • None

    Description

      If running with -Dfisheye.clearcase.disable=true and ClearCase repositories configured attempts to call the repositories-v1 endpoints will fail with a 'ClearCase is no longer supported' message and a stacktrace similar to:

      java.lang.IllegalArgumentException: ClearCase is no longer supported. 
      at com.cenqua.fisheye.ScmType$5.getRepositoryData(ScmType.java:71)
      at com.atlassian.crucible.spi.impl.DefaultRepositoryService.createRepositoryData(DefaultRepositoryService.java:133)
      at com.atlassian.crucible.spi.impl.DefaultRepositoryService.getRepositories(DefaultRepositoryService.java:62)
      

      or

      java.lang.IllegalArgumentException: ClearCase is no longer supported. 
      at com.atlassian.fisheye.spi.impl.RepositoryDataFactory.fromHandle(RepositoryDataFactory.java:48) 
      at com.atlassian.crucible.spi.impl.DefaultSPIUtils.createRepositoryDataFEFrom(DefaultSPIUtils.java:77) 
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      Workaround

      The recommended and fastest way to work around this issue is to simply delete all Clear Case repositories. This can be done via the ADMIN UI

      Attachments

        Activity

          People

            Unassigned Unassigned
            lpater Lukasz Pater
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: