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

NPE when scanning git repo trying to read commit date:

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 2.4.1
    • 2.3.2
    • None

    Description

      java.lang.NullPointerException
      	at com.atlassian.fisheye.git.GitScanner.createRevInfo(GitScanner.java:508)
      	at com.atlassian.fisheye.git.GitScanner.processModification(GitScanner.java:418)
      	at com.atlassian.fisheye.git.GitScanner.processGitCommit(GitScanner.java:349)
      	at com.atlassian.fisheye.git.GitScanner.access$000(GitScanner.java:67)
      	at com.atlassian.fisheye.git.GitScanner$1.processCommit(GitScanner.java:87)
      	at com.atlassian.fisheye.git.client.GitChangeParser.handleCommit(GitChangeParser.java:226)
      	at com.atlassian.fisheye.git.client.GitChangeParser.doComplete(GitChangeParser.java:222)
      	at com.atlassian.fisheye.dvcs.handler.DvcsLineOutputHandler.complete(DvcsLineOutputHandler.java:28)
      	at com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:56)
      	at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.finish(ExternalProcess.java:204)
      	at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.execute(ExternalProcess.java:218)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:183)
      	at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:167)

      The problem is the commits did not have a date in the repository:

      C:d08ecedfc3dbeb2d130d5d22d4dfd2c9ec3d25d3
      P:fd112fe2ae3f39d7a109f5729f53c4d57d74f889
      A:Andrew
      R:Andrew 
      D:
      S:test
      B:
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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