question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash when selecting camera

See original GitHub issue

This happens 100% of the time when I select the camera in my real device (Samsung Galaxy S7, API 24). Not sure when this crash was introduced, as I haven’t tested the camera function for the past 3 months.

03-22 17:07:31.466: E/ACRA(740): ACRA caught a FileUriExposedException for fr.free.nrw.commons
03-22 17:07:31.466: E/ACRA(740): 	at fr.free.nrw.commons.contributions.ContributionController.startCameraCapture(ContributionController.java:60)
03-22 17:07:31.466: E/ACRA(740): 	at fr.free.nrw.commons.contributions.ContributionsListFragment.onOptionsItemSelected(ContributionsListFragment.java:133)
03-22 17:07:31.535: E/ACRA(740): fr.free.nrw.commons fatal error : file:///storage/emulated/0/Commons/images/1490166451455.jpg exposed beyond app through ClipData.Item.getUri()
03-22 17:07:31.535: E/ACRA(740): 	at fr.free.nrw.commons.contributions.ContributionController.startCameraCapture(ContributionController.java:60)
03-22 17:07:31.535: E/ACRA(740): 	at fr.free.nrw.commons.contributions.ContributionsListFragment.onOptionsItemSelected(ContributionsListFragment.java:133)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
misaochancommented, Mar 23, 2017

Can’t figure out a proper fix in a short period of time. Reverting the target SDK to 23 fixes the problem temporarily, so I am going to do that for the current release. Will leave this issue and https://github.com/misaochan/apps-android-commons/tree/fix-camera-crash open for future fix.

0reactions
misaochancommented, Jul 12, 2017

Strange, I thought the target SDK had been increased to 25 before this! Yeah, will do, thanks for the reminder @tised .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webcam Keeps Freezing or Crashing in Windows 10 FIX [2022]
Webcam Keeps Freezing or Crashing in Windows 10 FIX [2022]Issues addressed in this tutorial: webcam keeps freezing streamlabswebcam keeps ...
Read more >
Windows Crashes when I open my Camera
In Device Manager, press and hold (or right-click) your webcam, and then select Properties. Select the Driver tab, select Uninstall > Delete the ......
Read more >
9 Ways to Fix Camera App Crashing or Not Working on ...
Open Settings on your Android phone. · Go to Apps & notifications > See all apps. · Here, scroll and select the Camera...
Read more >
Why does the recorder crash or the webcam window freeze ...
If the screen recorder crashes (or you only see a static image in the webcam window) when you try to record your webcam,...
Read more >
Camera app CRASHES after selecting Wide Angle Mode.
Selecting Camera, then Wide Angle, the camera freezes. When it is swiped away from the recent apps, it will NO LONGER OPEN.A full...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found