Android Question Update to B4A 5.x

fishwolf

Well-Known Member
Licensed User
Longtime User
i have update b4a to 5.20 from 4.30
now my app return this error

speed parameter is null

B4X:
LocationManager has been initialized.
myapp.scheduler:_geoloc_locationchanged, [12.4165083, 41.9201546, 0.0, 30.0, 0.0, network, null, 1444328616741]
Error occurred on line: 104 (Scheduler)
java.lang.IllegalArgumentException: argument 7 should have type float, got null
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:668)
   at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:334)
   at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:244)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:132)
   at anywheresoftware.b4a.BA.raiseEvent(BA.java:171)
   at com.rootsoft.locationmanager.LocationManager1$1.onLocationChanged(LocationManager1.java:54)
   at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:255)
   at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:184)
   at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:200)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:137)
   at android.app.ActivityThread.main(ActivityThread.java:5289)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
   at dalvik.system.NativeStart.main(Native Method)
 
Top