java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android-N Update-app
    via by Jaume Tugores,
  • GitHub comment 5509#267805504
    via GitHub by myleshorton
    ,
  • android7.0的兼容问题
    via GitHub by HYVincent
    ,
  • FileUriExposedException on Android 7
    via GitHub by gotev
    ,
  • GitHub comment 194#237539329
    via GitHub by AndyScherzinger
    ,
    • java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:318) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: android.os.FileUriExposedException: file:///mnt/sdcard/Download/GesPVerd.apk exposed beyond app through Intent.getData() at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799) at android.net.Uri.checkFileUriExposed(Uri.java:2346) at android.content.Intent.prepareToLeaveProcess(Intent.java:8933) at android.content.Intent.prepareToLeaveProcess(Intent.java:8894) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517) at android.app.ContextImpl.startActivity(ContextImpl.java:819) at android.app.ContextImpl.startActivity(ContextImpl.java:796) at android.content.ContextWrapper.startActivity(ContextWrapper.java:356) at es.puigverd.puigverd.UpdateApp.doInBackground(UpdateApp.java:63) at es.puigverd.puigverd.UpdateApp.doInBackground(UpdateApp.java:26) at android.os.AsyncTask$2.call(AsyncTask.java:304) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,