Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5214

Provide more detail for exception "Invalid ref name: HEAD"

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      NOS 2019-03 01
    • Story Points:
      2

      Description

      Current, when a JGit internal exception "Invalid ref name: HEAD" occurred, we don't have any valuable information about the problem:
       

      Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: HEAD
      	at org.eclipse.jgit.api.ResetCommand.call(ResetCommand.java:170)
      	at com.nuxeo.studio.core.versioning.VersioningAbstract.resetOnHead(VersioningAbstract.java:456)
      	... 99 more
      

      We need to have more detail for understanding:

      • What is the value of the Git reference, e.g. is it refs/heads/master?
      • Does the reference exist?
      • Does the reference point to an existing object id?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h