Details
-
Bug
-
Resolution: Fixed
-
Low
-
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