org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

GitHub | derkostka | 7 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

    GitHub comment 342#254324933

    GitHub | 7 months ago | derkostka
    org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
  2. 0

    An unknown error occured when logging in

    GitHub | 7 months ago | Gerii
    org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
  3. 0

    Android app can not authenticate against server v9.2.0.3

    GitHub | 5 months ago | jesmrec
    org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error Report: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

    GitHub | 2 years ago | rastating
    org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
  6. 0

    Error Report: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

    GitHub | 2 years ago | rastating
    org.json.JSONException: Value <!DOCTYPE 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

    Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

    at org.json.JSON.typeMismatch()
  2. Android Platform
    JSONObject.<init>
    1. org.json.JSON.typeMismatch(JSON.java:111)
    2. org.json.JSONObject.<init>(JSONObject.java:160)
    3. org.json.JSONObject.<init>(JSONObject.java:173)
    3 frames
  3. com.owncloud.android
    AuthenticatorAsyncTask.doInBackground
    1. com.owncloud.android.lib.resources.users.GetRemoteUserInfoOperation.run(GetRemoteUserInfoOperation.java:77)
    2. com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
    3. com.owncloud.android.authentication.AuthenticatorAsyncTask.doInBackground(AuthenticatorAsyncTask.java:84)
    4. com.owncloud.android.authentication.AuthenticatorAsyncTask.doInBackground(AuthenticatorAsyncTask.java:41)
    4 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames