Closed GoogleCodeExporter closed 9 years ago
Original comment by andpet@gmail.com
on 7 Feb 2010 at 3:05
Debugging. Cannot reproduce every time, but the following is a crash debug.
Cache List -> Cache -> Gps toolbox -> Go back -> Go back => Error.
D/NetworkLocationProvider( 1030): removeListener(): com.google.code.geobeagle
D/GpsLocationProvider( 1030): stopNavigating
D/libgps ( 1030): GpsInterface_stop()
D/libgps ( 1030): action_thread_main(): BP not in session, sending fake END cal
lback
D/libgps ( 1030): status_cb: GPS_STATUS_SESSION_END (2)
D/GpsLocationProvider( 1030): Releasing wakelock
D/NetworkLocationProvider( 1030): enableLocationTracking(): false
D/GeoBeagle( 1687): CacheListDelegate.onResume()
D/Sensors ( 1030): using sensors (name=sensors)
D/GpsLocationProvider( 1030): setMinTime 1000
D/GpsLocationProvider( 1030): startNavigating
D/libgps ( 1030): GpsInterface_set_position_mode( 1, 1 )
D/libgps ( 1030): GpsInterface_start()
D/NetworkLocationProvider( 1030): addListener(): com.google.code.geobeagle
D/NetworkLocationProvider( 1030): setMinTime: 1000
D/NetworkLocationProvider( 1030): enableLocationTracking(): true
D/GeoBeagle( 1687): startCalculation starts thread for coordinate diff latitude=
-0.016694783333335295 longitude=0.02304228333332503
D/libgps ( 1030): status_cb: GPS_STATUS_SESSION_BEGIN (1)
D/GpsLocationProvider( 1030): Acquiring wakelock
D/GeoBeagle( 1687): Thread starting to calculate
W/dalvikvm( 1687): threadid=21: thread exiting with uncaught exception (group=0x
4001b180)
E/AndroidRuntime( 1687): Uncaught handler: thread Thread-49 exiting due to uncau
ght exception
E/AndroidRuntime( 1687): java.lang.NullPointerException
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.DbFrontend
.count(DbFrontend.java:240)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderDb.getTotalCount(CachesProviderDb.java:209)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderCount.getCaches(CachesProviderCount.java:55)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderWaitForInit.getCaches(CachesProviderWaitForInit.java:24)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderSorted.updateSortedList(CachesProviderSorted.java:85)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderSorted.getCaches(CachesProviderSorted.java:98)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderToggler.getCaches(CachesProviderToggler.java:31)
E/AndroidRuntime( 1687): at com.google.code.geobeagle.database.CachesProv
iderCenterThread$CalculationThread.run(CachesProviderCenterThread.java:67)
I/Process ( 1030): Sending signal. PID: 1687 SIG: 3
I/dalvikvm( 1687): threadid=7: reacting to signal 3
I/dalvikvm( 1687): Wrote stack trace to '/data/anr/traces.txt'
D/NetworkLocationProvider( 1030): onCellLocationChanged [3393,515868,-1306754,20
8,7]
D/GpsLocationProvider( 1030): TTFF: 756
D/LocationMasfClient( 1030): getNetworkLocation(): Returning cache location with
accuracy 4075.0
D/libgps ( 1030): GpsInterface_inject_location( 35.853616, -90.767365, 4075.000
Original comment by markalbertschneider@gmail.com
on 8 Feb 2010 at 8:06
Thank you Mark for the analysis. A work-around is committed before r1011.
Original comment by andpet@gmail.com
on 21 Feb 2010 at 4:38
Original issue reported on code.google.com by
t.muelle...@gmail.com
on 10 Jan 2010 at 8:40