When you saw this error, was it a direct upgrade from the last-OTA'ed release, or had you installed other builds in the meantime without wiping data? I think there was an obscure bug if you somehow had allocated, but unmanaged, appWidgetIds.
j On Tue, Jun 2, 2009 at 5:19 AM, Blake B. <bbuckle...@yahoo.com> wrote: > > Any update on this? I'm encountering the same crash and would rather > not wipe my phone if I don't have to. Safe mode does not work. Phone > (stock G1) just keeps cycling at the Android logo image and I have to > pull the battery to kill it. > > I received the Cupcake OTA update on Saturday, and yesterday (Monday) > was the first time I rebooted the phone after the update. So, I've > never had a successful reboot with Cupcake. The offending call is in > com.android.server.AppWidgetService.readStateFromFileLocked > (AppWidgetService.java:972), getting IndexOutOfBoundsException. > > (BTW, great work on Cupcake. er.... except for this of course. :-) > > My stacktrace is the same as AndroidApp's: > > <my log> > 06-01 22:14:51.893: VERBOSE/WifiStateTracker(62): Connection to > supplicant established, state=SCANNING > 06-01 22:14:51.903: VERBOSE/WifiStateTracker(62): Changing supplicant > state: SCANNING ==> SCANNING > 06-01 22:14:51.913: INFO/SystemServer(62): Starting Location Manager. > 06-01 22:14:51.943: DEBUG/GpsLocationProvider(62): enable > 06-01 22:14:51.953: VERBOSE/WifiMonitor(62): Event [Trying to > associate with 00:1d:5a:d4:eb:d9 (SSID='2WIRE456' freq=2412 MHz)] > 06-01 22:14:51.953: VERBOSE/WifiMonitor(62): Event [CTRL-EVENT-STATE- > CHANGE id=-1 state=3] > 06-01 22:14:51.953: VERBOSE/WifiStateTracker(62): Changing supplicant > state: SCANNING ==> ASSOCIATING > 06-01 22:14:51.963: DEBUG/GpsLocationProvider(62): GpsEventThread > starting > 06-01 22:14:51.973: DEBUG/GpsLocationProvider(62): NetworkThread > starting > 06-01 22:14:51.973: DEBUG/GpsLocationProvider(62): NetworkThread wait > for network > 06-01 22:14:51.993: INFO/SystemServer(62): Starting Search Service. > 06-01 22:14:52.003: INFO/SystemServer(62): Starting Checkin Service. > 06-01 22:14:52.003: INFO/SystemServer(62): Starting Wallpaper Service > 06-01 22:14:52.013: DEBUG/WallpaperService(62): WallpaperService > startup > 06-01 22:14:52.023: INFO/SystemServer(62): Starting Audio Service > 06-01 22:14:52.083: DEBUG/AudioHardwareMSM72XX(35): setVoiceVolume > (0.600000) > 06-01 22:14:52.083: INFO/AudioHardwareMSM72XX(35): Setting in-call > volume to 3 (available range is 0 to 5) > 06-01 22:14:52.163: DEBUG/AudioHardwareMSM72XX(35): setVoiceVolume > (1.000000) > 06-01 22:14:52.163: INFO/AudioHardwareMSM72XX(35): Setting in-call > volume to 5 (available range is 0 to 5) > 06-01 22:14:52.183: DEBUG/dalvikvm(62): Trying to load lib /system/lib/ > libsoundpool.so 0x0 > 06-01 22:14:52.203: DEBUG/dalvikvm(62): Added shared lib /system/lib/ > libsoundpool.so 0x0 > 06-01 22:14:52.233: INFO/SystemServer(62): Starting HeadsetObserver > 06-01 22:14:52.293: INFO/SystemServer(62): Starting AppWidget Service > 06-01 22:14:52.763: DEBUG/dalvikvm(62): GC freed 4358 objects / 252408 > bytes in 417ms > 06-01 22:14:52.883: INFO/WindowManager(62): Menu key state: 0 > safeMode=false > 06-01 22:14:52.913: INFO/WindowManager(62): Config changed: > { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1/1 nav=3 orien=1 } > 06-01 22:14:52.943: DEBUG/PowerManagerService(62): system ready! > 06-01 22:14:52.963: WARN/ResourceType(62): No package identifier when > getting value for resource number 0x7f030000 > 06-01 22:14:52.983: WARN/ResourceType(62): No package identifier when > getting value for resource number 0x7f03000c > 06-01 22:14:52.993: WARN/ResourceType(62): No package identifier when > getting value for resource number 0x7f030000 > 06-01 22:14:53.003: WARN/ResourceType(62): No package identifier when > getting value for resource number 0x7f030003 > 06-01 22:14:53.253: DEBUG/dalvikvm(62): GC freed 2153 objects / 118592 > bytes in 235ms > 06-01 22:14:53.263: WARN/dalvikvm(62): threadid=13: thread exiting > with uncaught exception (group=0x4000fe70) > 06-01 22:14:53.273: ERROR/AndroidRuntime(62): Uncaught handler: thread > android.server.ServerThread exiting due to uncaught exception > 06-01 22:14:53.273: ERROR/AndroidRuntime(62): *** EXCEPTION IN SYSTEM > PROCESS. System will crash. > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): > java.lang.IndexOutOfBoundsException: Invalid location 1, size is 1 > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): at > java.util.ArrayList.get(ArrayList.java:353) > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): at > com.android.server.AppWidgetService.readStateFromFileLocked > (AppWidgetService.java:972) > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): at > com.android.server.AppWidgetService.loadStateLocked > (AppWidgetService.java:750) > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): at > com.android.server.AppWidgetService.systemReady(AppWidgetService.java: > 125) > 06-01 22:14:53.333: ERROR/AndroidRuntime(62): at > com.android.server.ServerThread.run(SystemServer.java:346) > 06-01 22:14:53.343: ERROR/AndroidRuntime(62): Crash logging skipped, > no checkin service > 06-01 22:14:53.353: INFO/Process(62): Sending signal. PID: 62 SIG: 9 > 06-01 22:14:53.383: INFO/ServiceManager(30): service 'batteryinfo' > died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'usagestats' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service > 'telephony.registry' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'SurfaceFlinger' > died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'power' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'package' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'activity' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service > 'activity.services' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'content' died > 06-01 22:14:53.393: INFO/ServiceManager(30): service 'meminfo' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'cpuinfo' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'permission' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service > 'activity.broadcasts' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service > 'activity.providers' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service > 'activity.senders' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'battery' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'hardware' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'alarm' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'sensor' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'window' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'bluetooth' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'bluetooth_a2dp' > died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'clipboard' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'netstat' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'input_method' > died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'statusbar' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'wifi' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'connectivity' > died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'mount' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'notification' > died > 06-01 22:14:53.403: INFO/ServiceManager(30): service > 'devicestoragemonitor' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'location' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'search' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'wallpaper' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'audio' died > 06-01 22:14:53.403: INFO/ServiceManager(30): service 'appwidget' died > 06-01 22:14:53.413: ERROR/installd(37): eof > 06-01 22:14:53.413: ERROR/installd(37): failed to read size > 06-01 22:14:53.413: INFO/installd(37): closing connection > 06-01 22:14:53.733: INFO/Zygote(34): Exit zygote because system server > (62) has terminated > 06-01 22:14:54.133: DEBUG/AndroidRuntime(110): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 06-01 22:14:54.143: DEBUG/AndroidRuntime(110): CheckJNI is OFF > 06-01 22:14:54.313: DEBUG/AndroidRuntime(110): --- registering native > functions --- > 06-01 22:14:54.563: INFO/Zygote(110): Preloading classes... > 06-01 22:14:54.573: DEBUG/dalvikvm(110): GC freed 762 objects / 42056 > bytes in 7ms > 06-01 22:14:54.763: DEBUG/dalvikvm(110): GC freed 278 objects / 17152 > bytes in 7ms > 06-01 22:14:54.923: DEBUG/dalvikvm(110): GC freed 208 objects / 12680 > bytes in 8ms > 06-01 22:14:55.023: DEBUG/dalvikvm(110): Trying to load lib /system/ > lib/libmedia_jni.so 0x0 > 06-01 22:14:55.253: DEBUG/dalvikvm(110): Added shared lib /system/lib/ > libmedia_jni.so 0x0 > 06-01 22:14:55.253: DEBUG/dalvikvm(110): Trying to load lib /system/ > lib/libmedia_jni.so 0x0 > <end my log> > > > > On May 25, 7:21 am, Mark Murphy <mmur...@commonsware.com> wrote: >> AndroidApp wrote: >> > just tried to reproduce it by installing and uinstalling keyboard, >> > that didnt crash the phone, so it looks like it's a widget service >> > problem. >> >> That was my interpretation from your posted stack trace. Did you have >> any widgets on your home screen beyond the standard ones? >> >> If you wish, post the stack trace over onhttp://b.android.com, so it >> doesn't get lost. >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://twitter.com/commonsguy >> >> _The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > > -- Jeff Sharkey jshar...@android.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---