GitForce
GitForce copied to clipboard
Ubuntu 20.04: unhandled exception
Hi folks,
GitForce.exe builded without any problems on Ubuntu 20.04 but can't start it.
`~/Projects/OSS/GitForce/bin/Release$ mono GitForce.exe
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at GitForce.ClassWinGeometry.LoadGeometryDatabase () [0x0000b] in
Curious which mono version Ubuntu 20.04 is using. I will try it this weekend.
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug Interpreter: yes LLVM: supported, not enabled. Suspend: hybrid GC: sgen (concurrent by default)
I installed a fresh Ubuntu 20.04 LTS and then the minimum necessary prerequisites (git, meld, mono-complete). Run the released Gitforce.exe (downloaded from SourceForge) with no problems (image attached). Then I rebuilt it on that Ubunutu and run that one, also without any issues. Try the released binary instead of building it? Not sure what else could be the problem, but it's likely something with your mono setup.
I'll try it with the Release from sourceforge. I'm using this machine for .NET Core development with the latest 3.x. Can you try to install .NET Core SDK on your machine and try it again? Maybe this is the main problem.
I am having exactly the same error but with RHEL 7.9. Was there a resolution to this issue? I tried both building from source and the prebuilt (earlier) version 1.0.57. Both run fine on my Windows machine.
Hello everyone. I have same issue with @TimurZanagar.
Reproduce problem :
- git clone from source : https://github.com/gdevic/GitForce
- Tried the step Running GitForce.exe on Linux (and other Mono) environments
- After build then go to bin/Release and run
./GitForce.exe
or
mono GitForce.exe
then i get error
FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
Temporary Solution : If you want use GitForce.exe running in ubuntu.
- Download from GitForce release
- chmod +x GitForce.exe
- running using
./GitForce.exe
or
mono GitForce.exe
Thanks to @gdevic for screnshoot