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

GitHub | BishopGIS | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Crash on nextgis.com import layer

    GitHub | 6 months ago | BishopGIS
    java.lang.IllegalStateException: Expected an int but was BOOLEAN

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Expected an int but was BOOLEAN

      at android.util.JsonReader.nextInt()
    2. Android Platform
      JsonReader.nextInt
      1. android.util.JsonReader.nextInt(JsonReader.java:512)
      1 frame
    3. com.nextgis.maplib
      NGWVectorLayer.createFromNGW
      1. com.nextgis.maplib.util.NGWUtil.readNGWFeatureFields(NGWUtil.java:439)
      2. com.nextgis.maplib.util.NGWUtil.readNGWFeature(NGWUtil.java:403)
      3. com.nextgis.maplib.map.NGWVectorLayer.createFromNGW(NGWVectorLayer.java:508)
      3 frames
    4. com.nextgis.maplibui
      LayerFillService$2.run
      1. com.nextgis.maplibui.service.LayerFillService$NGWVectorLayerFillTask.execute(LayerFillService.java:673)
      2. com.nextgis.maplibui.service.LayerFillService$2.run(LayerFillService.java:253)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame