cgeo/c-geo-opensource — Issue #655: NullP on nearest search
Author: mucek4
Created: 2011-10-11 07:56:43+00:00
State: open

Current one from Market. I don't have anything more than this but the last part seems to be interesting.

Line 623 is:
cachesIntent.putExtra("latitude", geo.coordsNow.getLatitude());
Can doordsnow be null?

java.lang.IllegalStateException: Could not execute method of the activity
at android.view.View$1.onClick(View.java:2154)
at android.view.View.performClick(View.java:2538)
at android.view.View$PerformClick.run(View.java:9152)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at android.view.View$1.onClick(View.java:2149)
... 11 more
Caused by: java.lang.NullPointerException
at cgeo.geocaching.cgeo.cgeoFindNearest(cgeo.java:623)
... 14 more