This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 43530 - [Android] Resuming app throws IllegalStateException from fragment manager
Summary: [Android] Resuming app throws IllegalStateException from fragment manager
Status: RESOLVED DUPLICATE of bug 42075
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.3.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-08-19 07:39 UTC by Rogier van der Hee
Modified: 2016-12-11 09:08 UTC (History)
6 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Rogier van der Hee 2016-08-19 07:39:29 UTC
Hi, my app crashed while resuming my app (using the new AppCompatMode):

	Java.Lang.IllegalStateException: Fragment does not have a view

 Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod(JniObjectReference instance, JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args):0
 Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod(System.String encodedMember, IJavaPeerable self, Java.Interop.JniArgumentValue* parameters):0
 Android.App.Activity.n_OnStart(IntPtr jnienv, IntPtr native__this):0
    (wrapper dynamic-method) System.Object:7d33a1d0-6157-4eb0-a07e-ee501a177a11 (intptr,intptr)
    --- End of managed exception stack trace ---
 java.lang.IllegalStateException: Fragment does not have a view$1.onFindViewById(
 md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsAppCompatActivity.n_onStart(Native Method):0
 java.lang.reflect.Method.invoke(Native Method):0$
Comment 1 Rui Marinho 2016-08-22 17:54:14 UTC
Hi this should be fixed in latest pre releases.

*** This bug has been marked as a duplicate of bug 42075 ***
Comment 2 Cliff Cawley 2016-09-14 04:54:17 UTC
I can't monitor the status of the duplicate bug 42075 because it's marked as private :(

Note You need to log in before you can comment on or make changes to this bug.