title: onPostExecute not executing; doInBackground working fine
body: <p>I have read the many similar posts on this subject, and none have helped me.</p>
  
  <p>I have an AsynkTask class that is performing its work just fine, but for some reason the onPostExecute method is never executed.</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>public class MyPublicClass
  {
      private class MonitorAudioTask extends AsyncTask&lt;Void, Void, ParseResult&gt;
      {
          @Override
          protected ParseResult doInBackground(Void... params)
          {
              // set variables
              ParseResult result = null;
  
              // do stuff
              return result;
          }
  
          @Override
          protected void onPostExecute(ParseResult result)
          {
              if (result != null)
              {
                  // deal with result
              }
  
              //Now start the task again
              _task = new MonitorAudioTask();
              _task.execute(null, null, null);
          }
      }
  }
  </code></pre>
  
  <p>Again, the doInBackground method is working perfectly fine.  I have done logging at the very end of it (right before the return statement) to prove that it is functioning properly.</p>
  
  <p>The ParseResult class is dead simple and also proven to be working fine.</p>
  
  <p>I've proven that the onPostExecute is not being performed by doing dome debug logging on the first line of that method.</p>
  
  <p>Any advice would be MOST welcome as I am curently bashing my head in and not getting anywhere.</p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>I should also mention that I took development of this app over from a previous developer.  And this app USED to work fine. Two things happened between it working and it not working:
  1) I made a couple minor tweaks to a function that is called from within the doInBackground() method.
  2) It looks like the previous developer was working on an older version of ADT (JellyBean 4.1.2), and I have installed the latest version: 4.3.</p>
  
  <p>Again, thanks for your help.</p>
  
  <p><strong>UPDATE</strong>:
  I just updated my ADT to have the 4.1.2 SDK so I can develop on the same version the previous programmer was on.  I ran my test again, and pretty much the same thing happened.
  The only difference is that eventually I got a "the app is not responding" message from the app.
  So it looks like doInBackground() is returning its output, but then that is kinda crashing the app.
  Does this help explain what's happening to me?</p>
  
  <p><strong>UPDATE</strong>:
  I just ran another where I moved all of my debugging calls to be made from within the onProgress() method.  I wanted to make sure that my debugging code wasn't getting in the way.  Interesting result: NONE of the debugging calls were made.  So it looks like neither onProgress nor onPostExecute was executed.</p>