com.cenqua.fisheye.config.ConfigException: Could not access svn://localhost/ : java.lang.NullPointerException

Atlassian JIRA | Luke Yang | 5 years ago
  1. 0

    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: {code} [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 {code} 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

    Atlassian JIRA | 5 years ago | Luke Yang
    com.cenqua.fisheye.config.ConfigException: Could not access svn://localhost/ : java.lang.NullPointerException
  2. 0

    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: {code} [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 {code} 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

    Atlassian JIRA | 5 years ago | Luke Yang
    com.cenqua.fisheye.config.ConfigException: Could not access svn://localhost/ : java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    pipelined get command: java.lang.NullPointerException

    GitHub | 5 years ago | shijinkui
    java.lang.NullPointerException
  5. 0

    Response<String> throws NPE for not existed fields

    GitHub | 5 years ago | kalondar
    java.lang.NullPointerException

  1. Handemelindo 1 times, last 1 month ago
  2. RoiOtero 9 times, last 7 months ago
  3. saumitras 2 times, last 9 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.lang.String.<init>()
  2. Java RT
    String.<init>
    1. java.lang.String.<init>(String.java:593)
    1 frame
  3. org.tigris.subversion
    SVNClient.propertyGet
    1. org.tigris.subversion.javahl.SVNClient.propertyGet(SVNClient.java:2113)
    1 frame
  4. com.cenqua.fisheye
    SvnThrottledClient$5.call
    1. com.cenqua.fisheye.svn.SvnThrottledClient$5.call(SvnThrottledClient.java:161)
    2. com.cenqua.fisheye.svn.SvnThrottledClient$5.call(SvnThrottledClient.java:158)
    2 frames
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    2 frames
  6. com.cenqua.fisheye
    SvnTask.run
    1. com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:28)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:680)
    3 frames