Bug 56948 - Inconsistent did not call through to super.onPause() Exception
Summary: Inconsistent did not call through to super.onPause() Exception
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 8.0 (15.4)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Marek Habersack
Depends on:
Reported: 2017-05-29 21:34 UTC by joeperkins
Modified: 2017-08-21 20:15 UTC (History)
2 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description joeperkins 2017-05-29 21:34:55 UTC
05/26/2017 10:45:07 ( CurrentDomainOnUnhandledException: Java.Lang.RuntimeException: Activity {com.my.app/md5ebb1172dca24df6656d2275118d7fce9.MainActivity} did not call through to super.onPause()
  --- End of managed Java.Lang.RuntimeException stack trace ---
android.util.SuperNotCalledException: Activity {com.my.app/md5ebb1172dca24df6656d2275118d7fce9.MainActivity} did not call through to super.onPause()
	at android.app.Activity.performPause(Activity.java:6450)
	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1308)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3722)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3695)
	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3670)
	at android.app.ActivityThread.access$1100(ActivityThread.java:177)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1459)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:145)
	at android.app.ActivityThread.main(ActivityThread.java:5942)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

MainActivity overrides:

        protected override void OnPause()

        protected override void OnPostResume()
        protected override void OnResume()

        protected override void OnDestroy()
Comment 1 Marek Habersack 2017-06-07 15:21:41 UTC
I tried to reproduce this with XA/master to no avail. Could you, please, create and attach a small application which reproduces the issue for you? Also, please specify versions of Xamarin.Android and Visual Studio you are using, thanks!
Comment 2 Jon Douglas [MSFT] 2017-08-21 20:15:45 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!