hi guys
another problem ... on all my devices everything works fine.
but google pre release testing and some testers from client end up with:
The code responsible for that is this:
I tried to handle it by "If Results <> Null Then" but it seems it doesnt work. the worst thing is that I cant simulate that on any of my devices.
So I cant play around and try different things because that hellish error never apear to me whatever I do.
Thanks for advices
another problem ... on all my devices everything works fine.
but google pre release testing and some testers from client end up with:
B4X:
[B]java.lang.NullPointerException[/B]:
at cz.esol.xxxxxxx.main._geocoder1_geocodedone (main.java:973)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
at anywheresoftware.b4a.BA$2.run (BA.java:360)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:168)
at android.app.ActivityThread.main (ActivityThread.java:5885)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:797)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:687)
The code responsible for that is this:
B4X:
Sub Geocoder1_GeocodeDone(Results() As Address, Tag As Object)
If Results <> Null Then
If Results.Length>0 Then
Dim Address1 As Address
Dim i As Int
For i=0 To Results.Length-1
Address1=Results(i)
....
I tried to handle it by "If Results <> Null Then" but it seems it doesnt work. the worst thing is that I cant simulate that on any of my devices.
So I cant play around and try different things because that hellish error never apear to me whatever I do.
Thanks for advices