java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided

Appcelerator JIRA | Andreas Hyden | 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

    App sometimes crash during startup when launched from the Android notification area. How to reproduce - Make sure app is not running - Receive push notifications for app - Click on push notification in the Android notification area to launch the app. - (If another notification is received at the moment the app is launching, it seems to greatly increase the chance of a crash.) - App sometimes crashes Crash log: E/AndroidRuntime(10783): FATAL EXCEPTION: main E/AndroidRuntime(10783): Process: hk.com.beamstyle.snakehead, PID: 10783 E/AndroidRuntime(10783): java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2856) E/AndroidRuntime(10783): at android.app.ActivityThread.access$1700(ActivityThread.java:156) E/AndroidRuntime(10783): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440) E/AndroidRuntime(10783): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(10783): at android.os.Looper.loop(Looper.java:157) E/AndroidRuntime(10783): at android.app.ActivityThread.main(ActivityThread.java:5872) E/AndroidRuntime(10783): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(10783): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) E/AndroidRuntime(10783): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(10783): Caused by: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.props(Settings.java:58) E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.useSingleCallback(Settings.java:83) E/AndroidRuntime(10783): at com.appcelerator.aps.APSCloudPush.processCallbackIfInstantiated(APSCloudPush.java:651) E/AndroidRuntime(10783): at com.appcelerator.aps.IntentReceiver.onReceive(IntentReceiver.java:72) E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2845) E/AndroidRuntime(10783): ... 10 more E/ActivityManager( 719): App crashed! Process: hk.com.beamstyle.snakehead

    Appcelerator JIRA | 2 years ago | Andreas Hyden
    java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided
  2. 0

    App sometimes crash during startup when launched from the Android notification area. How to reproduce - Make sure app is not running - Receive push notifications for app - Click on push notification in the Android notification area to launch the app. - (If another notification is received at the moment the app is launching, it seems to greatly increase the chance of a crash.) - App sometimes crashes Crash log: E/AndroidRuntime(10783): FATAL EXCEPTION: main E/AndroidRuntime(10783): Process: hk.com.beamstyle.snakehead, PID: 10783 E/AndroidRuntime(10783): java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2856) E/AndroidRuntime(10783): at android.app.ActivityThread.access$1700(ActivityThread.java:156) E/AndroidRuntime(10783): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440) E/AndroidRuntime(10783): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(10783): at android.os.Looper.loop(Looper.java:157) E/AndroidRuntime(10783): at android.app.ActivityThread.main(ActivityThread.java:5872) E/AndroidRuntime(10783): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(10783): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) E/AndroidRuntime(10783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) E/AndroidRuntime(10783): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(10783): Caused by: java.lang.RuntimeException: Application context not provided E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.props(Settings.java:58) E/AndroidRuntime(10783): at com.appcelerator.aps.Settings.useSingleCallback(Settings.java:83) E/AndroidRuntime(10783): at com.appcelerator.aps.APSCloudPush.processCallbackIfInstantiated(APSCloudPush.java:651) E/AndroidRuntime(10783): at com.appcelerator.aps.IntentReceiver.onReceive(IntentReceiver.java:72) E/AndroidRuntime(10783): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2845) E/AndroidRuntime(10783): ... 10 more E/ActivityManager( 719): App crashed! Process: hk.com.beamstyle.snakehead

    Appcelerator JIRA | 2 years ago | Andreas Hyden
    java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.IntentReceiver: java.lang.RuntimeException: Application context not provided
  3. 0

    fatal error while using Zxing for coding QR code reader app

    Stack Overflow | 2 years ago | Razer Waran
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.qrcodereader /com.google.zxing.client.android.CaptureActivity}: android.view.InflateException: Binary XML file line #35: Error inflating class <unknown> 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.access$1500(ActivityThread.java:117) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Handler.dispatchMessage(Handler.java:99) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Looper.loop(Looper.java:123) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invokeNative(Native Method) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invoke(Method.java:507) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-03 13:42:20.931: E/AndroidRuntime(335):
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android : Proguard and AddThis library

    Stack Overflow | 2 years ago | johann
    java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATActivityGroup}: java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATShareActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 0

    Camera Video Saving in portrait mode is not working

    Stack Overflow | 5 years ago | Cintu
    java.lang.RuntimeException: Unable to resume activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=4, result=-1, data=Intent { act=inline-data dat=content://media/external/video/media/70 }} to activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.NullPointerException 03-09 15:04:34.120: E/AndroidRuntime(8064): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3134) java.lang.reflect.Method.invoke(Method.java:521) 03-09 15:04:34.120: E/AndroidRuntime(8064): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 03-09 15:04:34.120: E/AndroidRuntime(8064):

    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

      Application context not provided

      at com.appcelerator.aps.Settings.props()
    2. com.appcelerator.aps
      IntentReceiver.onReceive
      1. com.appcelerator.aps.Settings.props(Settings.java:58)
      2. com.appcelerator.aps.Settings.useSingleCallback(Settings.java:83)
      3. com.appcelerator.aps.APSCloudPush.processCallbackIfInstantiated(APSCloudPush.java:651)
      4. com.appcelerator.aps.IntentReceiver.onReceive(IntentReceiver.java:72)
      4 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleReceiver(ActivityThread.java:2845)
      2. android.app.ActivityThread.access$1700(ActivityThread.java:156)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:157)
      6. android.app.ActivityThread.main(ActivityThread.java:5872)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame