android: android.util.SuperNotCalledException:

Steps to Reproduce

  1. Application running on emulator or test devices - no errors
  2. Application released through Google Play - only several devices get error

Expected Behavior

Actual Behavior

Crash Error
android.util.SuperNotCalledException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3209)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3349)
  at android.app.ActivityThread.access$1100 (ActivityThread.java:221)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1794)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:158)
  at android.app.ActivityThread.main (ActivityThread.java:7224)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

Version Information

Android 4.1-7.1

Log File

Xiaomi Redmi 4 Pro (markw), 3072MB RAM, Android 6.0

android.util.SuperNotCalledException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2411)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2515)
  at android.app.ActivityThread.access$1000 (ActivityThread.java:154)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1379)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:157)
  at android.app.ActivityThread.main (ActivityThread.java:5555)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:745)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:635)

on another device: Samsung Galaxy A5(2017) (a5y17lte), 3072MB RAM, Android 7.0 Report 1 of 1

android.util.SuperNotCalledException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2930)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3045)
  at android.app.ActivityThread.-wrap14 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1642)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6776)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1518)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

All that exception means is that you e.g. override Activity.OnCreate(), but didn’t call base.OnCreate(bundle) somewhere.

Unfortunately, that’s not much to go on: presumably you are calling base.OnCreate(bundle) – otherwise it would fail consistently everywhere, which isn’t the case – so unfortunately we’re going to need a consistent repro. 😦