Discussions

Ask a Question

Exception with GeneratedBootstrapCode

Hello, I am getting an Exception, after switching to GeneratedBootstrapCode, as described in "Startup Performance Tuning". What cound be the reason? 10-21 18:54:46.931 E/MugenMvvmApp(25040): Error: Value cannot be null. 10-21 18:54:46.931 E/MugenMvvmApp(25040): Parameter name: memberProvider 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Should.NotBeNull (System.Object argumentValue, System.String paramName) [0x00003] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Core(NetStandard)\Should.cs:40 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Binding.BindingExtensions.Register[TTarget,TType] (MugenMvvmToolkit.Binding.Interfaces.IBindingMemberProvider memberProvider, System.String path, MugenMvvmToolkit.Binding.Interfaces.Models.IAttachedBindingMemberInfo`2[TTarget,TType] member, System.Boolean rewrite) [0x00000] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Binding(NetStandard)\Extensions\BindingExtensions.cs:362 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Binding.BindingExtensions.Register[TTarget,TType] (MugenMvvmToolkit.Binding.Interfaces.IBindingMemberProvider memberProvider, MugenMvvmToolkit.Binding.Interfaces.Models.IAttachedBindingMemberInfo`2[TTarget,TType] member, System.Boolean rewrite) [0x00000] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Binding(NetStandard)\Extensions\BindingExtensions.cs:355 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Binding.BindingBuilderExtensions.RegisterDefaultBindingMember[TType] (System.String member) [0x0001d] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Binding(NetStandard)\Extensions\BindingBuilderExtensions.cs:558 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Binding.BindingBuilderExtensions.RegisterDefaultBindingMember[TType,TValue] (MugenMvvmToolkit.Binding.Models.BindingMemberDescriptor`2[TSource,TValue] member) [0x00000] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Binding(NetStandard)\Extensions\BindingBuilderExtensions.cs:570 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Android.Binding.AttachedMembersRegistration.RegisterPreferenceMembers () [0x00000] in D:\src\OpenSource\github\mugenmvvmtoolkit\Platforms\MugenMvvmToolkit.Android\Binding\PreferenceAttachedMembersRegistration.cs:81 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Android.Modules.PreferenceInitializationModule.Load (MugenMvvmToolkit.Interfaces.Models.IModuleContext context) [0x00063] in D:\src\OpenSource\github\mugenmvvmtoolkit\Platforms\MugenMvvmToolkit.Android\Modules\PreferenceInitializationModule.cs:143 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenTest.GeneratedBootstrapCode.LoadModulesGenerated (MugenMvvmToolkit.Interfaces.Models.IModuleContext context) [0x00031] in C:\Users\User1\Documents\Projekte\Mobi\Mobi\MugenTest\GeneratedBootstrapCode.cs:41 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenTest.GeneratedBootstrapCode.PrecompiledBoot (MugenMvvmToolkit.Interfaces.Models.IModuleContext context) [0x0000d] in C:\Users\User1\Documents\Projekte\Mobi\Mobi\MugenTest\GeneratedBootstrapCode.cs:237 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenTest.App.LoadModules (System.Collections.Generic.IList`1[T] assemblies) [0x00018] in C:\Users\User1\Documents\Projekte\Mobi\Mobi\MugenTest\App.cs:24 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.MvvmApplication.OnInitialize (System.Collections.Generic.IList`1[T] assemblies) [0x00000] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Core(NetStandard)\MvvmApplication.cs:94 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.MvvmApplication.Initialize (MugenMvvmToolkit.Models.PlatformInfo platformInfo, MugenMvvmToolkit.Interfaces.IIocContainer iocContainer, System.Collections.Generic.IList`1[T] assemblies, MugenMvvmToolkit.Interfaces.Models.IDataContext context) [0x0005d] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Core(NetStandard)\MvvmApplication.cs:153 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Infrastructure.BootstrapperBase.InitializeInternal () [0x00042] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Core(NetStandard)\Infrastructure\BootstrapperBase.cs:106 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Android.Infrastructure.AndroidBootstrapperBase.InitializeInternal () [0x00006] in D:\src\OpenSource\github\mugenmvvmtoolkit\Platforms\MugenMvvmToolkit.Android\Infrastructure\AndroidBootstrapperBase.cs:190 10-21 18:54:46.931 E/MugenMvvmApp(25040): at MugenMvvmToolkit.Infrastructure.BootstrapperBase.Initialize () [0x00038] in D:\src\OpenSource\github\mugenmvvmtoolkit\Core\MugenMvvmToolkit.Core(NetStandard)\Infrastructure\BootstrapperBase.cs:87 10-21 18:54:46.931 E/MugenMvvmApp(25040): at Mugen