geluk / pass-winmenu

An easy-to-use password manager for Windows, compatible with pass.
MIT License
385 stars 25 forks source link

Value cannot be null #50

Closed duhruh closed 4 years ago

duhruh commented 5 years ago

I'm using native-git, when trying to push or pull from the remote i get the following error

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: name
   at LibGit2Sharp.RemoteCollection.get_Item(String name) in C:\projects\libgit2sharp\LibGit2Sharp\RemoteCollection.cs:line 39
   at PassWinmenu.ExternalPrograms.Git.Fetch()
geluk commented 5 years ago

Hi, thanks for the bug report, a hard error like that is definitely not supposed to happen, so I'll look into that.

Pass-winmenu will always try to work with the branch that you're currently on. Is it possible that the branch you're on does not have a remote configured? (i.e. running git push without any additional arguments will fail due to a missing remote) If that is the case, you can resolve the issue for now by setting a remote for the branch you're on.

duhruh commented 5 years ago

@Baggykiin thanks for getting back to me! Yea when i click the option Open Shell from the task bar i can just run a git push and it pushes fine. However when trying to click the option Push to remote or Pull from remote i get this error

duhruh commented 5 years ago

If it helps here are my specs:

geluk commented 4 years ago

This should be fixed in v1.10. Let me know if that's not the case, and I'll reopen this.