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

Directory Scanning Plugin (aka repositron) fails on subversion 1.8 repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.7.0
    • Component/s: None
    • Labels:

      Description

      Reported in https://jira.atlassian.com/browse/FE-4709?focusedCommentId=644005&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-644005
      I've checked locally on FeCru 3.6.0 snapshot with repositron-1.0.7-SNAPSHOT version and svn repository created with svn 1.8.5 (r1542147).
      It fails indeed with the exception:

         [java] svn: Unable to open repository 'file:///Users/piotrs/dev/fe-git/output/tmp/repos/svn_18_repo'     [java] svn: Expected FS format between '1' and '4'; found format '6'     [java]
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)     [java]
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)     [java]
      at org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:746)     [java]
      at org.tmatesoft.svn.core.internal.io.fs.FSRepository.checkPath(FSRepository.java:191)     [java]
      at com.atlassian.fisheye.repositron.jobs.SVNJob.validate(SVNJob.java:67)     [java]
      at com.atlassian.fisheye.repositron.jobs.AutoDetectionJob$1.perform(AutoDetectionJob.java:83)     [java]
      at com.atlassian.crucible.spi.impl.DefaultImpersonationService.doPrivilegedAction(DefaultImpersonationService.java:71)     [java]
      at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)     [java]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java]
      at java.lang.reflect.Method.invoke(Method.java:606)     [java]
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)     [java]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)     [java]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)     [java]
      at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)     [java]
      at com.cenqua.crucible.hibernate.WithSessionAspect.doCloseSession(WithSessionAspect.java:37)     [java]
      at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)     [java]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java]
      at java.lang.reflect.Method.invoke(Method.java:606)     [java]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)     [java]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)     [java]
      at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)     [java]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)     [java]
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)     [java]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)     [java]
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)     [java]
      at com.sun.proxy.$Proxy62.doPrivilegedAction(Unknown Source)     [java]
      at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)     [java]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java]
      at java.lang.reflect.Method.invoke(Method.java:606)     [java]
      at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)     [java]
      at com.sun.proxy.$Proxy134.doPrivilegedAction(Unknown Source)     [java]
      at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)     [java]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java]
      at java.lang.reflect.Method.invoke(Method.java:606)     [java]
      at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)     [java]
      at com.sun.proxy.$Proxy134.doPrivilegedAction(Unknown Source)     [java]
      at com.atlassian.fisheye.repositron.jobs.AutoDetectionJob.execute(AutoDetectionJob.java:55)     [java]
      at com.atlassian.sal.core.scheduling.TimerPluginScheduler$PluginTimerTask.run(TimerPluginScheduler.java:89)     [java]
      at java.util.TimerThread.mainLoop(Timer.java:555)     [java]
      at java.util.TimerThread.run(Timer.java:505)
      

      and the following info message is logged in the log:

      2014-09-17 08:17:58,457 INFO  [PluginSchedulerTask-/Users/piotrs/dev/fe-git/output/tmp/repos ] fisheye.app AutoDetectionJob$1-perform - Failed to add svn_18_repo as a repository to fisheye from configured directory /Users/piotrs/dev/fe-git/output/tmp/repos
      

      Workaround

      As a workaround for now please add svn 1.8 repositories manually to your fisheye instance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jbronczyk Jerzy Bronczyk (Inactive)
              Reporter:
              pswiecicki Piotr Swiecicki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.85h
                  0.85h