Repository navigation
Closed
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10.0.90s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working
Milestone
Description
Description
Hi,
After upgrading to MAUI 10.0.90, when navigating to some screens (not all of them though), there is an exception immediately when InitializeComponent is called
Thanks.
PS : I couldn't set the version with issue as 10.0.90 isn't in the list yet.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
10.0.90
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
10.0.80
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
Rollback to version 10.0.80
Relevant log output
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Maui.Controls.BindableObject.ApplyBindings(Boolean fromBindingContextChanged) in /_/src/Controls/src/Core/BindableObject.cs:line 712
at Microsoft.Maui.Controls.BindableObject.SetInheritedBindingContext(BindableObject bindable, Object value) in /_/src/Controls/src/Core/BindableObject.cs:line 379
at Microsoft.Maui.Controls.Element.SetChildInheritedBindingContext(Element child, Object context) in /_/src/Controls/src/Core/Element/Element.cs:line 868
at Microsoft.Maui.Controls.Element.SetLogicalChildBindingContext(BindableObject child, Object bc) in /_/src/Controls/src/Core/Element/Element.cs:line 653
at Microsoft.Maui.Controls.BindableObjectExtensions.PropagateBindingContext[Element](BindableObject self, IEnumerable`1 children, Action`2 setChildBindingContext) in /_/src/Controls/src/Core/BindableObjectExtensions.cs:line 48
at Microsoft.Maui.Controls.Element.OnBindingContextChanged() in /_/src/Controls/src/Core/Element/Element.cs:line 637
at Microsoft.Maui.Controls.VisualElement.OnBindingContextChanged() in /_/src/Controls/src/Core/VisualElement/VisualElement.cs:line 1370
at Microsoft.Maui.Controls.View.OnBindingContextChanged() in /_/src/Controls/src/Core/View/View.cs:line 268
at Microsoft.Maui.Controls.Grid.OnBindingContextChanged() in /_/src/Controls/src/Core/Layout/Grid.cs:line 435
at Microsoft.Maui.Controls.BindableObject.SetInheritedBindingContext(BindableObject bindable, Object value) in /_/src/Controls/src/Core/BindableObject.cs:line 380
at Microsoft.Maui.Controls.TemplateUtilities.OnContentChanged(BindableObject bindable, Object oldValue, Object newValue) in /_/src/Controls/src/Core/TemplateUtilities.cs:line 94
at Microsoft.Maui.Controls.BindableObject.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean didChange, Boolean willFirePropertyChanged) in /_/src/Controls/src/Core/BindableObject.cs:line 701
at Microsoft.Maui.Controls.Element.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean changed, Boolean willFirePropertyChanged) in /_/src/Controls/src/Core/Element/Element.cs:line 709
at Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, Boolean silent) in /_/src/Controls/src/Core/BindableObject.cs:line 688
at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes, SetterSpecificity specificity) in /_/src/Controls/src/Core/BindableObject.cs:line 616
at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value) in /_/src/Controls/src/Core/BindableObject.cs:line 521
at NDC.Mobile.Views.RfidEggCollection.RfidEggCollectionInput.InitializeComponent() in C:\Users\MyUser\Desktop\Git\MyProject.Mobile\obj\Debug\net10.0-android\Microsoft.Maui.Controls.SourceGen\Microsoft.Maui.Controls.SourceGen.XamlGenerator\Views_RfidEggCollection_RfidEggCollectionInput.xaml.xsg.cs:line 1169
at NDC.Mobile.Views.RfidEggCollection.RfidEggCollectionInput..ctor(RfidEggCollectionInputViewModel viewModel, IServiceProvider provider) in C:\Users\MyUser\Desktop\Git\MyProject.Mobile\Views\RfidEggCollection\RfidEggCollectionInput.xaml.cs:line 18
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSiteMain(ServiceCallSite callSite, RuntimeResolverContext argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Extensions.DependencyInjection, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60],[System.Object, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].VisitCallSite(ServiceCallSite callSite, RuntimeResolverContext argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeServiceProviderEngine.<>c__DisplayClass4_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Maui.MauiContext.WrappedServiceProvider.GetService(Type serviceType) in /_/src/Core/src/MauiContext.cs:line 87
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type)
at Microsoft.Maui.Controls.Routing.TypeRouteFactory.GetOrCreate(IServiceProvider services) in /_/src/Controls/src/Core/Routing.cs:line 336
at Microsoft.Maui.Controls.Routing.GetOrCreateContent(String route, IServiceProvider services) in /_/src/Controls/src/Core/Routing.cs:line 169
at Microsoft.Maui.Controls.ShellSection.GetOrCreateFromRoute(String route, ShellRouteParameters queryData, IServiceProvider services, Boolean isLast, Boolean isPopping) in /_/src/Controls/src/Core/Shell/ShellSection.cs:line 511
at Microsoft.Maui.Controls.ShellSection.GoToAsync(ShellNavigationRequest request, ShellRouteParameters queryData, IServiceProvider services, Nullable`1 animate, Boolean isRelativePopping) in /_/src/Controls/src/Core/Shell/ShellSection.cs:line 552
at Microsoft.Maui.Controls.ShellNavigationManager.GoToAsync(ShellNavigationParameters shellNavigationParameters, ShellNavigationRequest navigationRequest) in /_/src/Controls/src/Core/Shell/ShellNavigationManager.cs:line 196
at NDC.Mobile.Navigation.NavigationService.<>c__DisplayClass5_0.<<NavigateToAsync>b__0>d.MoveNext() in C:\Users\MyUser\Desktop\Git\MyProject.Mobile\Navigation\NavigationService.cs:line 29
--- End of stack trace from previous location ---
at NDC.Mobile.Navigation.NavigationService.NavigateToAsync(String route, IDictionary`2 routeParameters) in C:\Users\MyUser\Desktop\Git\MyProject.Mobile\Navigation\NavigationService.cs:line 25Reacted by dan14749, BenMatt, Stephen Quan and Greg De Stigter
Reacted by Atanas Popatanasov
Metadata
Metadata
Assignees
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10.0.90s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working
Activity
LogishaSelvarajSF4525 commentedon Jul 23, 2026
This issue has been validated in Visual Studio Code 1.130.0 with .NET MAUI versions 10.0.80 & 10.0.90. It cannot be reproducible on Android(API 34 & API 30) platform.Here I attached the sample & reference video: MauiAppCrash 1.zip
Screen.Recording.2026-07-23.at.5.14.55.PM.mov
@LeDahu22 I created a sample based on the information provided in the issue report, but I was unable to reproduce the issue on Android platform. Could you please provide a reproduction sample or modify the sample shared above so that the issue can be reproduced? This will help us investigate the issue further.
LeDahu22 commentedon Jul 27, 2026
Here is a repro project base on the one you created : GitHub
I managed to isolate the culprit : if you comment both Telerik RadGridView in FailingPage.xaml, it won't crash.
This was working in 10.0.80.
dan14749 commentedon Aug 4, 2026
This also affects us, it can be easily reproduced by increasing the maui version to 10.0.90 and using the telerik samples app "RadDataGrid" from https://github.com/telerik/maui-samples/tree/main by opening any data grid page.
TamilarasanSF4853 commentedon Aug 4, 2026
This issue has been validated in Visual Studio Code 1.131.0 with .NET MAUI versions 10.0.80 and 10.0.90. It can be reproduced on 10.0.90 on the Android platform.
Fix NullReferenceException in ApplyBindings when DefaultValueCreator …
Fix NullReferenceException in ApplyBindings when DefaultValueCreator …
LeDahu22 commentedon Aug 21, 2026
@kubaflo Version SR10 seems to fix the issue. Is there any reason for the SR11 milestone ?
kubaflo commentedon Aug 21, 2026
@LeDahu22 thanks for letting me know! This was probably the automation fault - closing it then