java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.isec.tp.am/pt.isec.tp.am.MyPreferencesActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content

  1. 0

    Make activity full screen

    Stack Overflow | 2 months ago | Hasan Al-Hallaq
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.isec.tp.am/pt.isec.tp.am.MyPreferencesActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
  2. 0

    Invoking methods on Android

    Stack Overflow | 10 months ago | Josete Manu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.urbanclouds.finntime/com.urbanclouds.finntime.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
  3. 0

    Same code but app crashes?

    Stack Overflow | 10 months ago | jcrossley
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.f454.jackc.chiropodist/com.f454.jackc.chiropodist.MainActivity}: java.lang.IllegalArgumentException: AppIndex: The android-app URI host must match the package name and follow the format android-app://<package_name>/<scheme>/[host_path]. Provided URI: android-app://com.f454.jackc.chiropody/http/host/path
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Studio - PDFRendererBasic - Unable to replace sample.pdf?

    Stack Overflow | 10 months ago | emvee
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.pdfrendererbasic/com.example.android.pdfrendererbasic.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.pdf.PdfRenderer.getPageCount()' on a null object reference
  6. 0

    Build owncloud-android Project

    GitHub | 2 years ago | Bruno-Piccinin-RealComm
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.owncloud.android/com.owncloud.android.ui.activity.FileDisplayActivity}: java.lang.ClassNotFoundException: Didn't find class "com.owncloud.android.ui.activity.FileDisplayActivity" on path: /data/app/com.owncloud.android-2.apk

  1. Riyaz 2 times, last 3 days ago
  2. malhobayyeb 9 times, last 2 weeks ago
  3. bluebunnty 11 times, last 2 weeks ago
  4. Aria Pahlavan 1045 times, last 1 week ago
  5. Alexandru Popa 12 times, last 3 weeks ago
39 more registered users
7 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{pt.isec.tp.am/pt.isec.tp.am.MyPreferencesActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2543)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2609)
    2 frames