View Issue Details

IDProjectCategoryView StatusLast Update
0000028SchoolToolsdevelopmentpublic2018-09-01 15:05
Reporterdomjos Assigned Todomjos  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionopen 
Product Version0.1-beta.1 
Target Version0.1-beta.1 
Summary0000028: error export timetable to pdf
DescriptionE/Exception: file:///storage/emulated/0/Download/export_Stundenplan.pdf exposed beyond app through Intent.getData()
             android.os.FileUriExposedException: file:///storage/emulated/0/Download/export_Stundenplan.pdf exposed beyond app through Intent.getData()StrictMode.java:android.os.StrictMode:onFileUriExposed:1960Uri.java:android.net.Uri:checkFileUriExposed:2348Intent.java:android.content.Intent:prepareToLeaveProcess:9885Intent.java:android.content.Intent:prepareToLeaveProcess:9860Intent.java:android.content.Intent:prepareToLeaveProcess:9839Instrumentation.java:android.app.Instrumentation:execStartActivity:1610ContextImpl.java:android.app.ContextImpl:startActivity:878ContextImpl.java:android.app.ContextImpl:startActivity:855ContextWrapper.java:android.content.ContextWrapper:startActivity:372PDFBuilder.java:de.domjos.schooltools.core.utils.fileUtils.PDFBuilder:openPDFFile:159ApiActivity.java:de.domjos.schooltools.activities.ApiActivity:executeChoice:646ApiActivity.java:de.domjos.schooltools.activities.ApiActivity:onRequestPermissionsResult:320Activity.java:android.app.Activity:dispatchRequestPermissionsResult:7429Activity.java:android.app.Activity:dispatchActivityResult:7280ActivityThread.java:android.app.ActivityThread:deliverResults:4264ActivityThread.java:android.app.ActivityThread:handleSendResult:4312null:android.app.ActivityThread:-wrap19:0ActivityThread.java:android.app.ActivityThread$H:handleMessage:1644Handler.java:android.os.Handler:dispatchMessage:106Looper.java:android.os.Looper:loop:164ActivityThread.java:android.app.ActivityThread:main:6494Method.java:java.lang.reflect.Method:invoke:-2RuntimeInit.java:com.android.internal.os.RuntimeInit$MethodAndArgsCaller:run:438ZygoteInit.java:com.android.internal.os.ZygoteInit:main:807
             android.os.FileUriExposedException: file:///storage/emulated/0/Download/export_Stundenplan.pdf exposed beyond app through Intent.getData()
                 at android.os.StrictMode.onFileUriExposed(StrictMode.java:1960)
                 at android.net.Uri.checkFileUriExposed(Uri.java:2348)
                 at android.content.Intent.prepareToLeaveProcess(Intent.java:9885)
                 at android.content.Intent.prepareToLeaveProcess(Intent.java:9860)
                 at android.content.Intent.prepareToLeaveProcess(Intent.java:9839)
                 at android.app.Instrumentation.execStartActivity(Instrumentation.java:1610)
                 at android.app.ContextImpl.startActivity(ContextImpl.java:878)
                 at android.app.ContextImpl.startActivity(ContextImpl.java:855)
                 at android.content.ContextWrapper.startActivity(ContextWrapper.java:372)
                 at de.domjos.schooltools.core.utils.fileUtils.PDFBuilder.openPDFFile(PDFBuilder.java:159)
                 at de.domjos.schooltools.activities.ApiActivity.executeChoice(ApiActivity.java:646)
                 at de.domjos.schooltools.activities.ApiActivity.onRequestPermissionsResult(ApiActivity.java:320)
                 at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7429)
                 at android.app.Activity.dispatchActivityResult(Activity.java:7280)
                 at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
                 at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
                 at android.app.ActivityThread.-wrap19(Unknown Source:0)
                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
                 at android.os.Handler.dispatchMessage(Handler.java:106)
                 at android.os.Looper.loop(Looper.java:164)
                 at android.app.ActivityThread.main(ActivityThread.java:6494)
                 at java.lang.reflect.Method.invoke(Native Method)
                 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
E/de.domjos.schooltools: Exception

                         android.os.FileUriExposedException: file:///storage/emulated/0/Download/export_Stundenplan.pdf exposed beyond app through Intent.getData()
                             at android.os.StrictMode.onFileUriExposed(StrictMode.java:1960)
                             at android.net.Uri.checkFileUriExposed(Uri.java:2348)
                             at android.content.Intent.prepareToLeaveProcess(Intent.java:9885)
                             at android.content.Intent.prepareToLeaveProcess(Intent.java:9860)
                             at android.content.Intent.prepareToLeaveProcess(Intent.java:9839)
                             at android.app.Instrumentation.execStartActivity(Instrumentation.java:1610)
                             at android.app.ContextImpl.startActivity(ContextImpl.java:878)
                             at android.app.ContextImpl.startActivity(ContextImpl.java:855)
                             at android.content.ContextWrapper.startActivity(ContextWrapper.java:372)
                             at de.domjos.schooltools.core.utils.fileUtils.PDFBuilder.openPDFFile(PDFBuilder.java:159)
                             at de.domjos.schooltools.activities.ApiActivity.executeChoice(ApiActivity.java:646)
                             at de.domjos.schooltools.activities.ApiActivity.onRequestPermissionsResult(ApiActivity.java:320)
                             at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7429)
                             at android.app.Activity.dispatchActivityResult(Activity.java:7280)
                             at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
                             at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
                             at android.app.ActivityThread.-wrap19(Unknown Source:0)
                             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
                             at android.os.Handler.dispatchMessage(Handler.java:106)
                             at android.os.Looper.loop(Looper.java:164)
                             at android.app.ActivityThread.main(ActivityThread.java:6494)
                             at java.lang.reflect.Method.invoke(Native Method)
                             at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
TagsNo tags attached.
GIT Revision

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-08-21 15:34 domjos New Issue
2018-08-21 15:34 domjos Status new => assigned
2018-08-21 15:34 domjos Assigned To => domjos
2018-09-01 15:05 domjos Severity tweak => crash
2018-09-01 15:05 domjos Status assigned => resolved
2018-09-01 15:05 domjos Target Version 0.1 => 0.1-beta.1
2018-09-01 15:05 domjos Summary make timetable widget greater => error export timetable to pdf
2018-09-01 15:05 domjos Description Updated