title: Android: NullPointerException at android.app.ActivityThread$PackageInfo$ServiceDispatcher.doConnected(ActivityThread.java:1012)
body: <p>I am getting a</p>
  
  <p><code>NullPointerException at android.app.ActivityThread$PackageInfo$ServiceDispatcher.doConnected(ActivityThread.java:1012)</code></p>
  
  <p>My application is not even in the stack trace, so I have no idea what is going on.</p>
  
  <p>I am trying to connect to a service when it happens.</p>
  
  <p>How can I fix this problem?</p>