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

[Bug] "Unable to resolve type: Slithin.ViewModels.FirstStartViewModel" #149

Closed
orsinium opened this issue Apr 27, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@orsinium
Copy link

Describe the bug

When starting slithin 1.0.13.0, a terminal window shows for a second, flashes a stack trace, and closes. This is the output that it showes:

Unhandled exception. Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.ViewModels.FirstStartViewModel
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.ViewModels.FirstStartViewModel
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.ViewModels.Pages.SettingsPageViewModel
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.ViewModels.Pages.SettingsPageViewModel
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.Core.Remarkable.Xochitl
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Slithin.Core.Remarkable.Xochitl
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Renci.SshNet.ScpClient
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: Renci.SshNet.ConnectionInfo
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: System.String
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: System.ReadOnlySpan`1[[System.Char, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
 ---> Slithin.Core.TinyIoCResolutionException: Unable to resolve type: System.Char[]
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at System.Collections.Generic.Dictionary`2.ContainsKey(TKey key)
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4256
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4036
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4036
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4036
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4036
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4036
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2963
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2967
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 3940
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2963
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2967
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 3940
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4240
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 4252
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2963
   --- End of inner exception stack trace ---
   at Slithin.Core.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2967
   at Slithin.Core.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 3940
   at Slithin.Core.TinyIoCContainer.Resolve(Type resolveType) in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 1929
   at Slithin.Core.TinyIoCContainer.Resolve[ResolveType]() in /home/runner/work/Slithin/Slithin/Source/Slithin/Core/TinyIOC.cs:line 2048
   at Slithin.UI.Views.FirstStartWindow.InitializeComponent() in /home/runner/work/Slithin/Slithin/Source/Slithin/UI/Views/FirstStartWindow.axaml.cs:line 25
   at Slithin.App.OnFrameworkInitializationCompleted() in /home/runner/work/Slithin/Slithin/Source/Slithin/App.axaml.cs:line 26
   at Avalonia.Controls.AppBuilderBase`1.Setup() in /_/src/Avalonia.Controls/AppBuilderBase.cs:line 308
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 208
   at Slithin.Program.Main(String[] args) in /home/runner/work/Slithin/Slithin/Source/Slithin/Program.cs:line 21

Desktop (please complete the following information):

  • OS: Windows 10 x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants