Note that there are some explanatory texts on larger screens.

plurals
  1. POerror in parsing xml file
    primarykey
    data
    text
    <p>Hi i create one save11111.xml file and place on server. <a href="http://pastebin.com/AdMJdZWH" rel="nofollow">Here is code of .xml file</a><br> I need to fetch data from that file. but when i am trying to run file it show error in<br> Log cat. Here is logcat </p> <pre><code>04-14 19:18:58.137: ERROR/AndroidRuntime(22682): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.examguide/com.example.examguide.ReadBooksActivity}: java.lang.IllegalStateException: Target host must not be null, or set in parameters. 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): Caused by: java.lang.IllegalStateException: Target host must not be null, or set in parameters. 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:572) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:292) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at com.example.examguide.XMLParser.getXmlFromUrl(XMLParser.java:45) 04-14 19:18:58.137: ERROR/AndroidRuntime(22682): at com.example.examguide.ReadBooksActivity.onCreate(ReadBooksActivity.java:43) </code></pre> <p>I don't understand what's wrong in my code.<a href="http://pastebin.com/TCTQwERa" rel="nofollow">Here and </a><a href="http://pastebin.com/K0mwN5rh" rel="nofollow">Here</a> </p> <p>Please give me some hint or reference.<br> Any help is Appreciated. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload