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

FishEye runs user-defined diff application against git repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Medium
    • N/A
    • None
    • None
    • 2.4.4 Build:20110111045701 2011-01-11

    Description

      I added a new Git repository to FishEye. After I started it, FishEye kept popping up P4Diff windows on my workstation. Looks like FishEye is calling git diff without using the --no-ext-diff option, so git is bringing up the user-configured diff application.

      Apart from being annoying, this also causes errors:

      2011-01-28 15:13:08,292 ERROR [InitialPinger1 jira-myzone] fisheye.app com.cenqua.fisheye.rep.BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo jira-myzone due to class com.cenqua.fisheye.rep.RepositoryClientException - com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: 
      com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: 
      	at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:256)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:291)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:258)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:190)
      	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85)
      	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:387)
      	at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25)
      	at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66)
      	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:129)
      	at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:119)
      	at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: 
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:161)
      	at com.atlassian.fisheye.git.GitScanner.processChanges(GitScanner.java:741)
      	at com.atlassian.fisheye.git.GitScanner.slurpCommits(GitScanner.java:714)
      	at com.atlassian.fisheye.dvcs.DvcsScanner.processBranch(DvcsScanner.java:377)
      	at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:217)
      	... 13 more
      Caused by: com.atlassian.utils.process.ProcessException: While executing: "git whatchanged --always --reverse -m --no-abbrev --no-renames 17709f03c30ebe8d53fc34c24a6f920708c0ed8a --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@"
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:196)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:179)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:159)
      	... 17 more
      Caused by: com.atlassian.utils.process.ProcessException: com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: /opt/local/bin/p4diff: line 2: 52000 Terminated              /opt/local/bin/p4merge "$2" "$5"
      external diff died, stopping at src/main/java/com/luuuis/myzone/resource/DateTZ.java.
      
      	at com.atlassian.utils.process.ExternalProcess$4.doTask(ExternalProcess.java:189)
      	at com.atlassian.utils.process.LatchedRunnable.run(LatchedRunnable.java:25)
      	... 3 more
      Caused by: com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: /opt/local/bin/p4diff: line 2: 52000 Terminated              /opt/local/bin/p4merge "$2" "$5"
      external diff died, stopping at src/main/java/com/luuuis/myzone/resource/DateTZ.java.
      
      	at com.atlassian.fisheye.git.GitScanner$1.processCommit(GitScanner.java:111)
      	at com.atlassian.fisheye.git.client.GitChangeParser.handleCommit(GitChangeParser.java:222)
      	at com.atlassian.fisheye.git.client.GitChangeParser.scanPaths(GitChangeParser.java:157)
      	at com.atlassian.fisheye.git.client.GitChangeParser.doProcessLine(GitChangeParser.java:63)
      	at com.atlassian.fisheye.dvcs.handler.DvcsLineOutputHandler.processLine(DvcsLineOutputHandler.java:19)
      	at com.atlassian.utils.process.LineOutputHandler.process(LineOutputHandler.java:45)
      	at com.atlassian.fisheye.dvcs.client.DvcsChangeParser.process(DvcsChangeParser.java:64)
      	at com.atlassian.utils.process.PluggableProcessHandler.processOutput(PluggableProcessHandler.java:34)
      	at com.atlassian.utils.process.ExternalProcess$4.doTask(ExternalProcess.java:186)
      	... 4 more
      Caused by: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: /opt/local/bin/p4diff: line 2: 52000 Terminated              /opt/local/bin/p4merge "$2" "$5"
      external diff died, stopping at src/main/java/com/luuuis/myzone/resource/DateTZ.java.
      
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:161)
      	at com.atlassian.fisheye.git.GitScanner.getDiffInfo(GitScanner.java:765)
      	at com.atlassian.fisheye.git.GitScanner.processGitCommit(GitScanner.java:375)
      	at com.atlassian.fisheye.git.GitScanner.access$100(GitScanner.java:72)
      	at com.atlassian.fisheye.git.GitScanner$1.processCommit(GitScanner.java:109)
      	... 12 more
      Caused by: com.atlassian.utils.process.ProcessException: While executing: "git diff --no-renames -a --no-abbrev --full-index 752a59b91d2eafc984de11ea00411095556c512d..41f74a122165521ce5fe73fbe12559146ecee790"
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:196)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:179)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:159)
      	... 16 more
      Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 1
      	at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83)
      	at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:224)
      	at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:267)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:207)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:189)
      	... 18 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lmiranda Luis Miranda (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: