com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 30 path $[0].question[1]

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

    Fail to deserialization list of object has list Json by Gson when use retrofit2 to get data android

    Stack Overflow | 6 months ago | Nguyễn Thị Bình An
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 30 path $[0].question[1]
  2. 0

    Editing Config

    GitHub | 6 years ago | lmk-chris
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near ?{ "colorMember": "G
  3. 0

    Outputting parsed JSON results from Google Custom Search in Java

    Stack Overflow | 3 years ago | gwar666
    com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Retrofit - removing some invalid characters from response body before parsing it as json

    Stack Overflow | 2 years ago | pomber
    retrofit.RetrofitError: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  6. 0

    Reading a JSON reply from WeatherUnderground

    Stack Overflow | 4 years ago | Little Child
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 2

  1. Nikolay Rybak 12 times, last 7 days ago
  2. justCodeit 11 times, last 4 weeks ago
  3. filpgame 4 times, last 1 month ago
  4. Emrah Küçük 9 times, last 3 months ago
  5. linxiaolong 4 times, last 3 months ago
19 more registered users
53 unregistered visitors
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. com.google.gson.JsonSyntaxException

    com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 30 path $[0].question[1]

    at com.google.gson.Gson.fromJson()
  2. Gson
    Gson.fromJson
    1. com.google.gson.Gson.fromJson(Gson.java:902)
    2. com.google.gson.Gson.fromJson(Gson.java:852)
    3. com.google.gson.Gson.fromJson(Gson.java:801)
    3 frames
  3. svmc.anthao
    MainActivity$1.onPostExecute
    1. svmc.anthao.MainActivity$1.onPostExecute(MainActivity.java:49)
    2. svmc.anthao.MainActivity$1.onPostExecute(MainActivity.java:36)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:632)
    2. android.os.AsyncTask.access$600(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:149)
    6. android.app.ActivityThread.main(ActivityThread.java:5268)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame