title: ACRA doesn't work
body: <p>The app is crashed, but ACRA doesn't come up. Heres the log:</p>
  
  <pre><code>11-20 16:50:19.119: ERROR/ACRA(23345): ACRA caught a RuntimeException exception for com.buggyproject. Building report.
  11-20 16:50:19.539: ERROR/ACRA(23345): ACRA caught a RuntimeException exception for com.buggyproject. Building report.
  11-20 16:50:19.909: ERROR/ACRA(23345): com.buggyproject fatal error : An error occured while executing doInBackground()
          java.lang.RuntimeException: An error occured while executing doInBackground()
          at android.os.AsyncTask$3.done(AsyncTask.java:299)
          at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
          at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
          at java.util.concurrent.FutureTask.run(FutureTask.java:137)
          at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
          at java.lang.Thread.run(Thread.java:856)
          Caused by: java.lang.NullPointerException
          at libcore.net.UriCodec.encode(UriCodec.java:132)
          at java.net.URLEncoder.encode(URLEncoder.java:57)
          at com.buggyproject.Api$UpdateUI.doInBackground(Api.java:309)
          at com.buggyproject.Api$UpdateUI.doInBackground(Api.java:296)
          at android.os.AsyncTask$2.call(AsyncTask.java:287)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
          ... 5 more
  </code></pre>
  
  <p>Why it didn't work? Can't it handle NullPointerException? </p>
  
  <p><strong>Update</strong>
  Here's the code snippet with doInBackground function of AsyncTask class where NullPointExcetion is raising</p>
  
  <pre><code>@Override
  protected String doInBackground(String... params) {
      try{
          String path = String.format("update/%s/%s/",
                  URLEncoder.encode(params[0], "UTF-8"),
                  URLEncoder.encode(params[1], "UTF-8"));
  
          page = api.getPage(server.getAddress(), path);
          return page;
      } catch (UnsupportedEncodingException e){
          Log.d(TAG_NAME, "Error URL encoding " + e.toString());
      }
      return null;
  }
  </code></pre>
  
  <p>I think the proble is that params[0] or params[1] or both are null but why ACRA didn't show up?</p>
  
  <p><strong>Update2</strong></p>
  
  <p>Another error I have noticed</p>
  
  <pre><code>channel '41f00be8 com.buggyproject/org.acra.CrashReportDialog (server)' ~ Channel is unrecoverably broken and will be disposed!
  </code></pre>