RUNO Active Member Licensed User Longtime User Jul 6, 2020 #1 I used example of Erel I have api key,I put it Why this error ? Waiting for debugger to connect... Program started. Alert: loadMapLibrary mapLibraryLoaded! Alert: !!!mapLibraryLoaded!!! Error occurred on line: 64 (Main) java.lang.NullPointerException at com.lynden.gmapsfx.javascript.object.GoogleMap.internalGetZoom(GoogleMap.java:76) at com.lynden.gmapsfx.javascript.object.GoogleMap.zoomProperty(GoogleMap.java:93) at com.lynden.gmapsfx.javascript.object.GoogleMap.setZoom(GoogleMap.java:68) at anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MoveCamera(GoogleMapWrapper.java:239) at b4j.google.map.main._btnresetmap_action(main.java:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
I used example of Erel I have api key,I put it Why this error ? Waiting for debugger to connect... Program started. Alert: loadMapLibrary mapLibraryLoaded! Alert: !!!mapLibraryLoaded!!! Error occurred on line: 64 (Main) java.lang.NullPointerException at com.lynden.gmapsfx.javascript.object.GoogleMap.internalGetZoom(GoogleMap.java:76) at com.lynden.gmapsfx.javascript.object.GoogleMap.zoomProperty(GoogleMap.java:93) at com.lynden.gmapsfx.javascript.object.GoogleMap.setZoom(GoogleMap.java:68) at anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MoveCamera(GoogleMapWrapper.java:239) at b4j.google.map.main._btnresetmap_action(main.java:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
Erel B4X founder Staff member Licensed User Longtime User Jul 6, 2020 #2 Which version of B4J and which version of jGoogleMaps are you using? Upvote 0