rastating / DroidBeard

An Android app for managing SickBeard.
GNU General Public License v3.0
15 stars 2 forks source link

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

Closed rastating closed 8 years ago

rastating commented 8 years ago

Configuration Information

Version: 1.5.0 HTTPS Enabled: false Trust All Certificates: true

Stack Trace

org.json.JSONException: Value <!doctype of type java.lang.String cannot be converted to JSONObject
    at org.json.JSON.typeMismatch(JSON.java:111)
    at org.json.JSONObject.<init>(JSONObject.java:160)
    at org.json.JSONObject.<init>(JSONObject.java:173)
    at com.rastating.droidbeard.net.FetchShowSummariesTask.doInBackground(FetchShowSummariesTask.java:51)
    at com.rastating.droidbeard.net.FetchShowSummariesTask.doInBackground(FetchShowSummariesTask.java:38)
    at android.os.AsyncTask$2.call(AsyncTask.java:292)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)

Data


<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="robots" content="noindex, nofollow" />

<link rel="stylesheet" href="/minified/front.css?1455545548" type="text/css">

<script type="text/javascript" src="/minified/front.js?1455545569"></script>
<link href="/static/images/favicon.ico" rel="icon" type="image/x-icon" />
<link rel="apple-touch-icon" href="/static/images/homescreen.png" />
<script type="text/javascript">
window.addEvent('domready', function(){
new Form.Check($('remember_me'));
});
</script>
<title>CouchPotato</title>
</head>
<body class="page login">
<form action="" method="post">
<h1>CouchPotato</h1>
<div class="ctrlHolder"><input class="inlay" name="username" type="text" placeholder="Username" autocomplete="off" /></div>
<div class="ctrlHolder"><input class="inlay" name="password" type="password" placeholder="Password" autocomplete="off" /></div>
<div class="ctrlHolder">
<label class="remember_me" title="for 30 days"><input class="inlay" id="remember_me" name="remember_me" type="checkbox" value="1" checked="checked" /> Remember me</label>
<input class="button" name="submit" type="submit" value="Login" />
</div>
</form>
</body>
</html>