OlexYarm commented on issue #4148: URL: https://github.com/apache/netbeans/issues/4148#issuecomment-1137470735
Hi Michael, Thanks for the quick response. I agree, there is a problem with Git clone on Windows 11. I got error below when did that. F:\GitHubRepos>git clone https://git.freebsd.org/ports.git /usr/ports Cloning into '/usr/ports'... remote: Enumerating objects: 5350190, done. remote: Counting objects: 100% (936/936), done. remote: Compressing objects: 100% (120/120), done. Receiving objects: 100% (5350190/5350190), 953.58 MiB | 16.88 MiB/s, done.9254Receiving objects: 100% (5350190/5350190), 949.39 MiB | 16.35 MiB/s Resolving deltas: 100% (3225734/3225734), done. error: invalid path 'japanese/prn/Makefile' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/' F:\GitHubRepos> And “git clone” works fine on FreeBSD. ***@***.***:~ # git clone https://git.freebsd.org/ports.git /usr/ports Cloning into '/usr/ports'... remote: Enumerating objects: 5350456, done. remote: Counting objects: 100% (936/936), done. remote: Compressing objects: 100% (120/120), done. Receiving objects: 0% (1/5350456) Receiving objects: 0% (2434/5350456), 764.01 KiB | 731.00 KiB/s … Updating files: 100% (146290/146290) Updating files: 100% (146290/146290), done. ***@***.***:~ # Anyway, what I see is a bug in NetBeans – I think it does not check for null somewhere after “git clone” and shows alert with NPE. I’ll install NetBeans on FreeBSD or Ubuntu and check it again. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows ________________________________ From: Michael Bien ***@***.***> Sent: Wednesday, May 25, 2022 6:30:46 AM To: apache/netbeans ***@***.***> Cc: OlexYarm ***@***.***>; Author ***@***.***> Subject: Re: [apache/netbeans] NPE in Git checkout (Issue #4148) I just cloned the repository you linked using NetBeans and everything worked fine on linux ==[IDE]== May 25, 2022, 12:10:48 PM Validating destination... ==[IDE]== May 25, 2022, 12:10:48 PM Validating destination... finished. ==[IDE]== May 25, 2022, 12:10:48 PM Cloning git init /mnt/ram/ports git fetch https://git.freebsd.org/ports.git +refs/heads/main:refs/remotes/origin/main Total 5312749 (delta 121665), reused 113212 (delta 113212), pack-reused 5188196 .... .... Tag : release/5.5.0 Result : NEW Branch : origin/main Old Id : null New Id : 240c20b01b8f0139ccac5d8c929e2573f06878f2 Result : NEW Tag : release/5.3.0 Result : NEW Tag : release/13.0.0 Result : NEW setting up remote: origin git branch --track main origin/main git checkout main git reset --hard main git submodule status ==[IDE]== May 25, 2022, 12:20:45 PM Cloning finished. maybe the windows filesystem doesn't support a filename or path which is in the repository? have you tried to clone the repository via command line? NetBeans 14 had some updates to git related dependencies, you could also check if the same issue occurs on 14rc4 link to RC announcement: https://lists.apache.org/thread/v70t3nsop1q3bv43xxtlsg1fngk6p0p4 — Reply to this email directly, view it on GitHub<https://github.com/apache/netbeans/issues/4148#issuecomment-1137072993>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AY5BMHBBCJANWLPWCJSW3RLVLX6NNANCNFSM5W3IYIDQ>. You are receiving this because you authored the thread.Message ID: ***@***.***> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
