Need to support SVN 1.7 with Native Client via JavaHL

XMLWordPrintable

      Hi

      This is Luke from Korean partner, Goldpitcher.
      We are reported with SVN 1.7 support issue from customer.

      We already know that Fisheye 2.7.x does not support 1.7 until now.
      But unfortunately, we found that neither for native svn client via javahl.

      We recognized javahl 1.7 is much different from 1.6.x. For example, classpath was changed from org.tigris.subversion.javahl to org.apache.subverion.javahl in 1.7.1 javahl and SVNClientInterface class is not in 1.7.1 javahl.

      We hope it is supported soon.

      Cheers,
      Luke

      The native svn JavaHL 1.7 client fails with the following error:

      [java] 2012-11-30 14:00:54,809 ERROR - Unable to initialise repository checkstyle due to com.cenqua.fisheye.config.ConfigException:Could not access svn://localhost/ : java.lang.NullPointerException
           [java] com.cenqua.fisheye.config.ConfigException: Could not access svn://localhost/ : java.lang.NullPointerException
           [java] 	at com.cenqua.fisheye.svn.SvnRepositoryTester.pingAndValidateAccess(SvnRepositoryTester.java:156)
           [java] 	at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateAccess(SvnRepositoryScanner.java:353)
           [java] 	at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepository(SvnRepositoryScanner.java:265)
           [java] 	at com.cenqua.fisheye.rep.BaseRepositoryScanner.startRepository(BaseRepositoryScanner.java:430)
           [java] 	at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:217)
           [java] 	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)
           [java] 	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
           [java] 	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:383)
           [java] 	at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
           [java] 	at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
           [java] 	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
           [java] 	at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
           [java] 	at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
           [java] 	at java.lang.Thread.run(Thread.java:680)
           [java] Caused by: com.cenqua.fisheye.rep.RepositoryClientException: java.lang.NullPointerException
           [java] 	at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:116)
           [java] 	at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:95)
           [java] 	at com.cenqua.fisheye.svn.SvnThrottledClient.propertyGet(SvnThrottledClient.java:157)
           [java] 	at com.cenqua.fisheye.svn.SvnRepositoryTester.pingAndValidateAccess(SvnRepositoryTester.java:144)
           [java] 	... 15 more
           [java] Caused by: java.lang.NullPointerException
           [java] 	at java.lang.String.<init>(String.java:593)
           [java] 	at org.tigris.subversion.javahl.SVNClient.propertyGet(SVNClient.java:2113)
           [java] 	at com.cenqua.fisheye.svn.SvnThrottledClient$5.call(SvnThrottledClient.java:161)
           [java] 	at com.cenqua.fisheye.svn.SvnThrottledClient$5.call(SvnThrottledClient.java:158)
           [java] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
           [java] 	at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:28)
           [java] 	... 3 more
      

      To work-around this for now:

      • use the SVNKit Java SVN implementation (on by default in FishEye)
      • if you must use a native implementation (really need to understand exactly why you would) then use the JavaHL 1.6 version
      • it is not possible currently to use a native svn 1.7 client library in FishEye

            Assignee:
            Conor (Inactive)
            Reporter:
            Luke Yang
            Votes:
            18 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 52m
                52m