Locus Map - forum

Support => Troubles & Questions => Topic started by: mambofive on April 28, 2011, 08:26:06

Title: App crash after selecting imported POI
Post by: mambofive on April 28, 2011, 08:26:06
Hi menion,

first of all: great app! - I use Locus pro mainly for geocaching, IMHO it's currently the best geocaching app on Android.

I have a small bug which causes to crash the app:
After importing geocaches which are already stored as POI (I selected to overwrite the existing caches), the app sometimes crashes when selecting the geocache on the map. After restarting the app, everything works fine.

Keep on the good work!

TFTA (thanks for the app...)
   mambofive.

The crash log:
 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>crash-1303971092697.err</comment>
<entry key="ID_KEY">MILS2_U6_2.2.16</entry>
<entry key="PACKAGE_NAME_KEY">menion.android.locus.pro</entry>
<entry key="STACK_TRACE_KEY">java.lang.NullPointerException
        at menion.android.locus.core.maps.MapScreenView.a(MT:225)
        at menion.android.maps.MapScreenView.a(MT:378)
        at menion.android.maps.g.onSingleTapConfirmed(MT:639)
        at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:271)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:143)
        at android.app.ActivityThread.main(ActivityThread.java:4717)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:521)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
        at dalvik.system.NativeStart.main(Native Method)
</entry>
<entry key="CUSTOM_DATA_KEY"></entry>
<entry key="TYPE_KEY">user</entry>
<entry key="FINGERPRINT_KEY">MOTO/DACH/umts_milestone2/A953:2.2/MILS2_U6_2.2.16/287379711:user/ota-rel-keys,release-keys</entry>
<entry key="FILE_PATH_KEY">/data/data/menion.android.locus.pro/files</entry>
<entry key="TIME_KEY">1286589011000</entry>
<entry key="VERSION_NAME_KEY">1.6.1</entry>
<entry key="USER_KEY">w00168</entry>
<entry key="TOTAL_MEM_SIZE_KEY">6956396544</entry>
<entry key="ANDROID_VERSION_KEY">2.2</entry>
<entry key="PHONE_MODEL_KEY">MotoA953</entry>
<entry key="DISPLAY_KEY">MILS2_U6_2.2.16</entry>
<entry key="MODEL_KEY">MotoA953</entry>
<entry key="BOARD_KEY">A953</entry>
<entry key="DEVICE_KEY">umts_milestone2</entry>
<entry key="PRODUCT_KEY">DACH</entry>
<entry key="BRAND_KEY">MOTO</entry>
<entry key="AVAILABLE_MEM_SIZE_KEY">6542766080</entry>
<entry key="HOST_KEY">ca25rhe82</entry>
<entry key="TAGS_KEY">ota-rel-keys,release-keys</entry>
</properties>
Title: Re: App crash after selecting imported POI
Post by: menion on April 28, 2011, 09:03:46
thanks! after rewriting points, I was still pointing to old ones. So now when you import data to category and some items are on map, I'll firstly hide them all. No problem to display them again after import.