Skip to content

Crash after installing GitLab extension #2

@jrfnl

Description

@jrfnl

Previously reported in: gitextensions/gitextensions#8757

Current behaviour

  • Installed GitExtensions on a new machine
  • Copied my previous settings over - note: previous install has no extra plugins installed other than the ones which ship with GE by default
  • Installed the GitLab plugin. The Plugin Manager closed GE for the install.
  • Reopened GE resulting in a hard crash on start-up.

After manually removing the Users\Name\AppData\Local\GitExtensions\UserPlugins\GitExtensions.GitLab folder + removing the package from the Users\Name\AppData\Local\GitExtensions\UserPlugins\packages.config file, GE starts up again as normal.

Expected behaviour

No crash

Steps to reproduce

See above and I have been able to consistently reproduce it by installing the GitLab plugin again as I forgot to take a screenshot the first time round ;-)

Screenshots

image

I also allowed the error to be send in/reported, so the error details should be in the received reports from the last hour or so. Let me know if you need any additional info to specifically identify this report.

Did this work in previous version of GitExtensions

No idea as I never installed the extension before.

Environment

  • Git Extensions 3.4.3.9999
  • Build d4b0f48bbf3e39a71f5d7ff5231be5678d4aa0f1
  • Git 2.30.0.windows.2
  • Microsoft Windows NT 10.0.19042.0
  • .NET Framework 4.8.4300.0

Diagnostics

Error Details

System.UriFormatException: Invalid URI: The URI scheme is not valid.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at GitExtensions.GitLab.GitLabPlugin.InitializeConfiguredParameters(IGitModule gitModule)
   at GitExtensions.GitLab.GitLabPlugin.Register(IGitUICommands gitUiCommands)
   at GitUI.PluginRegistry.<>c__DisplayClass12_0.<Register>b__0(IGitPlugin p)
   at System.Linq.LinqExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action)
   at GitUI.PluginRegistry.Register(IGitUICommands gitUiCommands)
   at GitUI.CommandsDialogs.FormBrowse.RegisterPlugins()
   at GitUI.CommandsDialogs.FormBrowse.<<-ctor>b__43_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitUI.ThreadHelper.<>c__DisplayClass13_0.<<FileAndForget>b__0>d.MoveNext()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions