java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.example.fileprovidertest/files/JPEG_20170215_202539_1361683671.jpg

Stack Overflow | doctorx0079 | 6 days ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android Taking Photos Simply java.lang.IllegalArgumentException: Failed to find configured root

    Stack Overflow | 6 days ago | doctorx0079
    java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.example.fileprovidertest/files/JPEG_20170215_202539_1361683671.jpg
  2. 0

    Taking and saving pictures: "IllegalArgumentException: Failed to find configured root that contains"

    Stack Overflow | 6 months ago | AlbertoGarrido
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/my.package.name/files/Pictures/8712561249140-20160902_104505516416962.jpg
  3. 0

    stubModeEnable开启demo运行报错

    GitHub | 11 months ago | yangyonguo
    System.err: at org.acdd.runtime.InstrumentationHook.execStartActivityInternal(InstrumentationHook.java:381)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android, Google Spread Sheet crashes when on menu button is pressed

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: println needs a message
  6. 0

    onMenuItemSelected vs onContextItemSelected in Android 4.0+ | Gabriela Radu

    gabrielaradu.com | 1 year ago
    java.lang.IllegalArgumentException: Invalid payload item type
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Failed to find configured root that contains /data/data/com.example.fileprovidertest/files/JPEG_20170215_202539_1361683671.jpg

    at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile()
  2. Android Support v4
    FileProvider.getUriForFile
    1. android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:711)
    2. android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:400)
    2 frames
  3. com.example.fileprovidertest
    MainActivity.onOptionsItemSelected
    1. com.example.fileprovidertest.MainActivity.dispatchTakePictureIntent(MainActivity.java:126)
    2. com.example.fileprovidertest.MainActivity.onOptionsItemSelected(MainActivity.java:76)
    2 frames
  4. Android Platform
    Activity.onMenuItemSelected
    1. android.app.Activity.onMenuItemSelected(Activity.java:3204)
    1 frame
  5. Android
    MenuBuilder.performItemAction
    1. com.android.internal.policy.PhoneWindow.onMenuItemSelected(PhoneWindow.java:1215)
    2. com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:761)
    3. com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
    4. com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:904)
    5. com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:894)
    5 frames
  6. Android Platform
    ActionMenuView.invokeItem
    1. android.widget.ActionMenuView.invokeItem(ActionMenuView.java:616)
    1 frame
  7. Android
    ActionMenuItemView.onClick
    1. com.android.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:152)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5637)
    2. android.view.View$PerformClick.run(View.java:22429)
    3. android.os.Handler.handleCallback(Handler.java:751)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:154)
    6. android.app.ActivityThread.main(ActivityThread.java:6119)
    6 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
    2 frames