Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2659

org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name is not allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.0
    • None
    • versioncontrol - Git
    • None
    • debian / java 8/9

    Description

      On first attempt

      Git -> Branch/Tag -> switch to branch

      INFO [org.netbeans.modules.git]: org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name is not allowed
      org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name is not allowed
      at org.eclipse.jgit.api.CreateBranchCommand.processOptions(CreateBranchCommand.java:297)
      at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:126)
      at org.netbeans.libs.git.jgit.commands.CreateBranchCommand.run(CreateBranchCommand.java:74)
      Caused: org.netbeans.libs.git.GitException
      at org.netbeans.libs.git.jgit.commands.CreateBranchCommand.run(CreateBranchCommand.java:82)
      at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:57)
      at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:54)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:54)
      at org.netbeans.libs.git.GitClient.createBranch(GitClient.java:508)
      at org.netbeans.modules.git.client.GitClient$11.call(GitClient.java:318)
      at org.netbeans.modules.git.client.GitClient$11.call(GitClient.java:314)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:933)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:956)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:968)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:893)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:875)
      at org.netbeans.modules.git.client.GitClient$CommandInvoker.access$400(GitClient.java:869)
      at org.netbeans.modules.git.client.GitClient.createBranch(GitClient.java:314)
      [catch] at org.netbeans.modules.git.ui.checkout.AbstractCheckoutAction$1.perform(AbstractCheckoutAction.java:101)
      at org.netbeans.modules.git.client.GitProgressSupport.performIntern(GitProgressSupport.java:92)
      at org.netbeans.modules.git.client.GitProgressSupport.run(GitProgressSupport.java:85)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      

       

      Attachments

        1. image-2019-06-11-06-52-07-989.png
          7 kB
          Vítězslav Dvořák
        2. Checkout as new branch bug.png
          21 kB
          David Mann

        Activity

          People

            Unassigned Unassigned
            vitex Vítězslav Dvořák
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: