Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitExtensions 2.50.01 gives System.NullReferenceException at start #3855

Closed
TutConner opened this issue Jul 15, 2017 · 10 comments
Closed

GitExtensions 2.50.01 gives System.NullReferenceException at start #3855

TutConner opened this issue Jul 15, 2017 · 10 comments

Comments

@TutConner
Copy link

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?

The problem I have is somewhat similar to closed issue 3806, but it is happening to me with GitExtensions version 2.50.01 which fixed 3806.

Every time I start GitExtensions, I get the System.NullReferenceException error shown in the attached screen captures. This error only allows me to Quit or Quit and Send (which I have done), so I can't use GitExtensions unless I downgrade to 2.49.03.

gitextensions error

gitextensions error 2

Which versions of GitExtensions, GIT and Windows are affected by this issue? Did this work in previous versions of our tool?

GitExtensions version 2.50.01; GIT version 2.13.2 and 2.13.3 (the only ones I have tried); Windows 10; Visual Studio 2017 (if that matters).

This started happening when I upgraded GitExtensions to version 2.50.01. It did not happen with version 2.49.03. If I uninstall 2.50.01 and install 2.49.03, everything works fine. If I then upgrade to 2.50.01, the problem returns.

@RussKie
Copy link
Member

RussKie commented Jul 16, 2017

Please post the full stack trace

@TutConner
Copy link
Author

How do I create a stack trace?

FYI, the problem occurs immediately on program start, before showing the user interface.

@RussKie
Copy link
Member

RussKie commented Jul 19, 2017

The stack trace can be copied form "Stack trace" field (2nd from the bottom on your screenshot)

@RussKie
Copy link
Member

RussKie commented Jul 19, 2017

Have you had any previous versions installed or it is a brand new fresh install of GE?

@RussKie
Copy link
Member

RussKie commented Jul 19, 2017

Looks related to #3845

@RussKie
Copy link
Member

RussKie commented Jul 19, 2017

@TutConner try deleting SerializedHotkeys value from your config file and see if it helps.
#3845 (comment)
#3845 (comment)

@TutConner
Copy link
Author

I previously had version 2.49.03, which worked fine.

I'm not sure what file is supposed to contain SerializedHotkeys. I did not see it in my user.config file or in GitExtensions.exe.config.

The Stack Trace is:
at GitUI.Hotkey.HotkeySettingsManager.AssignKotkeysFromLoaded(Dictionary`2 defaultCommands, HotkeySettings[] loadedSettings)
at GitUI.Hotkey.HotkeySettingsManager.LoadSettings()
at GitUI.Hotkey.HotkeySettingsManager.LoadHotkeys(String name)
at GitUI.CommandsDialogs.FormBrowse..ctor(GitUICommands aCommands, String filter)
at GitUI.CommandsDialogs.FormBrowse..ctor(GitUICommands aCommands, String filter, String selectCommit)
at GitUI.GitUICommands.StartBrowseDialog(IWin32Window owner, String filter, String selectedCommit)
at GitUI.GitUICommands.StartBrowseDialog()
at GitExtensions.Program.Main()

@RussKie
Copy link
Member

RussKie commented Aug 3, 2017

@TutConner does it happen when you are opening via the shortcut (i.e. not opening a particular repository) or for a specific repository?

@jbialobr jbialobr added this to the 2.50.02 milestone Aug 4, 2017
@TutConner
Copy link
Author

I was able to get it working by uninstalling GitExtensions, deleting the GitExtensions folders in AppData\Local and AppData\Roaming, installing GitExtensions 2.50.01, and configuring GitExtensions the way it was before.

@RussKie
Copy link
Member

RussKie commented Aug 6, 2017

Good to know you got it sorted.
Pity we could not learn and fix the cause of the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants