java.lang.RuntimeException: Unable to start activity ComponentInfo{com. sample.app/com.google.android.gms.ads.AdActivity}: android.util. AndroidRuntimeException: requestFeature() must be called before adding content at android.app.ActivityThread.performLaunchActivity(ActivityThread. java:2658) at android.app.ActivityThread.handleLaunchActivity(ActivityThread .java:2723) at android.app.ActivityThread.access$900(ActivityThread.java:172 ) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)

Google Groups | Orlando Yanson Jr. | 7 months ago
  1. 0

    requestFeature() must be called before adding content (AdMob)

    Google Groups | 7 months ago | Orlando Yanson Jr.
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com. sample.app/com.google.android.gms.ads.AdActivity}: android.util. AndroidRuntimeException: requestFeature() must be called before adding content at android.app.ActivityThread.performLaunchActivity(ActivityThread. java:2658) at android.app.ActivityThread.handleLaunchActivity(ActivityThread .java:2723) at android.app.ActivityThread.access$900(ActivityThread.java:172 ) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
  2. 0

    android browse images failure delivering result error

    Stack Overflow | 5 years ago | jonny
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/73 }} to activity {ianco.test.andrei/ianco.test.andrei.BrowsePicture}: java.lang.NullPointerException 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.deliverResults(ActivityThread.java:2553) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2595) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.access$2000(ActivityThread.java:121) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:973)
  3. 0

    Why is DialogFragment.onCreateView called when Activity is being Destroyed?

    Stack Overflow | 4 years ago | WindsurferOak
    java.lang.RuntimeException: Unable to destroy activity {com.myapp/com.myapp.activity.FirstFragment}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failure delivering ResultInfo

    GitHub | 2 years ago | grassick
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {co.mwater.clientapp/co.mwater.clientapp.mWater}: java.lang.NullPointerException

  1. rp 1 times, last 3 weeks ago
  2. Indri Yunita 74 times, last 3 weeks ago
  3. mhicauber 2 times, last 2 months ago
  4. dealloc 1 times, last 2 months ago
  5. bmacedo 1 times, last 2 months ago
77 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com. sample.app/com.google.android.gms.ads.AdActivity}: android.util. AndroidRuntimeException: requestFeature() must be called before adding content at android.app.ActivityThread.performLaunchActivity(ActivityThread. java:2658) at android.app.ActivityThread.handleLaunchActivity(ActivityThread .java:2723) at android.app.ActivityThread.access$900(ActivityThread.java:172 ) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)

    at android.os.Handler.dispatchMessage()
  2. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:145)
    3. android.app.ActivityThread.main(ActivityThread.java:5832)
    3 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame