{"action":"opened","issue":{"url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/218","repository_url":"https://api.github.com/repos/marcshilling/react-native-image-picker","labels_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/218/comments","events_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/218/events","html_url":"https://github.com/marcshilling/react-native-image-picker/issues/218","id":159052340,"number":218,"title":"[Android] Unfortunately, Camera has stopped.","user":{"login":"anton6","id":16119505,"avatar_url":"https://avatars.githubusercontent.com/u/16119505?v=3","gravatar_id":"","url":"https://api.github.com/users/anton6","html_url":"https://github.com/anton6","followers_url":"https://api.github.com/users/anton6/followers","following_url":"https://api.github.com/users/anton6/following{/other_user}","gists_url":"https://api.github.com/users/anton6/gists{/gist_id}","starred_url":"https://api.github.com/users/anton6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton6/subscriptions","organizations_url":"https://api.github.com/users/anton6/orgs","repos_url":"https://api.github.com/users/anton6/repos","events_url":"https://api.github.com/users/anton6/events{/privacy}","received_events_url":"https://api.github.com/users/anton6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-08T00:10:09Z","updated_at":"2016-06-08T00:10:09Z","closed_at":null,"body":"Hi.\r\n\r\nI am getting an error \"Unfortunately, Camera has stopped.\" every time I am trying to take a photo. This appears to be caused when flag 'allowsEditing' is set to true. \r\n\r\nI get this issue on emulator Samsung Galaxy S5 - 4.4.4 (Genymotion), and also on my Huawei P8-lite. \r\n\r\nThis is the error I get from logcat:\r\n```\r\nE/AndroidRuntime(15490): FATAL EXCEPTION: main\r\nE/AndroidRuntime(15490): Process: com.huawei.camera, PID: 15490\r\nE/AndroidRuntime(15490): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.android.camera.action.CROP dat=file:///data/data/com.huawei.camera/files/crop-temp (has extras) }\r\nE/AndroidRuntime(15490): \tat android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1776)\r\nE/AndroidRuntime(15490): \tat android.app.Instrumentation.execStartActivity(Instrumentation.java:1496)\r\nE/AndroidRuntime(15490): \tat android.app.Activity.startActivityForResult(Activity.java:3801)\r\nE/AndroidRuntime(15490): \tat android.app.Activity.startActivityForResult(Activity.java:3755)\r\nE/AndroidRuntime(15490): \tat com.huawei.camera.ui.page.ReviewPage.handlePhotoDataResult(ReviewPage.java:159)\r\nE/AndroidRuntime(15490): \tat com.huawei.camera.ui.page.ReviewPage.doReturnToCaller(ReviewPage.java:110)\r\nE/AndroidRuntime(15490): \tat com.huawei.camera.ui.page.ReviewPage.access$000(ReviewPage.java:36)\r\nE/AndroidRuntime(15490): \tat com.huawei.camera.ui.page.ReviewPage$1.onClick(ReviewPage.java:52)\r\nE/AndroidRuntime(15490): \tat android.view.View.performClick(View.java:4766)\r\nE/AndroidRuntime(15490): \tat android.view.View$PerformClick.run(View.java:19683)\r\nE/AndroidRuntime(15490): \tat android.os.Handler.handleCallback(Handler.java:739)\r\nE/AndroidRuntime(15490): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\nE/AndroidRuntime(15490): \tat android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime(15490): \tat android.app.ActivityThread.main(ActivityThread.java:5538)\r\nE/AndroidRuntime(15490): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime(15490): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime(15490): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)\r\nE/AndroidRuntime(15490): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)\r\nW/System.err( 3016): java.lang.NullPointerException: Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference\r\nW/System.err( 3016): \tat huawei.com.android.server.util.ReportTool.getUserType(ReportTool.java:86)\r\nW/System.err( 3016): \tat huawei.com.android.server.util.ReportTool.isBetaUser(ReportTool.java:73)\r\nW/System.err( 3016): \tat huawei.com.android.server.util.ReportTool.report(ReportTool.java:58)\r\nW/System.err( 3016): \tat huawei.com.android.server.util.UserBehaviourRecord.appExitRecord(UserBehaviourRecord.java:65)\r\nW/System.err( 3016): \tat com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:1425)\r\nW/System.err( 3016): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nW/System.err( 3016): \tat android.os.Looper.loop(Looper.java:135)\r\nW/System.err( 3016): \tat android.os.HandlerThread.run(HandlerThread.java:61)\r\nW/System.err( 3016): \tat com.android.server.ServiceThread.run(ServiceThread.java:46)\r\nE/ReportTools( 3016): This is not beta user build\r\n```\r\n\r\nDoes anyone know what the issue might be?\r\nThanks."}}
{"actor":{"display_login":"anton6"}}