I do not know why FATAL EXCEPTION: AsyncTask #1
<pre><code>&gt;     private class RssFeedTask extends AsyncTask&lt;String, Void, String&gt; {
&gt;       String response = "";
&gt;     
&gt;       @Override
&gt;       protected void onPreExecute() {
&gt;           // TODO: Dialog
&gt;       }
&gt;     
&gt;       @Override
&gt;       protected String doInBackground(String... urls) {
&gt;           try {
&gt;               String feed = "http://google.com";
&gt;               HtmListParser rh = new HtmListParser();
&gt;               rssStr = rh.getLatestArticles(feed);
&gt;           } catch (Exception e) {
&gt;               Log.e("error_connection", "Error in http connection "+e.toString());
&gt;           }
&gt;           return response;
&gt;     
&gt;       }
&gt;     
&gt;       @Override
&gt;       protected void onPostExecute(String result) {
&gt;           // TODO: dismiss Dialog and set adapter
&gt;       }
&gt;     }



&gt;     public class HtmListParser {
&gt;       private RssFeedStructure feedStr = new RssFeedStructure();
&gt;       private List&lt;RssFeedStructure&gt; rssList = new ArrayList&lt;RssFeedStructure&gt;();
&gt;     
&gt;     
&gt;       public List&lt;RssFeedStructure&gt; getLatestArticles(String feedUrl) {
&gt;            try {                                              
&gt;              Document doc = Jsoup.connect(feedUrl).get();
&gt;              
&gt;             } catch (IOException e) {
&gt;                 // TODO Auto-generated catch block
&gt;                 e.printStackTrace();
&gt;             }
&gt;            
&gt;     
&gt;           return null;
&gt;       }
&gt;     
&gt;     }


**and The Exceptions:**
</code></pre>

<blockquote>
<pre><code>02-07 08:40:47.346: E/AndroidRuntime(1027): FATAL EXCEPTION: AsyncTask #1
02-07 08:40:47.346: E/AndroidRuntime(1027): java.lang.RuntimeException: An error occured while executing
</code></pre>
  
  <p>doInBackground()
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at android.os.AsyncTask$3.done(AsyncTask.java:299)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.FutureTask.run(FutureTask.java:239)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.lang.Thread.run(Thread.java:856)
      02-07 08:40:47.346: E/AndroidRuntime(1027): Caused by: java.lang.NoClassDefFoundError: org.jsoup.Jsoup
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at com.newsinlevels.helper.HtmListParser.getLatestArticles(HtmListParser.java:20)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at com.newsinlevels.activity.MainActivity$RssFeedTask.doInBackground(MainActivity.java:120)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at com.newsinlevels.activity.MainActivity$RssFeedTask.doInBackground(MainActivity.java:1)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at android.os.AsyncTask$2.call(AsyncTask.java:287)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   at java.util.concurrent.FutureTask.run(FutureTask.java:234)
      02-07 08:40:47.346: E/AndroidRuntime(1027):   ... 4 more</p>
</blockquote>
