nextgis / android_gisapp

:dart: GIS application for Android
http://nextgis.com/nextgis-mobile
GNU General Public License v3.0
129 stars 107 forks source link

Crash on sync #524

Closed BishopGIS closed 7 years ago

BishopGIS commented 8 years ago

Message

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference

Stacktrace

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference at com.nextgis.maplib.util.FileUtil.copyStream(FileUtil.java:181) at com.nextgis.maplib.util.NetworkUtil.responseToString(NetworkUtil.java:140) at com.nextgis.maplib.util.NetworkUtil.get(NetworkUtil.java:193) at com.nextgis.maplib.util.NGWUtil.getNgwVersion(NGWUtil.java:172) at com.nextgis.maplib.map.NGWVectorLayer.sync(NGWVectorLayer.java:682) at com.nextgis.maplib.datasource.ngw.SyncAdapter.sync(SyncAdapter.java:156) at com.nextgis.maplib.datasource.ngw.SyncAdapter.onPerformSync(SyncAdapter.java:119) at com.nextgis.mobile.datasource.SyncAdapter.onPerformSync(SyncAdapter.java:56) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)

Session data

Tester: User-1488 Started At: 2016-09-27 12:55:34 Duration: 1:02:11

Click here to view the entire session

Device data

OS: Android 5.1.1 - API 22 Device: Xiaomi - Redmi Note 3 Screen: 1920 x 1080 (480 dpi)

Crash was not added to bug system. To add crashes to the bug system, click here

To manage email notifications please open the NextGIS Mobile app project settings