java.lang.IllegalStateException: Expected an int but was BOOLEAN

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by BishopGIS
, 1 year ago
Expected an int but was BOOLEAN
java.lang.IllegalStateException: Expected an int but was BOOLEAN
at android.util.JsonReader.nextInt(JsonReader.java:512)
at com.nextgis.maplib.util.NGWUtil.readNGWFeatureFields(NGWUtil.java:439)
at com.nextgis.maplib.util.NGWUtil.readNGWFeature(NGWUtil.java:403)
at com.nextgis.maplib.map.NGWVectorLayer.createFromNGW(NGWVectorLayer.java:508)
at com.nextgis.maplibui.service.LayerFillService$NGWVectorLayerFillTask.execute(LayerFillService.java:673)
at com.nextgis.maplibui.service.LayerFillService$2.run(LayerFillService.java:253)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.