activity did not call through super.onresume exception












0















In my xamarin forms app, there is crash which is as follows from App Center crashlytics:



android.app.Activity.performResume:



Activity.java - line 7138
android.util.SuperNotCalledException: Activity
{com.tcrsoftware.androidx/md54f7a5b50cfc6839da41f22f8e0e378f9.MainActivity}
did not call through to super.onResume()
android.app.Activity.performResume Activity.java:7138
android.app.ActivityThread.performResumeActivity ActivityThread.java:3850
android.app.ActivityThread.handleResumeActivity ActivityThread.java:3914
android.app.ActivityThread$H.handleMessage ActivityThread.java:1709
android.os.Handler.dispatchMessage Handler.java:102
android.os.Looper.loop Looper.java:154
android.app.ActivityThread.main ActivityThread.java:6823
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
ZygoteInit.java:1557
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1445


I just use onResume() in my Shared Library project like:



public partial class App : Application
{
protected override void OnResume()
{
Utility.LogMessage("OnResume: ", LogMessageType.info);
}
}


I did not implement/use onResume() in the MainActivity class of android project.



Where and why this crash occured? And also would it be cause app to crash continously when user tries to open the app?



any updates?










share|improve this question

























  • I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

    – Nirmal Subedi
    Oct 30 '18 at 17:37











  • ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

    – sai
    Oct 30 '18 at 17:42













  • interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

    – sai
    Oct 30 '18 at 18:59
















0















In my xamarin forms app, there is crash which is as follows from App Center crashlytics:



android.app.Activity.performResume:



Activity.java - line 7138
android.util.SuperNotCalledException: Activity
{com.tcrsoftware.androidx/md54f7a5b50cfc6839da41f22f8e0e378f9.MainActivity}
did not call through to super.onResume()
android.app.Activity.performResume Activity.java:7138
android.app.ActivityThread.performResumeActivity ActivityThread.java:3850
android.app.ActivityThread.handleResumeActivity ActivityThread.java:3914
android.app.ActivityThread$H.handleMessage ActivityThread.java:1709
android.os.Handler.dispatchMessage Handler.java:102
android.os.Looper.loop Looper.java:154
android.app.ActivityThread.main ActivityThread.java:6823
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
ZygoteInit.java:1557
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1445


I just use onResume() in my Shared Library project like:



public partial class App : Application
{
protected override void OnResume()
{
Utility.LogMessage("OnResume: ", LogMessageType.info);
}
}


I did not implement/use onResume() in the MainActivity class of android project.



Where and why this crash occured? And also would it be cause app to crash continously when user tries to open the app?



any updates?










share|improve this question

























  • I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

    – Nirmal Subedi
    Oct 30 '18 at 17:37











  • ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

    – sai
    Oct 30 '18 at 17:42













  • interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

    – sai
    Oct 30 '18 at 18:59














0












0








0








In my xamarin forms app, there is crash which is as follows from App Center crashlytics:



android.app.Activity.performResume:



Activity.java - line 7138
android.util.SuperNotCalledException: Activity
{com.tcrsoftware.androidx/md54f7a5b50cfc6839da41f22f8e0e378f9.MainActivity}
did not call through to super.onResume()
android.app.Activity.performResume Activity.java:7138
android.app.ActivityThread.performResumeActivity ActivityThread.java:3850
android.app.ActivityThread.handleResumeActivity ActivityThread.java:3914
android.app.ActivityThread$H.handleMessage ActivityThread.java:1709
android.os.Handler.dispatchMessage Handler.java:102
android.os.Looper.loop Looper.java:154
android.app.ActivityThread.main ActivityThread.java:6823
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
ZygoteInit.java:1557
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1445


I just use onResume() in my Shared Library project like:



public partial class App : Application
{
protected override void OnResume()
{
Utility.LogMessage("OnResume: ", LogMessageType.info);
}
}


I did not implement/use onResume() in the MainActivity class of android project.



Where and why this crash occured? And also would it be cause app to crash continously when user tries to open the app?



any updates?










share|improve this question
















In my xamarin forms app, there is crash which is as follows from App Center crashlytics:



android.app.Activity.performResume:



Activity.java - line 7138
android.util.SuperNotCalledException: Activity
{com.tcrsoftware.androidx/md54f7a5b50cfc6839da41f22f8e0e378f9.MainActivity}
did not call through to super.onResume()
android.app.Activity.performResume Activity.java:7138
android.app.ActivityThread.performResumeActivity ActivityThread.java:3850
android.app.ActivityThread.handleResumeActivity ActivityThread.java:3914
android.app.ActivityThread$H.handleMessage ActivityThread.java:1709
android.os.Handler.dispatchMessage Handler.java:102
android.os.Looper.loop Looper.java:154
android.app.ActivityThread.main ActivityThread.java:6823
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
ZygoteInit.java:1557
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1445


I just use onResume() in my Shared Library project like:



public partial class App : Application
{
protected override void OnResume()
{
Utility.LogMessage("OnResume: ", LogMessageType.info);
}
}


I did not implement/use onResume() in the MainActivity class of android project.



Where and why this crash occured? And also would it be cause app to crash continously when user tries to open the app?



any updates?







xamarin xamarin.forms xamarin.android android-lifecycle






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 '18 at 23:11







sai

















asked Oct 30 '18 at 16:59









saisai

439




439













  • I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

    – Nirmal Subedi
    Oct 30 '18 at 17:37











  • ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

    – sai
    Oct 30 '18 at 17:42













  • interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

    – sai
    Oct 30 '18 at 18:59



















  • I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

    – Nirmal Subedi
    Oct 30 '18 at 17:37











  • ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

    – sai
    Oct 30 '18 at 17:42













  • interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

    – sai
    Oct 30 '18 at 18:59

















I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

– Nirmal Subedi
Oct 30 '18 at 17:37





I saw they have one open ticket on this case : bugzilla.xamarin.com/show_bug.cgi?id=56948

– Nirmal Subedi
Oct 30 '18 at 17:37













ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

– sai
Oct 30 '18 at 17:42







ya but there is no solution posted. Also this issue is random. I do not know how t o reproduce.

– sai
Oct 30 '18 at 17:42















interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

– sai
Oct 30 '18 at 18:59





interesting part is even i dont have onResume() method in MainActivity.cs class i got this crash from one of the user

– sai
Oct 30 '18 at 18:59












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53069366%2factivity-did-not-call-through-super-onresume-exception%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53069366%2factivity-did-not-call-through-super-onresume-exception%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma