Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

NPE on HTTPRequest.onResponse #11412

Closed
kingfisherphuoc opened this issue Mar 8, 2018 · 1 comment
Closed

NPE on HTTPRequest.onResponse #11412

kingfisherphuoc opened this issue Mar 8, 2018 · 1 comment
Labels
Android Mapbox Maps SDK for Android

Comments

@kingfisherphuoc
Copy link

Platform: Adroid
Mapbox SDK version: 5.5.0

Steps to trigger behavior

  1. Open and load mapview
  2. Mapbox got crash with below log:
Exception java.lang.NullPointerException:
okio.GzipSource.updateCrc (GzipSource.java:189)
okio.GzipSource.read (GzipSource.java:82)
okio.Buffer.writeAll (Buffer.java:1053)
okio.RealBufferedSource.readByteArray (RealBufferedSource.java:108)
okhttp3.ResponseBody.bytes (ResponseBody.java:136)
com.mapbox.mapboxsdk.http.HTTPRequest.onResponse (HTTPRequest.java:141)
okhttp3.RealCall$AsyncCall.execute (RealCall.java:153)
okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
java.lang.Thread.run (Thread.java:848)

I got the log from Firebase. Do you have any idea? @tobrun

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Mar 8, 2018
@tobrun tobrun added this to the android-v6.0.0 milestone Mar 8, 2018
@tobrun
Copy link
Member

tobrun commented Mar 8, 2018

Fixed with #11413

@tobrun tobrun closed this as completed Mar 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

2 participants