powershell-universal icon indicating copy to clipboard operation
powershell-universal copied to clipboard

Value cannot be null. (Parameter 'name')

Open Omzig opened this issue 1 year ago • 4 comments

Version

5.0.0-beta6 (9491506309)

Severity

Low

Environment

Nested IIS

Steps to Reproduce

install current v5 beta

Expected behavior

no error in notification

Actual behavior

Error	Git Synchronization Failed	Value cannot be null. (Parameter 'name')


2024-06-13 10:07:07.503 -05:00 [ERR] Failed to sync: Value cannot be null. (Parameter 'name')    at LibGit2Sharp.Core.Ensure.ArgumentNotNull(Object argumentValue, String argumentName) in C:\actions-runner\_work\universal\universal\src\libgit2sharp\LibGit2Sharp\Core\Ensure.cs:line 24
   at LibGit2Sharp.Core.Ensure.ArgumentNotNullOrEmptyString(String argumentValue, String argumentName) in C:\actions-runner\_work\universal\universal\src\libgit2sharp\LibGit2Sharp\Core\Ensure.cs:line 50
   at LibGit2Sharp.Identity..ctor(String name, String email) in C:\actions-runner\_work\universal\universal\src\libgit2sharp\LibGit2Sharp\Identity.cs:line 21
   at UniversalAutomation.Git.GitService.Pull() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\Git\GitService.cs:line 621
   at UniversalAutomation.GitSyncService.TrySync(GitStatus status, Boolean force, GitSettings settings) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\Git\GitSyncService.cs:line 177
   at UniversalAutomation.GitSyncService.Sync(Boolean force) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\Git\GitSyncService.cs:line 89

Additional Environment data

No response

Screenshots/Animations

image

Omzig avatar Jun 13 '24 15:06 Omzig

Build

Beta7 (9637475131)

Reopen

this is still a problem

image

Omzig avatar Jul 05 '24 15:07 Omzig

This is because database isn't a valid URL. We dropped support for that in v5. We added a check for a valid URL in the UI now.

adamdriscoll avatar Jul 05 '24 20:07 adamdriscoll

This is because database isn't a valid URL. We dropped support for that in v5. We added a check for a valid URL in the UI now.

is this in beta 7?

Omzig avatar Jul 05 '24 20:07 Omzig

Yep. That's what you are seeing in #3439. There is an error under the remote input box.

adamdriscoll avatar Jul 07 '24 13:07 adamdriscoll

  • #3439 fixes it

Omzig avatar Jul 09 '24 13:07 Omzig