java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.aa/com.example.aa.aa}: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

JIRA | lvyunxiao | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Reproduce Test Steps ========================================================================= 1. Unzip the 'crosswalk-cordova-10.39.226.0-arm.zip' -d localpath(https://download.01.org/crosswalk/releases/crosswalk/android/canary/10.39.226.0/arm/crosswalk-cordova-10.39.226.0-arm.zip) 2. Build, install and launch cordova app: {code} cd /localpath/crosswalk-cordova-10.39.226.0-arm ./bin/create baidu com.example.baidu baidu --shared cd baidu ./cordova/run {code} Expected Outcome ========================================================================= The app should be launched Actual Outcome ========================================================================= App crash occurred Test Builds ========================================================================= ||Version||Test Date|| Test Device || Result || |Canary 10.38.222.0 | 2014.10.14| Nexus 4 ARM|{color: green}Pass{color}| |Canary 10.39.226.0 | 2014.10.17| Nexus 4 ARM|{color: red}Fail{color}| Log Info ========================================================================= {code} 10-17 10:50:17.942: E/AndroidRuntime(9066): FATAL EXCEPTION: main 10-17 10:50:17.942: E/AndroidRuntime(9066): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.aa/com.example.aa.aa}: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.app.ActivityThread.access$600(ActivityThread.java:141) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.os.Handler.dispatchMessage(Handler.java:99) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.os.Looper.loop(Looper.java:137) 10-17 10:50:17.942: E/AndroidRuntime(9066): at android.app.ActivityThread.main(ActivityThread.java:5041) 10-17 10:50:17.942: E/AndroidRuntime(9066): at java.lang.reflect.Method.invokeNative(Native Method) 10-17 10:50:17.942: E/AndroidRuntime(9066): at java.lang.reflect.Method.invoke(Method.java:511) 10-17 10:50:17.942: E/AndroidRuntime(9066): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 10-17 10:50:17.942: E/AndroidRuntime(9066): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 10-17 10:50:17.942: E/AndroidRuntime(9066): at dalvik.system.NativeStart.main(Native Method) {code}

    JIRA | 2 years ago | lvyunxiao
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.aa/com.example.aa.aa}: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  2. 0

    How to make the Check Box checked during update in android?

    Stack Overflow | 3 years ago | user2841300
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android/com.example.android.EditBookingForm}: java.lang.NullPointerException
  3. 0

    error inflating class fragment for google maps

    Stack Overflow | 2 years ago | user3639058
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.coffeeking/com.coffeeking.Mapact}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why Custom Control throws a NullPointerException?

    Stack Overflow | 4 years ago | Broken_Window
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nullextry/com.example.nullextry.MainActivity}: java.lang.NullPointerException
  6. 0

    Passing ArrayList to another activity, getting NullPointerException

    Stack Overflow | 4 years ago | Hunter Hodnett
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.heartsmart/com.example.heartsmart.VitaminDisplay}: java.lang.NullPointerException

  1. rp 1 times, last 2 months ago
  2. Indri Yunita 74 times, last 2 months ago
  3. bmacedo 1 times, last 3 months ago
  4. VeryRedChris 23 times, last 3 months ago
  5. franky li 6 times, last 4 months ago
48 more registered users
47 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.example.aa/com.example.aa.aa}: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
    3. android.app.ActivityThread.access$600(ActivityThread.java:141)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
    5. android.os.Handler.dispatchMessage(Handler.java:99)
    6. android.os.Looper.loop(Looper.java:137)
    7. android.app.ActivityThread.main(ActivityThread.java:5041)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  5. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame