cgeo/c-geo-opensource — Issue #737: NPE when looking at nearby caches
Author: samueltardieu
Created: 2011-10-31 12:30:13+00:00
State: open
Labels: bug, high

Version b489b69ce090b64e6fd7059ee1e0d1fbb592ab69 does not work for me, it crashes when querying nearby caches:

```
E/AndroidRuntime( 8495): FATAL EXCEPTION: Thread-20
E/AndroidRuntime( 8495): java.lang.NullPointerException
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgData.saveCache(cgData.java:1215)
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgeoapplication.storeWithMerge(cgeoapplication.java:593)
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgeoapplication.addSearch(cgeoapplication.java:557)
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgBase.searchByAny(cgBase.java:2175)
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgBase.searchByCoords$5bd01a3a(cgBase.java:2182)
E/AndroidRuntime( 8495):	at cgeo.geocaching.cgeocaches$geocachesLoadByCoords.run(cgeocaches.java:1874)
W/ActivityManager( 208): Force finishing activity cgeo.geocaching/.cgeocaches
```

@rsudev, did the merge you committed work perfectly for you?