OlexYarm opened a new issue, #4148: URL: https://github.com/apache/netbeans/issues/4148
### Apache NetBeans version Apache NetBeans 13 ### What happened java.lang.NullPointerException on Git checkout. ### How to reproduce 1) I cloned FreeBSD Port Git Repository from https://git.freebsd.org/ports.git. The Git clone finished with error below: Commit 8363a8c281d18d4ecc0ca898d5a93fa2e2aba02d cannot be checked out because an invalid file name in one of the files. Please remove the file from repository with an external tool and try again. Invalid path: japanese/prn 2) I tried to run Git checkout from NetBeans Git Repository Browser and got NPE: java.lang.NullPointerException: Cannot invoke "org.netbeans.libs.git.GitBranch.getName()" because "branch" is null at org.netbeans.modules.git.ui.checkout.AbstractCheckoutAction$1.log(AbstractCheckoutAction.java:175) at org.netbeans.modules.git.ui.checkout.AbstractCheckoutAction$1.perform(AbstractCheckoutAction.java:102) 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) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) 3) I could not send issue report because it was no "submit" or "send" button anywhere. 4) I closed NetBeans, open it again and did not see cloned Git repository in Git Repository Browser. ### Did this work correctly in an earlier version? No ### Operating System Windows 11 ### JDK Microsoft build OpenJDK with Hotspot 17.0.3+7 (x64) (microsoft-jdk-17.0.3-windows-x64.msi) ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists