java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException

JIRA | Generic San | 3 years ago
  1. 0

    Bug Reports For 10.1.3 Rc ( Apollo Crashes) - Samsung Galaxy S II Release - CyanogenMod Forum

    cyanogenmod.org | 1 year ago
    java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException
  2. 0

    Full factory reset , format /system, wipe /cache + Dalvik. I did also have CardDav and CalDav-free installed for Contacts and Calander... Apologies. However both of them were stable with 10.1 nightlies and 10.2 nightlies Install 10.1.3 RC .zip via Recovery. Apollo crashes everytime, and this autostarts after boot, and crashes. Attempted many times after several reboots. logcat below [code] D/dalvikvm( 2679): GC_CONCURRENT freed 1138K, 18% free 6615K/8012K, paused 22ms+124ms, total 318ms D/dalvikvm( 2679): WAIT_FOR_CONCURRENT_GC blocked 39ms D/dalvikvm( 2679): WAIT_FOR_CONCURRENT_GC blocked 30ms I/ActivityManager( 2183): Start proc com.andrew.apollo for broadcast com.andrew.apollo/.appwidgets.RecentWidgetProvider: pid=3227 uid=10000 gids={50000, 1015, 3003, 1028} W/Trace ( 3227): error opening trace file: No such file or directory (2) I/ActivityManager( 2183): Start proc com.android.calendar for broadcast com.android.calendar/.widget.CalendarAppWidgetProvider: pid=3245 uid=10009 gids={50009, 3003, 1028} I/ActivityManager( 2183): No longer want com.android.cellbroadcastreceiver (pid 2779): empty #17 W/Trace ( 3245): error opening trace file: No such file or directory (2) W/ResourceType( 3227): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 3227): Shutting down VM W/dalvikvm( 3227): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 3227): FATAL EXCEPTION: main E/AndroidRuntime( 3227): java.lang.RuntimeException: Unable to bind to service com.andrew.apollo.appwidgets.RecentWidgetService@41fbcc60 with Intent { dat=intent: cmp=com.andrew.apollo/.appwidgets.RecentWidgetService (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 3227): at android.app.ActivityThread.handleBindService(ActivityThread.java:2696) E/AndroidRuntime( 3227): at android.app.ActivityThread.access$1700(ActivityThread.java:153) E/AndroidRuntime( 3227): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334) E/AndroidRuntime( 3227): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 3227): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 3227): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 3227): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 3227): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 3227): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 3227): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 3227): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 3227): Caused by: java.lang.NullPointerException E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 3227): at com.andrew.apollo.appwidgets.RecentWidgetService$WidgetRemoteViewsFactory.<init>(RecentWidgetService.java:91) E/AndroidRuntime( 3227): at com.andrew.apollo.appwidgets.RecentWidgetService.onGetViewFactory(RecentWidgetService.java:44) E/AndroidRuntime( 3227): at android.widget.RemoteViewsService.onBind(RemoteViewsService.java:241) E/AndroidRuntime( 3227): at android.app.ActivityThread.handleBindService(ActivityThread.java:2683) E/AndroidRuntime( 3227): ... 10 more I/ActivityManager( 2183): Start proc com.android.providers.calendar for content provider com.android.providers.calendar/.CalendarProvider2: pid=3267 uid=10010 gids={50010, 3003, 1015, 1028} W/Trace ( 3267): error opening trace file: No such file or directory (2) I//system/bin/fsck_msdos( 1848): ** Phase 4 - Checking for Lost Files I//system/bin/fsck_msdos( 1848): Next free cluster in FSInfo block (37239) not free I//system/bin/fsck_msdos( 1848): FIXED .... SNIP .... D/dalvikvm( 3025): GC_CONCURRENT freed 470K, 55% free 3474K/7696K, paused 3ms+10ms, total 75ms W/Settings( 2443): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/AlarmManagerService( 2183): Kernel timezone updated to -120 minutes west of GMT D/dalvikvm( 2679): GC_FOR_ALLOC freed 1386K, 22% free 7607K/9688K, paused 92ms, total 102ms D/dalvikvm( 3025): GC_CONCURRENT freed 374K, 55% free 3520K/7696K, paused 3ms+5ms, total 54ms D/dalvikvm( 3025): GC_CONCURRENT freed 159K, 51% free 3817K/7696K, paused 1ms+3ms, total 30ms E/k9 ( 3025): synchronizeMailbox E/k9 ( 3025): java.lang.Exception: Message count -1 for folder Sent E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.synchronizeMailboxSynchronous(MessagingController.java:1114) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.access$400(MessagingController.java:112) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController$8.run(MessagingController.java:935) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.run(MessagingController.java:436) E/k9 ( 3025): at java.lang.Thread.run(Thread.java:856) D/lights ( 2183): set_light_buttons on=1 I/Process ( 3227): Sending signal. PID: 3227 SIG: 9 I/ActivityManager( 2183): Process com.andrew.apollo (pid 3227) has died. W/ActivityManager( 2183): Scheduling restart of crashed service com.andrew.apollo/.appwidgets.RecentWidgetService in 5000ms I/ActivityManager( 2183): Start proc com.andrew.apollo for broadcast com.andrew.apollo/.appwidgets.RecentWidgetProvider: pid=3456 uid=10000 gids={50000, 1015, 3003, 1028} W/Settings( 2443): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/AlarmManagerService( 2183): Kernel timezone updated to -120 minutes west of GMT W/Trace ( 3456): error opening trace file: No such file or directory (2) W/ResourceType( 3456): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 3456): Shutting down VM W/dalvikvm( 3456): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 3456): FATAL EXCEPTION: main E/AndroidRuntime( 3456): java.lang.RuntimeException: Unable to bind to service com.andrew.apollo.appwidgets.RecentWidgetService@41fc2d18 with Intent { dat=intent: cmp=com.andrew.apollo/.appwidgets.RecentWidgetService (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 3456): at android.app.ActivityThread.handleBindService(ActivityThread.java:2696) E/AndroidRuntime( 3456): at android.app.ActivityThread.access$1700(ActivityThread.java:153) E/AndroidRuntime( 3456): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334) E/AndroidRuntime( 3456): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 3456): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 3456): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 3456): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 3456): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 3456): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 3456): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 3456): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 3456): Caused by: java.lang.NullPointerException E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 3456): at com.andrew.apollo.appwidgets.RecentWidgetService$WidgetRemoteViewsFactory.<init>(RecentWidgetService.java:91) E/AndroidRuntime( 3456): at com.andrew.apollo.appwidgets.RecentWidgetService.onGetViewFactory(RecentWidgetService.java:44) E/AndroidRuntime( 3456): at android.widget.RemoteViewsService.onBind(RemoteViewsService.java:241) E/AndroidRuntime( 3456): at android.app.ActivityThread.handleBindService(ActivityThread.java:2683) E/AndroidRuntime( 3456): ... 10 more W/ActivityManager( 2183): Process com.andrew.apollo has crashed too many times: killing! I/ActivityManager( 2183): Killing proc 3456:com.andrew.apollo/u0a10000: crash D/dalvikvm( 2449): GC_CONCURRENT freed 1539K, 18% free 8241K/10028K, paused 2ms+8ms, total 51ms I/ActivityManager( 2183): No longer want com.keramidas.TitaniumBackup (pid 2988): empty #17 I/ActivityManager( 2183): No longer want com.android.voicedialer (pid 2954): empty #18 D/Tethering( 2183): MasterInitialState.processMessage what=3 W/BroadcastQueue( 2183): Unable to launch app com.andrew.apollo/10000 for broadcast Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=com.andrew.apollo/.appwidgets.RecentWidgetProvider (has extras) }: process is bad D/Tethering( 2183): MasterInitialState.processMessage what=3 D/dalvikvm( 2449): GC_FOR_ALLOC freed 195K, 18% free 8579K/10456K, paused 66ms, total 66ms I/dalvikvm-heap( 2449): Grow heap (frag case) to 10.000MB for 925072-byte allocation D/dalvikvm( 2449): GC_FOR_ALLOC freed 3K, 17% free 9479K/11360K, paused 41ms, total 41ms I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity} from pid 2449 D/PermissionCache( 1852): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (435 us) ... SNIP ... I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.andrew.apollo/.ui.activities.HomeActivity} from pid 2449 I/ActivityManager( 2183): Start proc com.andrew.apollo for activity com.andrew.apollo/.ui.activities.HomeActivity: pid=4031 uid=10000 gids={50000, 1015, 3003, 1028} W/Trace ( 4031): error opening trace file: No such file or directory (2) W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 I/ActivityManager( 2183): Start proc com.andrew.apollo:main for service com.andrew.apollo/.MusicPlaybackService: pid=4045 uid=10000 gids={50000, 1015, 3003, 1028} W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/Trace ( 4045): error opening trace file: No such file or directory (2) W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4045): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4045): Shutting down VM W/dalvikvm( 4045): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4045): FATAL EXCEPTION: main E/AndroidRuntime( 4045): java.lang.RuntimeException: Unable to create service com.andrew.apollo.MusicPlaybackService: java.lang.NullPointerException E/AndroidRuntime( 4045): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2667) E/AndroidRuntime( 4045): at android.app.ActivityThread.access$1600(ActivityThread.java:153) E/AndroidRuntime( 4045): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) E/AndroidRuntime( 4045): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4045): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4045): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4045): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4045): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4045): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4045): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4045): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4045): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4045): at com.andrew.apollo.MusicPlaybackService.onCreate(MusicPlaybackService.java:519) E/AndroidRuntime( 4045): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657) E/AndroidRuntime( 4045): ... 10 more W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 D/dalvikvm( 2183): GC_FOR_ALLOC freed 1115K, 27% free 10706K/14592K, paused 55ms, total 55ms I/dalvikvm-heap( 2183): Grow heap (frag case) to 11.807MB for 635812-byte allocation W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4031): Shutting down VM W/dalvikvm( 4031): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4031): FATAL EXCEPTION: main E/AndroidRuntime( 4031): java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException E/AndroidRuntime( 4031): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2870) E/AndroidRuntime( 4031): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2899) E/AndroidRuntime( 4031): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363) E/AndroidRuntime( 4031): at android.app.ActivityThread.access$600(ActivityThread.java:153) E/AndroidRuntime( 4031): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) E/AndroidRuntime( 4031): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4031): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4031): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4031): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4031): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4031): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4031): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4031): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4031): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4031): at com.andrew.apollo.utils.ApolloUtils.getImageFetcher(ApolloUtils.java:265) E/AndroidRuntime( 4031): at com.andrew.apollo.ui.activities.BaseActivity.updateBottomActionBarInfo(BaseActivity.java:337) E/AndroidRuntime( 4031): at com.andrew.apollo.ui.activities.BaseActivity.onresume(BaseActivity.java:239) E/AndroidRuntime( 4031): at android.app.Instrumentation.callActivityonresume(Instrumentation.java:1185) E/AndroidRuntime( 4031): at android.app.Activity.performResume(Activity.java:5182) E/AndroidRuntime( 4031): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2860) E/AndroidRuntime( 4031): ... 12 more W/ActivityManager( 2183): Process com.andrew.apollo has crashed too many times: killing! W/ActivityManager( 2183): Force finishing activity com.andrew.apollo/.ui.activities.HomeActivity I/ActivityManager( 2183): Killing proc 4031:com.andrew.apollo/u0a10000: crash I/Process ( 4045): Sending signal. PID: 4045 SIG: 9 I/ActivityManager( 2183): Process com.andrew.apollo:main (pid 4045) has died. W/ActivityManager( 2183): Scheduling restart of crashed service com.andrew.apollo/.MusicPlaybackService in 5000ms W/InputMethodManagerService( 2183): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42397de8 attribute=null, token = android.os.BinderProxy@42784588 I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 2183 D/dalvikvm( 2302): GC_FOR_ALLOC freed 1775K, 34% free 7898K/11924K, paused 100ms, total 100ms I/ActivityManager( 2183): Start proc com.andrew.apollo:main for service com.andrew.apollo/.MusicPlaybackService: pid=4073 uid=10000 gids={50000, 1015, 3003, 1028} I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nll.asr/.MainActivity bnds=[384,605][480,705]} from pid 2449 D/dalvikvm( 1853): GC_EXPLICIT freed 37K, 70% free 2337K/7696K, paused 3ms+8ms, total 56ms D/dalvikvm( 1853): GC_EXPLICIT freed <1K, 70% free 2337K/7696K, paused 3ms+6ms, total 54ms D/dalvikvm( 1853): GC_EXPLICIT freed <1K, 70% free 2337K/7696K, paused 2ms+7ms, total 40ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 211K, 24% free 11612K/15216K, paused 111ms, total 113ms W/Trace ( 4073): error opening trace file: No such file or directory (2) I/ActivityManager( 2183): Start proc com.nll.asr for activity com.nll.asr/.MainActivity: pid=4086 uid=10061 gids={50061, 3003, 1015, 1028} W/ResourceType( 4073): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4073): Shutting down VM W/dalvikvm( 4073): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4073): FATAL EXCEPTION: main E/AndroidRuntime( 4073): java.lang.RuntimeException: Unable to create service com.andrew.apollo.MusicPlaybackService: java.lang.NullPointerException E/AndroidRuntime( 4073): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2667) E/AndroidRuntime( 4073): at android.app.ActivityThread.access$1600(ActivityThread.java:153) E/AndroidRuntime( 4073): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) E/AndroidRuntime( 4073): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4073): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4073): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4073): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4073): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4073): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4073): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4073): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4073): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4073): at com.andrew.apollo.MusicPlaybackService.onCreate(MusicPlaybackService.java:519) E/AndroidRuntime( 4073): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657) E/AndroidRuntime( 4073): ... 10 more W/Trace ( 4086): error opening trace file: No such file or directory (2) D/dalvikvm( 4086): GC_FOR_ALLOC freed 700K, 36% free 4984K/7696K, paused 14ms, total 14ms I/dalvikvm-heap( 4086): Grow heap (frag case) to 8.185MB for 2700016-byte allocation D/dalvikvm( 4086): GC_CONCURRENT freed 3K, 27% free 7617K/10336K, paused 3ms+1ms, total 24ms D/MtpService( 2391): updating state; isCurrentUser=true, mMtpLocked=false D/MtpService( 2391): addStorageLocked 65537 /storage/sdcard0 D/MtpService( 2391): addStorageLocked 131073 /storage/sdcard1 D/MtpService( 2391): updating state; isCurrentUser=true, mMtpLocked=false D/MtpService( 2391): starting MTP server in MTP mode D/MtpService( 2391): addStorageLocked 131073 /storage/sdcard1 D/MtpService( 2391): addStorageLocked 65537 /storage/sdcard0 D/dalvikvm( 2679): GC_CONCURRENT freed 1645K, 21% free 7644K/9644K, paused 47ms+4ms, total 204ms I/initRecorderParameters( 4086): Indexing 44100Hz Sample Rate D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)++ D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)-- D/TinyALSA-Audio Input( 1855): audio_hw_open_input_stream(0x40e1db50, -2147483644, 0xbec2985c, 0xbec29848) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_input_state(1) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=1)++ D/TinyALSA-Audio Mixer( 1855): Unable to find default device D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=1)-- D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_device(80000004) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_route(card=0,device=-2147483644)++ D/TinyALSA-Audio Mixer( 1855): Setting AD Analog Volume to 26 D/TinyALSA-Audio Mixer( 1855): Setting Mic 1 Gain Volume to 2 D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_route(card=0,device=-2147483644)-- D/Yamaha-MC1N2-Audio( 1855): yamaha_mc1n2_audio_set_route(80000004) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)++ D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)-- I/initRecorderParameters( 4086): initRecorderParameters(sRates) has found recorder settings supported by the device: I/initRecorderParameters( 4086): Source = MICROPHONE I/initRecorderParameters( 4086): sRate = 44100Hz I/initRecorderParameters( 4086): Channel = MONO I/initRecorderParameters( 4086): Encoding = 16BIT D/TinyALSA-Audio Input( 1855): audio_hw_close_input_stream(0x40a4a0f8) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_input_state(0) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=0)++ D/TinyALSA-Audio Mixer( 1855): Setting AD Analog Volume to 19 D/TinyALSA-Audio Mixer( 1855): Setting Mic 1 Gain Volume to 0 D/TinyALSA-Audio Mixer( 1855): Unable to find default device D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=0)-- D/dalvikvm( 4086): GC_FOR_ALLOC freed 1189K, 27% free 7616K/10336K, paused 13ms, total 13ms D/ASR ( 4086): External storage will be used for recordings D/dalvikvm( 4086): Trying to load lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98 D/dalvikvm( 4086): Added shared lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98 D/dalvikvm( 4086): No JNI_onload found in /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98, skipping init D/libEGL ( 4086): loaded /system/lib/egl/libEGL_mali.so D/libEGL ( 4086): loaded /system/lib/egl/libGLESv1_CM_mali.so D/libEGL ( 4086): loaded /system/lib/egl/libGLESv2_mali.so E/ ( 4086): Device driver API match E/ ( 4086): Device driver API version: 17 E/ ( 4086): User space API version: 17 E/ ( 4086): mali: REVISION=Linux-r3p1-01rel1 BUILD_DATE=Tue Jul 2 15:06:24 KST 2013 D/OpenGLRenderer( 4086): Enabling debug mode 0 I/ActivityManager( 2183): Displayed com.nll.asr/.MainActivity: +1s579ms (total +8s467ms) D/RECORD_ON_START( 4086): false D/handlerPOPULATE_RECORDINGS_CACHE( 4086): Recording list cache populated from another thread D/lights ( 2183): set_light_buttons off W/ActivityManager( 2183): Timeout executing service: ServiceRecord{426415a8 u0 com.andrew.apollo/.MusicPlaybackService} I/ActivityManager( 2183): Crashing app skipping ANR: ProcessRecord{4212abb8 4073:com.andrew.apollo:main/u0a10000} Executing service com.andrew.apollo/.MusicPlaybackService I/wpa_supplicant( 2381): wlan0: WPA: Group rekeying completed with 6c:9c:ed:ed:6b:e1 [GTK=CCMP] I/PowerManagerService( 2183): Going to sleep due to screen timeout... D/SurfaceFlinger( 1852): Screen released, type=0 flinger=0x41149318 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/AKMD2 ( 2183): akm_disable_sensor: Accel is disabled. (orien = 0) I/AKMD2 ( 2183): enable_accelerometer, mEnabled = 1, enable = 0 D/AccelerometerListener( 2443): enable(false) D/TinyALSA-Audio Hardware( 1855): audio_hw_set_parameters(0x40e1db50, screen_state=off)++ D/TinyALSA-Audio Hardware( 1855): audio_hw_set_parameters(0x40e1db50, screen_state=off)-- (PARAMETER ERROR) I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_CONCURRENT freed 1626K, 21% free 12029K/15216K, paused 4ms+5ms, total 121ms D/dalvikvm( 2183): WAIT_FOR_CONCURRENT_GC blocked 40ms I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_FOR_ALLOC freed 565K, 15% free 13027K/15216K, paused 48ms, total 48ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 22K, 15% free 13109K/15320K, paused 45ms, total 46ms I/dalvikvm-heap( 2183): Grow heap (frag case) to 13.647MB for 104992-byte allocation I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_FOR_ALLOC freed 22K, 15% free 13239K/15424K, paused 48ms, total 48ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 7K, 15% free 13336K/15528K, paused 52ms, total 52ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 3K, 15% free 13442K/15632K, paused 164ms, total 164ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13544K/15736K, paused 207ms, total 207ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 3K, 14% free 13651K/15840K, paused 207ms, total 207ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13753K/15944K, paused 211ms, total 211ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 4K, 14% free 13860K/16048K, paused 210ms, total 210ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13962K/16152K, paused 211ms, total 211ms I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/PhoneStatusBar( 2302): disable: < expand icons alerts ticker system_info back home RECENT* clock SEARCH* > I/Choreographer( 2183): Skipped 92 frames! The application may be doing too much work on its main thread. V/TAG ( 2183): bug 7643792: fitSystemWindows([0,38][0,0]) D/PhoneStatusBar( 2302): disable: < expand icons alerts ticker system_info BACK* HOME* RECENT CLOCK* SEARCH > W/ThrottleService( 2183): unable to find stats for iface pdp0 [/code]

    JIRA | 3 years ago | Generic San
    java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException
  3. 0

    Full factory reset , format /system, wipe /cache + Dalvik. I did also have CardDav and CalDav-free installed for Contacts and Calander... Apologies. However both of them were stable with 10.1 nightlies and 10.2 nightlies Install 10.1.3 RC .zip via Recovery. Apollo crashes everytime, and this autostarts after boot, and crashes. Attempted many times after several reboots. logcat below [code] D/dalvikvm( 2679): GC_CONCURRENT freed 1138K, 18% free 6615K/8012K, paused 22ms+124ms, total 318ms D/dalvikvm( 2679): WAIT_FOR_CONCURRENT_GC blocked 39ms D/dalvikvm( 2679): WAIT_FOR_CONCURRENT_GC blocked 30ms I/ActivityManager( 2183): Start proc com.andrew.apollo for broadcast com.andrew.apollo/.appwidgets.RecentWidgetProvider: pid=3227 uid=10000 gids={50000, 1015, 3003, 1028} W/Trace ( 3227): error opening trace file: No such file or directory (2) I/ActivityManager( 2183): Start proc com.android.calendar for broadcast com.android.calendar/.widget.CalendarAppWidgetProvider: pid=3245 uid=10009 gids={50009, 3003, 1028} I/ActivityManager( 2183): No longer want com.android.cellbroadcastreceiver (pid 2779): empty #17 W/Trace ( 3245): error opening trace file: No such file or directory (2) W/ResourceType( 3227): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 3227): Shutting down VM W/dalvikvm( 3227): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 3227): FATAL EXCEPTION: main E/AndroidRuntime( 3227): java.lang.RuntimeException: Unable to bind to service com.andrew.apollo.appwidgets.RecentWidgetService@41fbcc60 with Intent { dat=intent: cmp=com.andrew.apollo/.appwidgets.RecentWidgetService (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 3227): at android.app.ActivityThread.handleBindService(ActivityThread.java:2696) E/AndroidRuntime( 3227): at android.app.ActivityThread.access$1700(ActivityThread.java:153) E/AndroidRuntime( 3227): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334) E/AndroidRuntime( 3227): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 3227): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 3227): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 3227): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 3227): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 3227): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 3227): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 3227): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 3227): Caused by: java.lang.NullPointerException E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 3227): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 3227): at com.andrew.apollo.appwidgets.RecentWidgetService$WidgetRemoteViewsFactory.<init>(RecentWidgetService.java:91) E/AndroidRuntime( 3227): at com.andrew.apollo.appwidgets.RecentWidgetService.onGetViewFactory(RecentWidgetService.java:44) E/AndroidRuntime( 3227): at android.widget.RemoteViewsService.onBind(RemoteViewsService.java:241) E/AndroidRuntime( 3227): at android.app.ActivityThread.handleBindService(ActivityThread.java:2683) E/AndroidRuntime( 3227): ... 10 more I/ActivityManager( 2183): Start proc com.android.providers.calendar for content provider com.android.providers.calendar/.CalendarProvider2: pid=3267 uid=10010 gids={50010, 3003, 1015, 1028} W/Trace ( 3267): error opening trace file: No such file or directory (2) I//system/bin/fsck_msdos( 1848): ** Phase 4 - Checking for Lost Files I//system/bin/fsck_msdos( 1848): Next free cluster in FSInfo block (37239) not free I//system/bin/fsck_msdos( 1848): FIXED .... SNIP .... D/dalvikvm( 3025): GC_CONCURRENT freed 470K, 55% free 3474K/7696K, paused 3ms+10ms, total 75ms W/Settings( 2443): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/AlarmManagerService( 2183): Kernel timezone updated to -120 minutes west of GMT D/dalvikvm( 2679): GC_FOR_ALLOC freed 1386K, 22% free 7607K/9688K, paused 92ms, total 102ms D/dalvikvm( 3025): GC_CONCURRENT freed 374K, 55% free 3520K/7696K, paused 3ms+5ms, total 54ms D/dalvikvm( 3025): GC_CONCURRENT freed 159K, 51% free 3817K/7696K, paused 1ms+3ms, total 30ms E/k9 ( 3025): synchronizeMailbox E/k9 ( 3025): java.lang.Exception: Message count -1 for folder Sent E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.synchronizeMailboxSynchronous(MessagingController.java:1114) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.access$400(MessagingController.java:112) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController$8.run(MessagingController.java:935) E/k9 ( 3025): at com.fsck.k9.controller.MessagingController.run(MessagingController.java:436) E/k9 ( 3025): at java.lang.Thread.run(Thread.java:856) D/lights ( 2183): set_light_buttons on=1 I/Process ( 3227): Sending signal. PID: 3227 SIG: 9 I/ActivityManager( 2183): Process com.andrew.apollo (pid 3227) has died. W/ActivityManager( 2183): Scheduling restart of crashed service com.andrew.apollo/.appwidgets.RecentWidgetService in 5000ms I/ActivityManager( 2183): Start proc com.andrew.apollo for broadcast com.andrew.apollo/.appwidgets.RecentWidgetProvider: pid=3456 uid=10000 gids={50000, 1015, 3003, 1028} W/Settings( 2443): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/AlarmManagerService( 2183): Kernel timezone updated to -120 minutes west of GMT W/Trace ( 3456): error opening trace file: No such file or directory (2) W/ResourceType( 3456): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 3456): Shutting down VM W/dalvikvm( 3456): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 3456): FATAL EXCEPTION: main E/AndroidRuntime( 3456): java.lang.RuntimeException: Unable to bind to service com.andrew.apollo.appwidgets.RecentWidgetService@41fc2d18 with Intent { dat=intent: cmp=com.andrew.apollo/.appwidgets.RecentWidgetService (has extras) }: java.lang.NullPointerException E/AndroidRuntime( 3456): at android.app.ActivityThread.handleBindService(ActivityThread.java:2696) E/AndroidRuntime( 3456): at android.app.ActivityThread.access$1700(ActivityThread.java:153) E/AndroidRuntime( 3456): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334) E/AndroidRuntime( 3456): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 3456): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 3456): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 3456): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 3456): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 3456): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 3456): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 3456): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 3456): Caused by: java.lang.NullPointerException E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 3456): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 3456): at com.andrew.apollo.appwidgets.RecentWidgetService$WidgetRemoteViewsFactory.<init>(RecentWidgetService.java:91) E/AndroidRuntime( 3456): at com.andrew.apollo.appwidgets.RecentWidgetService.onGetViewFactory(RecentWidgetService.java:44) E/AndroidRuntime( 3456): at android.widget.RemoteViewsService.onBind(RemoteViewsService.java:241) E/AndroidRuntime( 3456): at android.app.ActivityThread.handleBindService(ActivityThread.java:2683) E/AndroidRuntime( 3456): ... 10 more W/ActivityManager( 2183): Process com.andrew.apollo has crashed too many times: killing! I/ActivityManager( 2183): Killing proc 3456:com.andrew.apollo/u0a10000: crash D/dalvikvm( 2449): GC_CONCURRENT freed 1539K, 18% free 8241K/10028K, paused 2ms+8ms, total 51ms I/ActivityManager( 2183): No longer want com.keramidas.TitaniumBackup (pid 2988): empty #17 I/ActivityManager( 2183): No longer want com.android.voicedialer (pid 2954): empty #18 D/Tethering( 2183): MasterInitialState.processMessage what=3 W/BroadcastQueue( 2183): Unable to launch app com.andrew.apollo/10000 for broadcast Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=com.andrew.apollo/.appwidgets.RecentWidgetProvider (has extras) }: process is bad D/Tethering( 2183): MasterInitialState.processMessage what=3 D/dalvikvm( 2449): GC_FOR_ALLOC freed 195K, 18% free 8579K/10456K, paused 66ms, total 66ms I/dalvikvm-heap( 2449): Grow heap (frag case) to 10.000MB for 925072-byte allocation D/dalvikvm( 2449): GC_FOR_ALLOC freed 3K, 17% free 9479K/11360K, paused 41ms, total 41ms I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity} from pid 2449 D/PermissionCache( 1852): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (435 us) ... SNIP ... I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.andrew.apollo/.ui.activities.HomeActivity} from pid 2449 I/ActivityManager( 2183): Start proc com.andrew.apollo for activity com.andrew.apollo/.ui.activities.HomeActivity: pid=4031 uid=10000 gids={50000, 1015, 3003, 1028} W/Trace ( 4031): error opening trace file: No such file or directory (2) W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 I/ActivityManager( 2183): Start proc com.andrew.apollo:main for service com.andrew.apollo/.MusicPlaybackService: pid=4045 uid=10000 gids={50000, 1015, 3003, 1028} W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/Trace ( 4045): error opening trace file: No such file or directory (2) W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4045): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4045): Shutting down VM W/dalvikvm( 4045): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4045): FATAL EXCEPTION: main E/AndroidRuntime( 4045): java.lang.RuntimeException: Unable to create service com.andrew.apollo.MusicPlaybackService: java.lang.NullPointerException E/AndroidRuntime( 4045): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2667) E/AndroidRuntime( 4045): at android.app.ActivityThread.access$1600(ActivityThread.java:153) E/AndroidRuntime( 4045): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) E/AndroidRuntime( 4045): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4045): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4045): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4045): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4045): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4045): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4045): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4045): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4045): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4045): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4045): at com.andrew.apollo.MusicPlaybackService.onCreate(MusicPlaybackService.java:519) E/AndroidRuntime( 4045): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657) E/AndroidRuntime( 4045): ... 10 more W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 D/dalvikvm( 2183): GC_FOR_ALLOC freed 1115K, 27% free 10706K/14592K, paused 55ms, total 55ms I/dalvikvm-heap( 2183): Grow heap (frag case) to 11.807MB for 635812-byte allocation W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 W/ResourceType( 4031): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4031): Shutting down VM W/dalvikvm( 4031): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4031): FATAL EXCEPTION: main E/AndroidRuntime( 4031): java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException E/AndroidRuntime( 4031): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2870) E/AndroidRuntime( 4031): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2899) E/AndroidRuntime( 4031): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363) E/AndroidRuntime( 4031): at android.app.ActivityThread.access$600(ActivityThread.java:153) E/AndroidRuntime( 4031): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) E/AndroidRuntime( 4031): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4031): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4031): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4031): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4031): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4031): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4031): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4031): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4031): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4031): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4031): at com.andrew.apollo.utils.ApolloUtils.getImageFetcher(ApolloUtils.java:265) E/AndroidRuntime( 4031): at com.andrew.apollo.ui.activities.BaseActivity.updateBottomActionBarInfo(BaseActivity.java:337) E/AndroidRuntime( 4031): at com.andrew.apollo.ui.activities.BaseActivity.onresume(BaseActivity.java:239) E/AndroidRuntime( 4031): at android.app.Instrumentation.callActivityonresume(Instrumentation.java:1185) E/AndroidRuntime( 4031): at android.app.Activity.performResume(Activity.java:5182) E/AndroidRuntime( 4031): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2860) E/AndroidRuntime( 4031): ... 12 more W/ActivityManager( 2183): Process com.andrew.apollo has crashed too many times: killing! W/ActivityManager( 2183): Force finishing activity com.andrew.apollo/.ui.activities.HomeActivity I/ActivityManager( 2183): Killing proc 4031:com.andrew.apollo/u0a10000: crash I/Process ( 4045): Sending signal. PID: 4045 SIG: 9 I/ActivityManager( 2183): Process com.andrew.apollo:main (pid 4045) has died. W/ActivityManager( 2183): Scheduling restart of crashed service com.andrew.apollo/.MusicPlaybackService in 5000ms W/InputMethodManagerService( 2183): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42397de8 attribute=null, token = android.os.BinderProxy@42784588 I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 2183 D/dalvikvm( 2302): GC_FOR_ALLOC freed 1775K, 34% free 7898K/11924K, paused 100ms, total 100ms I/ActivityManager( 2183): Start proc com.andrew.apollo:main for service com.andrew.apollo/.MusicPlaybackService: pid=4073 uid=10000 gids={50000, 1015, 3003, 1028} I/ActivityManager( 2183): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nll.asr/.MainActivity bnds=[384,605][480,705]} from pid 2449 D/dalvikvm( 1853): GC_EXPLICIT freed 37K, 70% free 2337K/7696K, paused 3ms+8ms, total 56ms D/dalvikvm( 1853): GC_EXPLICIT freed <1K, 70% free 2337K/7696K, paused 3ms+6ms, total 54ms D/dalvikvm( 1853): GC_EXPLICIT freed <1K, 70% free 2337K/7696K, paused 2ms+7ms, total 40ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 211K, 24% free 11612K/15216K, paused 111ms, total 113ms W/Trace ( 4073): error opening trace file: No such file or directory (2) I/ActivityManager( 2183): Start proc com.nll.asr for activity com.nll.asr/.MainActivity: pid=4086 uid=10061 gids={50061, 3003, 1015, 1028} W/ResourceType( 4073): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime( 4073): Shutting down VM W/dalvikvm( 4073): threadid=1: thread exiting with uncaught exception (group=0x41d30930) E/AndroidRuntime( 4073): FATAL EXCEPTION: main E/AndroidRuntime( 4073): java.lang.RuntimeException: Unable to create service com.andrew.apollo.MusicPlaybackService: java.lang.NullPointerException E/AndroidRuntime( 4073): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2667) E/AndroidRuntime( 4073): at android.app.ActivityThread.access$1600(ActivityThread.java:153) E/AndroidRuntime( 4073): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) E/AndroidRuntime( 4073): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 4073): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 4073): at android.app.ActivityThread.main(ActivityThread.java:5227) E/AndroidRuntime( 4073): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 4073): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 4073): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 4073): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 4073): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 4073): Caused by: java.lang.NullPointerException E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89) E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62) E/AndroidRuntime( 4073): at com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73) E/AndroidRuntime( 4073): at com.andrew.apollo.MusicPlaybackService.onCreate(MusicPlaybackService.java:519) E/AndroidRuntime( 4073): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657) E/AndroidRuntime( 4073): ... 10 more W/Trace ( 4086): error opening trace file: No such file or directory (2) D/dalvikvm( 4086): GC_FOR_ALLOC freed 700K, 36% free 4984K/7696K, paused 14ms, total 14ms I/dalvikvm-heap( 4086): Grow heap (frag case) to 8.185MB for 2700016-byte allocation D/dalvikvm( 4086): GC_CONCURRENT freed 3K, 27% free 7617K/10336K, paused 3ms+1ms, total 24ms D/MtpService( 2391): updating state; isCurrentUser=true, mMtpLocked=false D/MtpService( 2391): addStorageLocked 65537 /storage/sdcard0 D/MtpService( 2391): addStorageLocked 131073 /storage/sdcard1 D/MtpService( 2391): updating state; isCurrentUser=true, mMtpLocked=false D/MtpService( 2391): starting MTP server in MTP mode D/MtpService( 2391): addStorageLocked 131073 /storage/sdcard1 D/MtpService( 2391): addStorageLocked 65537 /storage/sdcard0 D/dalvikvm( 2679): GC_CONCURRENT freed 1645K, 21% free 7644K/9644K, paused 47ms+4ms, total 204ms I/initRecorderParameters( 4086): Indexing 44100Hz Sample Rate D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)++ D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)-- D/TinyALSA-Audio Input( 1855): audio_hw_open_input_stream(0x40e1db50, -2147483644, 0xbec2985c, 0xbec29848) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_input_state(1) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=1)++ D/TinyALSA-Audio Mixer( 1855): Unable to find default device D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=1)-- D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_device(80000004) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_route(card=0,device=-2147483644)++ D/TinyALSA-Audio Mixer( 1855): Setting AD Analog Volume to 26 D/TinyALSA-Audio Mixer( 1855): Setting Mic 1 Gain Volume to 2 D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_route(card=0,device=-2147483644)-- D/Yamaha-MC1N2-Audio( 1855): yamaha_mc1n2_audio_set_route(80000004) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)++ D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_get_input_props(0x40e1dc00) D/TinyALSA-Audio Hardware( 1855): audio_hw_get_input_buffer_size(0x40e1db50, 44100, 1, 1)-- I/initRecorderParameters( 4086): initRecorderParameters(sRates) has found recorder settings supported by the device: I/initRecorderParameters( 4086): Source = MICROPHONE I/initRecorderParameters( 4086): sRate = 44100Hz I/initRecorderParameters( 4086): Channel = MONO I/initRecorderParameters( 4086): Encoding = 16BIT D/TinyALSA-Audio Input( 1855): audio_hw_close_input_stream(0x40a4a0f8) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_input_state(0) D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=0)++ D/TinyALSA-Audio Mixer( 1855): Setting AD Analog Volume to 19 D/TinyALSA-Audio Mixer( 1855): Setting Mic 1 Gain Volume to 0 D/TinyALSA-Audio Mixer( 1855): Unable to find default device D/TinyALSA-Audio Mixer( 1855): tinyalsa_mixer_set_state(direction=1, state=0)-- D/dalvikvm( 4086): GC_FOR_ALLOC freed 1189K, 27% free 7616K/10336K, paused 13ms, total 13ms D/ASR ( 4086): External storage will be used for recordings D/dalvikvm( 4086): Trying to load lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98 D/dalvikvm( 4086): Added shared lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98 D/dalvikvm( 4086): No JNI_onload found in /data/app-lib/com.nll.asr-1/libmp3lame.so 0x41fb2c98, skipping init D/libEGL ( 4086): loaded /system/lib/egl/libEGL_mali.so D/libEGL ( 4086): loaded /system/lib/egl/libGLESv1_CM_mali.so D/libEGL ( 4086): loaded /system/lib/egl/libGLESv2_mali.so E/ ( 4086): Device driver API match E/ ( 4086): Device driver API version: 17 E/ ( 4086): User space API version: 17 E/ ( 4086): mali: REVISION=Linux-r3p1-01rel1 BUILD_DATE=Tue Jul 2 15:06:24 KST 2013 D/OpenGLRenderer( 4086): Enabling debug mode 0 I/ActivityManager( 2183): Displayed com.nll.asr/.MainActivity: +1s579ms (total +8s467ms) D/RECORD_ON_START( 4086): false D/handlerPOPULATE_RECORDINGS_CACHE( 4086): Recording list cache populated from another thread D/lights ( 2183): set_light_buttons off W/ActivityManager( 2183): Timeout executing service: ServiceRecord{426415a8 u0 com.andrew.apollo/.MusicPlaybackService} I/ActivityManager( 2183): Crashing app skipping ANR: ProcessRecord{4212abb8 4073:com.andrew.apollo:main/u0a10000} Executing service com.andrew.apollo/.MusicPlaybackService I/wpa_supplicant( 2381): wlan0: WPA: Group rekeying completed with 6c:9c:ed:ed:6b:e1 [GTK=CCMP] I/PowerManagerService( 2183): Going to sleep due to screen timeout... D/SurfaceFlinger( 1852): Screen released, type=0 flinger=0x41149318 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/AKMD2 ( 2183): akm_disable_sensor: Accel is disabled. (orien = 0) I/AKMD2 ( 2183): enable_accelerometer, mEnabled = 1, enable = 0 D/AccelerometerListener( 2443): enable(false) D/TinyALSA-Audio Hardware( 1855): audio_hw_set_parameters(0x40e1db50, screen_state=off)++ D/TinyALSA-Audio Hardware( 1855): audio_hw_set_parameters(0x40e1db50, screen_state=off)-- (PARAMETER ERROR) I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_CONCURRENT freed 1626K, 21% free 12029K/15216K, paused 4ms+5ms, total 121ms D/dalvikvm( 2183): WAIT_FOR_CONCURRENT_GC blocked 40ms I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_FOR_ALLOC freed 565K, 15% free 13027K/15216K, paused 48ms, total 48ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 22K, 15% free 13109K/15320K, paused 45ms, total 46ms I/dalvikvm-heap( 2183): Grow heap (frag case) to 13.647MB for 104992-byte allocation I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/dalvikvm( 2183): GC_FOR_ALLOC freed 22K, 15% free 13239K/15424K, paused 48ms, total 48ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 7K, 15% free 13336K/15528K, paused 52ms, total 52ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 3K, 15% free 13442K/15632K, paused 164ms, total 164ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13544K/15736K, paused 207ms, total 207ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 3K, 14% free 13651K/15840K, paused 207ms, total 207ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13753K/15944K, paused 211ms, total 211ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 4K, 14% free 13860K/16048K, paused 210ms, total 210ms D/dalvikvm( 2183): GC_FOR_ALLOC freed 2K, 14% free 13962K/16152K, paused 211ms, total 211ms I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4 D/PhoneStatusBar( 2302): disable: < expand icons alerts ticker system_info back home RECENT* clock SEARCH* > I/Choreographer( 2183): Skipped 92 frames! The application may be doing too much work on its main thread. V/TAG ( 2183): bug 7643792: fitSystemWindows([0,38][0,0]) D/PhoneStatusBar( 2302): disable: < expand icons alerts ticker system_info BACK* HOME* RECENT CLOCK* SEARCH > W/ThrottleService( 2183): unable to find stats for iface pdp0 [/code]

    JIRA | 3 years ago | Generic San
    java.lang.RuntimeException: Unable to resume activity {com.andrew.apollo/com.andrew.apollo.ui.activities.HomeActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.NullPointerException

      No message provided

      at com.andrew.apollo.cache.ImageWorker.<init>()
    2. com.andrew.apollo
      BaseActivity.onresume
      1. com.andrew.apollo.cache.ImageWorker.<init>(ImageWorker.java:89)
      2. com.andrew.apollo.cache.ImageFetcher.<init>(ImageFetcher.java:62)
      3. com.andrew.apollo.cache.ImageFetcher.getInstance(ImageFetcher.java:73)
      4. com.andrew.apollo.utils.ApolloUtils.getImageFetcher(ApolloUtils.java:265)
      5. com.andrew.apollo.ui.activities.BaseActivity.updateBottomActionBarInfo(BaseActivity.java:337)
      6. com.andrew.apollo.ui.activities.BaseActivity.onresume(BaseActivity.java:239)
      6 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityonresume(Instrumentation.java:1185)
      2. android.app.Activity.performResume(Activity.java:5182)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2860)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2899)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
      6. android.app.ActivityThread.access$600(ActivityThread.java:153)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
      8. android.os.Handler.dispatchMessage(Handler.java:99)
      9. android.os.Looper.loop(Looper.java:137)
      10. android.app.ActivityThread.main(ActivityThread.java:5227)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame