Java runtime exception when releasing to google play store

solomon mokoena 0 Reputation points
2024-09-01T05:15:59.65+00:00

Good day, I currently have a .NET MAUI app on review on the google play store platform, The review returned with the following error... kindlt point me as to what i should be looking at ...thank you Exception android.runtime.JavaProxyThrowable: System.ObjectDisposedException: ObjectDisposed_Generic

ObjectDisposed_ObjectName_Name, Microsoft.Maui.Platform.MauiSearchView

at Java.Interop.JniPeerMembers.AssertSelf(IJavaPeerable )

at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod(String , IJavaPeerable , JniArgumentValue* )

at AndroidX.AppCompat.Widget.SearchView.SetOnQueryTextFocusChangeListener(IOnFocusChangeListener )

at Microsoft.Maui.Handlers.SearchBarHandler.DisconnectHandler(SearchView platformView)

at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ISearchBar, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[AndroidX.AppCompat.Widget.SearchView, Xamarin.AndroidX.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].OnDisconnectHandler(View platformView)

at Microsoft.Maui.Handlers.ViewHandler.OnDisconnectHandler(Object platformView)

at Microsoft.Maui.Handlers.ElementHandler.DisconnectHandler(Object platformView)

at Microsoft.Maui.Handlers.ElementHandler.Microsoft.Maui.IElementHandler.DisconnectHandler()

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.UpdateContent()

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.<>c.<.cctor>b__67_6(FrameRenderer h, Frame _)

at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)

at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer1[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view, IPlatformViewHandler nativeViewHandler, Action1 onElementChanged, Frame& currentVirtualView, IPropertyMapper& _mapper, IPropertyMapper _defaultMapper, Boolean autoPackage)

at Microsoft.Maui.Controls.Handlers.Compatibility.ViewHandlerDelegator1[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view, Action1 onElementChanged, Boolean autoPackage)

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.Microsoft.Maui.IElementHandler.SetVirtualView(IElement view)

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)

at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)

at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.UpdateContent()

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.<>c.<.cctor>b__67_6(FrameRenderer h, Frame _)

at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)

at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer1[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view, IPlatformViewHandler nativeViewHandler, Action1 onElementChanged, Frame& currentVirtualView, IPropertyMapper& _mapper, IPropertyMapper _defaultMapper, Boolean autoPackage)

at Microsoft.Maui.Controls.Handlers.Compatibility.ViewHandlerDelegator1[[Microsoft.Maui.Controls.Frame, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view, Action1 onElementChanged, Boolean autoPackage)

at Microsoft.Maui.Controls.Handlers.Compatibility.FrameRenderer.Microsoft.Maui.IElementHandler.SetVirtualView(IElement view)

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)

at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)

at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)

at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler)

at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page)

at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)

at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)

at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)

at Microsoft.Maui.Handlers.ViewHandler.SetVirtualView(IElement element)

at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view)

at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view)

at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)

at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)

at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)

at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)

at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)

at Microsoft.Maui.Platform.ViewExtensions.ToHandler(IView view, IMauiContext context)

at Microsoft.Maui.Controls.Platform.Compatibility.ShellFragmentContainer.OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

at AndroidX.Fragment.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_(IntPtr , IntPtr , IntPtr , IntPtr , IntPtr )

at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPLLL_L(_JniMarshal_PPLLL_L , IntPtr , IntPtr , IntPtr , IntPtr , IntPtr )

at crc640ec207abc449b2ca.ShellFragmentContainer.n_onCreateView

at crc640ec207abc449b2ca.ShellFragmentContainer.onCreateView (ShellFragmentContainer.java:41)

at androidx.fragment.app.Fragment.performCreateView (Fragment.java:3104)

at androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:524)

at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:261)

at androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1899)

at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1817)

at androidx.fragment.app.FragmentManager.execSingleAction (FragmentManager.java:1729)

at androidx.fragment.app.BackStackRecord.commitNow (BackStackRecord.java:317)

at androidx.viewpager2.adapter.FragmentStateAdapter.placeFragmentInViewHolder (FragmentStateAdapter.java:341)

at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow (FragmentStateAdapter.java:276)

at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow (FragmentStateAdapter.java:67)

at androidx.recyclerview.widget.RecyclerView.dispatchChildAttached (RecyclerView.java:7867)

at androidx.recyclerview.widget.RecyclerView$5.addView (RecyclerView.java:893)

at androidx.recyclerview.widget.ChildHelper.addView (ChildHelper.java:107)

at androidx.recyclerview.widget.RecyclerView$LayoutManager.addViewInt (RecyclerView.java:8902)

at androidx.recyclerview.widget.RecyclerView$LayoutManager.addView (RecyclerView.java:8860)

at androidx.recyclerview.widget.RecyclerView$LayoutManager.addView (RecyclerView.java:8848)

at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1645)

at androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1591)

at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:668)

at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4309)

at androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4012)

at androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4578)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at androidx.viewpager2.widget.ViewPager2.onLayout (ViewPager2.java:527)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at com.google.android.material.appbar.HeaderScrollingViewBehavior.layoutChild (HeaderScrollingViewBehavior.java:149)

at com.google.android.material.appbar.ViewOffsetBehavior.onLayoutChild (ViewOffsetBehavior.java:43)

at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onLayoutChild (AppBarLayout.java:2253)

at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout (CoordinatorLayout.java:953)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)

at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)

at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at androidx.drawerlayout.widget.DrawerLayout.onLayout (DrawerLayout.java:1263)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)

at android.widget.LinearLayout.layoutHorizontal (LinearLayout.java:1818)

at android.widget.LinearLayout.onLayout (LinearLayout.java:1584)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)

at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)

at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at com.android.internal.widget.DecorCaptionView.onLayout (DecorCaptionView.java:334)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.widget.FrameLayout.layoutChildren (FrameLayout.java:332)

at android.widget.FrameLayout.onLayout (FrameLayout.java:270)

at com.android.internal.policy.DecorView.onLayout (DecorView.java:797)

at android.view.View.layout (View.java:23203)

at android.view.ViewGroup.layout (ViewGroup.java:6412)

at android.view.ViewRootImpl.performLayout (ViewRootImpl.java:3749)

at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3205)

at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2179)

at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8787)

at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1037)

at android.view.Choreographer.doCallbacks (Choreographer.java:845)

at android.view.Choreographer.doFrame (Choreographer.java:780)

at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1022)

at android.os.Handler.handleCallback (Handler.java:938)

at android.os.Handler.dispatchMessage (Handler.java:99)

at android.os.Looper.loopOnce (Looper.java:201)

at android.os.Looper.loop (Looper.java:288)

at android.app.ActivityThread.main (ActivityThread.java:7870)

at java.lang.reflect.Method.invoke

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.