Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Bug: Attaching picture to feedback #391

Closed
ptrckhjnl opened this issue Aug 8, 2018 · 1 comment
Closed

Bug: Attaching picture to feedback #391

ptrckhjnl opened this issue Aug 8, 2018 · 1 comment

Comments

@ptrckhjnl
Copy link

ptrckhjnl commented Aug 8, 2018

While attaching a picture to a feedback via the "Images" tab works, it doesn't work when selecting the exact same picture from the internal storage.

screenshot_20180808_142129

Here is the Error:

08-08 13:51:55.239 4586-4673/de.xxx.xxx.android.debug E/HockeyApp: Could not save image.
    java.io.FileNotFoundException: /data/user/0/de.xxx.xxx.android.debug/cache/HockeyApp/primary:DCIM/Camera/IMG_20180806_144730.jpg.jpg (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
        at net.hockeyapp.android.PaintActivity$3.doInBackground(PaintActivity.java:204)
        at net.hockeyapp.android.PaintActivity$3.doInBackground(PaintActivity.java:186)
        at android.os.AsyncTask$2.call(AsyncTask.java:304)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        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)

My guess is it could have something to do with the PaintActivity. The URI differs when choosing from internal storage or "Images". Also notice the .jpg.jpg. Maybe somewhere in the makeResult() method. This is where we add the .jpg.

@ElektrojungeAtWork
Copy link
Contributor

Hey!
We've included fixes in the latest SDK release (5.1.1) for this. I'm closing the issue but please reopen if you run into this again.

Thx for using HockeyApp!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants