Issue Login activity in Android -
i have created android application , work properly. when try login in android application display me log cat error like:
>06-27 05:26:11.082: w/system.err(4308): org.json.jsonexception: value <!doctype of type java.lang.string > cannot converted jsonobject >06-27 05:26:11.092: w/system.err(4308): @ org.json.json.typemismatch(json.java:111) >06-27 05:26:11.092: w/system.err(4308): @ org.json.jsonobject.<init>(jsonobject.java:159) >06-27 05:26:11.092: w/system.err(4308): @ org.json.jsonobject.<init>(jsonobject.java:172) >06-27 05:26:11.092: w/system.err(4308): @ > //error display in background > com.sunmobileappnow.mobileappnow.loginactivity$sigin.doinbackground(loginactivity.java:446) > 06-27 05:26:11.092: w/system.err(4308): @ com.sunmobileappnow.mobileappnow.loginactivity$sigin.doinbackground(loginactivity.java:1) > 06-27 05:26:11.092: w/system.err(4308): @ android.os.asynctask$2.call(asynctask.java:288) > 06-27 05:26:11.092: w/system.err(4308): @ java.util.concurrent.futuretask.run(futuretask.java:237) > 06-27 05:26:11.092: w/system.err(4308): @ android.os.asynctask$serialexecutor$1.run(asynctask.java:231) > 06-27 05:26:11.092: w/system.err(4308): @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) > 06-27 05:26:11.092: w/system.err(4308): @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) > 06-27 05:26:11.092: w/system.err(4308): @ java.lang.thread.run(thread.java:841) >06-27 05:26:11.112: w/system.err(4308): java.net.malformedurlexception >//error display on uri >06-27 05:26:11.112: w/system.err(4308): @ java.net.url.<init>(url.java:152) >06-27 05:26:11.112: w/system.err(4308): @ java.net.url.<init>(url.java:125) >06-27 05:26:11.112: w/system.err(4308): @ com.sunmobileappnow.mobileappnow.loginactivity$images.openhttpconnection(loginactivity.java:710) >06-27 05:26:11.112: w/system.err(4308): @ com.sunmobileappnow.mobileappnow.loginactivity$images.downloadimage(loginactivity.java:741) >06-27 05:26:11.112: w/system.err(4308): @ com.sunmobileappnow.mobileappnow.loginactivity$images.doinbackground(loginactivity.java:665) >06-27 05:26:11.112: w/system.err(4308): @ com.sunmobileappnow.mobileappnow.loginactivity$images.doinbackground(loginactivity.java:1) > > //error display on asynctask >06-27 05:26:11.112: w/system.err(4308): @ android.os.asynctask$2.call(asynctask.java:288) >06-27 05:26:11.122: w/system.err(4308): @ java.util.concurrent.futuretask.run(futuretask.java:237) >06-27 05:26:11.122: w/system.err(4308): @ android.os.asynctask$serialexecutor$1.run(asynctask.java:231) >06-27 05:26:11.122: w/system.err(4308): @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) >06-27 05:26:11.122: w/system.err(4308): @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) >06-27 05:26:11.122: w/system.err(4308): @ java.lang.thread.run(thread.java:841) >06-27 05:26:11.122: w/system.err(4308): java.net.malformedurlexception
Comments
Post a Comment