org.json.JSONException: Unterminated array at character 183 of "chategory":[{"identifiers":{"id":"3"},"catConfig":{"security":"Private"}}],"hobby":[{"identifiers":{"id":"200","d_id":["Playing"Football"","Music","Dancing","Browsing"]},"type":"Output"}]},

Stack Overflow | Chandra Sekhar | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Gson response parsing with double quote in array

    Stack Overflow | 9 months ago | Chandra Sekhar
    org.json.JSONException: Unterminated array at character 183 of "chategory":[{"identifiers":{"id":"3"},"catConfig":{"security":"Private"}}],"hobby":[{"identifiers":{"id":"200","d_id":["Playing"Football"","Music","Dancing","Browsing"]},"type":"Output"}]},
  2. 0

    Nearby search without results / Login problems

    GitHub | 5 years ago | Lineflyer
    org.json.JSONException: Value <?xml of type java.lang.String cannot be converted to JSONObject
  3. 0

    GitHub comment 294#143362629

    GitHub | 2 years ago | kenrestivo
    org.json.JSONException: Value null of type org.json.JSONObject$1 cannot be converted to JSONObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Clicking some elements in JP throws JSONException.

    GitHub | 2 years ago | Zhanglii
    org.json.JSONException: Unterminated object at character 71 of {\"status\":0,\"value\":{\"x\":308.5,\"y\":21,\"toString\":\"function (){return¥\"(¥\"+this.x+¥\", ¥\"+this.y+¥\")¥\"}\",\"ceil\":\"function (){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}\",\"floor\":\"function (){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}\",\"round\":\"function (){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}\"}}
  6. 0

    获取用户信息报错

    GitHub | 2 years ago | ljsalm089
    org.json.JSONException: Value javax.net.ssl.SSLPeerUnverifiedException of type java.lang.String cannot be converted to JSONObject
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.json.JSONException

    Unterminated array at character 183 of "chategory":[{"identifiers":{"id":"3"},"catConfig":{"security":"Private"}}],"hobby":[{"identifiers":{"id":"200","d_id":["Playing"Football"","Music","Dancing","Browsing"]},"type":"Output"}]},

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONObject.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:450)
    2. org.json.JSONTokener.readArray(JSONTokener.java:440)
    3. org.json.JSONTokener.nextValue(JSONTokener.java:103)
    4. org.json.JSONTokener.readObject(JSONTokener.java:385)
    5. org.json.JSONTokener.nextValue(JSONTokener.java:100)
    6. org.json.JSONTokener.readObject(JSONTokener.java:385)
    7. org.json.JSONTokener.nextValue(JSONTokener.java:100)
    8. org.json.JSONTokener.readArray(JSONTokener.java:430)
    9. org.json.JSONTokener.nextValue(JSONTokener.java:103)
    10. org.json.JSONTokener.readObject(JSONTokener.java:385)
    11. org.json.JSONTokener.nextValue(JSONTokener.java:100)
    12. org.json.JSONObject.<init>(JSONObject.java:156)
    13. org.json.JSONObject.<init>(JSONObject.java:173)
    13 frames
  3. honeywell.security.isom
    ExpansionJsonConverter.read
    1. honeywell.security.isom.customformatter.ExpansionJsonConverter.convertJsonStringIntoHashMap(ExpansionJsonConverter.java:80)
    2. honeywell.security.isom.customformatter.ExpansionJsonConverter.read(ExpansionJsonConverter.java:64)
    3. honeywell.security.isom.customformatter.ExpansionJsonConverter.read(ExpansionJsonConverter.java:22)
    3 frames
  4. Gson
    Gson.fromJson
    1. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:118)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:253)
    3. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:118)
    4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:253)
    5. com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
    6. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
    7. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
    8. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:118)
    9. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:253)
    10. com.google.gson.Gson.fromJson(Gson.java:981)
    10 frames
  5. honeywell.security.isom
    PeripheralsControllerProxy.getperipheralentitylist
    1. honeywell.security.isom.client.proxybase.BaseControllerProxy.deserializeTheResponse(BaseControllerProxy.java:554)
    2. honeywell.security.isom.client.proxybase.BaseControllerProxy.excuteRequest(BaseControllerProxy.java:321)
    3. honeywell.security.isom.client.proxybase.BaseControllerProxy.prepareDetailsToSendRequest(BaseControllerProxy.java:421)
    4. honeywell.security.isom.client.proxybase.BaseControllerProxy.executeGETMethod(BaseControllerProxy.java:123)
    5. honeywell.security.isom.client.proxycontroller.PeripheralsControllerProxy.getperipheralentitylist(PeripheralsControllerProxy.java:44)
    5 frames
  6. com.mpcthreadlib.request
    RequestISOM.getISOMRequest
    1. com.mpcthreadlib.request.RequestISOM.getISOMRequest(RequestISOM.java:557)
    1 frame
  7. com.mpcthreadlib.manage
    RequestThread.run
    1. com.mpcthreadlib.manage.RequestThread.executeRequest(RequestThread.java:102)
    2. com.mpcthreadlib.manage.RequestThread.run(RequestThread.java:71)
    2 frames
  8. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    2 frames