title: java.lang.SecurityException: Unable to find app for caller android.app.Application
body: <p>I have got an error and just have a guess what does it mean. I have an app that works for a long and could be killed with entire process So my guess is that a part of code that was executed try to send some message to the part that didn't exist (frankly it exists but in another process because it was recreated) </p>
  
  <p>Could you please tell me what does this error mean?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code>E/AndroidRuntime(28461): FATAL EXCEPTION: main
  E/AndroidRuntime(28461): java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@42b3bcc0 (pid=28461) when publishing content providers
  E/AndroidRuntime(28461): at android.os.Parcel.readException(Parcel.java:1327)
  E/AndroidRuntime(28461): at android.os.Parcel.readException(Parcel.java:1281)
  E/AndroidRuntime(28461): at android.app.ActivityManagerProxy.publishContentProviders(ActivityManagerNative.java:2325)
  E/AndroidRuntime(28461): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4021)
  E/AndroidRuntime(28461): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3963)
  E/AndroidRuntime(28461): at android.app.ActivityThread.access$1300(ActivityThread.java:128)
  E/AndroidRuntime(28461): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
  E/AndroidRuntime(28461): at android.os.Handler.dispatchMessage(Handler.java:99)
  E/AndroidRuntime(28461): at android.os.Looper.loop(Looper.java:137)
  E/AndroidRuntime(28461): at android.app.ActivityThread.main(ActivityThread.java:4517)
  E/AndroidRuntime(28461): at java.lang.reflect.Method.invokeNative(Native Method)
  E/AndroidRuntime(28461): at java.lang.reflect.Method.invoke(Method.java:511)
  E/AndroidRuntime(28461): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
  E/AndroidRuntime(28461): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
  E/AndroidRuntime(28461): at dalvik.system.NativeStart.main(Native Method)
  </code></pre>