Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated mapbox-android-sdk to 4.2.1 to fix android crash #481

Merged
merged 1 commit into from
Feb 7, 2017
Merged

updated mapbox-android-sdk to 4.2.1 to fix android crash #481

merged 1 commit into from
Feb 7, 2017

Conversation

fab1an
Copy link
Contributor

@fab1an fab1an commented Dec 29, 2016

@K-Leon
Copy link

K-Leon commented Jan 4, 2017

I'm seeing this crash mapbox/mapbox-gl-native#7587 too while using 4.2.1. Did u manage to work around this?

@fab1an
Copy link
Contributor Author

fab1an commented Jan 5, 2017

No.

@bsudekum bsudekum merged commit 36048db into nitaliano:master Feb 7, 2017
@K-Leon
Copy link

K-Leon commented Feb 7, 2017

@bsudekum I've seen you merged this commit. Without fix of mapbox/mapbox-gl-native#7587 its breaking react native mapbox.

@Taakn
Copy link

Taakn commented Apr 6, 2017

I am seeing the following error when connectivity changes on 5.1.0

java.lang.RuntimeException Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 bqHint=4 (has extras) } in com.mapbox.mapboxsdk.maps.MapView$ConnectivityReceiver@ebb4881 
    LoadedApk.java:1003 android.app.LoadedApk$ReceiverDispatcher$Args.run
    Handler.java:739 android.os.Handler.handleCallback
    Handler.java:95 android.os.Handler.dispatchMessage
    Looper.java:158 android.os.Looper.loop
    ActivityThread.java:7229 android.app.ActivityThread.main
    Method.java:-2 java.lang.reflect.Method.invoke
    ZygoteInit.java:1230 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
    ZygoteInit.java:1120 com.android.internal.os.ZygoteInit.main


Caused: java.lang.NullPointerException Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.maps.NativeMapView.setReachability(boolean)' on a null object reference 
    MapView.java:2357 com.mapbox.mapboxsdk.maps.MapView.onConnectivityChanged
    MapView.java:115 com.mapbox.mapboxsdk.maps.MapView.access$3100
    MapView.java:2342 com.mapbox.mapboxsdk.maps.MapView$ConnectivityReceiver.onReceive
    LoadedApk.java:993 android.app.LoadedApk$ReceiverDispatcher$Args.run
    Handler.java:739 android.os.Handler.handleCallback
    Handler.java:95 android.os.Handler.dispatchMessage
    Looper.java:158 android.os.Looper.loop
    ActivityThread.java:7229 android.app.ActivityThread.main
    Method.java:-2 java.lang.reflect.Method.invoke
    ZygoteInit.java:1230 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
    ZygoteInit.java:1120 com.android.internal.os.ZygoteInit.main

mattvot pushed a commit to calvium/react-native-mapbox-gl that referenced this pull request Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants