{"action":"closed","issue":{"url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer/issues/2","repository_url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer","labels_url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer/issues/2/comments","events_url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer/issues/2/events","html_url":"https://github.com/amit-bhandari/AB-Remote-Wallpaper-Changer/issues/2","id":322963516,"number":2,"title":"CRASH WHEN SET PROFILE PICTURE AFTER ENABLE MODE ","user":{"login":"muhammadarif1","id":36690337,"avatar_url":"https://avatars0.githubusercontent.com/u/36690337?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadarif1","html_url":"https://github.com/muhammadarif1","followers_url":"https://api.github.com/users/muhammadarif1/followers","following_url":"https://api.github.com/users/muhammadarif1/following{/other_user}","gists_url":"https://api.github.com/users/muhammadarif1/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadarif1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadarif1/subscriptions","organizations_url":"https://api.github.com/users/muhammadarif1/orgs","repos_url":"https://api.github.com/users/muhammadarif1/repos","events_url":"https://api.github.com/users/muhammadarif1/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadarif1/received_events","type":"User","site_admin":false},"labels":[{"id":812681514,"url":"https://api.github.com/repos/amit-bhandari/AB-Remote-Wallpaper-Changer/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-14T20:13:07Z","updated_at":"2018-05-22T17:29:27Z","closed_at":"2018-05-22T17:29:27Z","author_association":"NONE","body":"#### PROJECT INFO\r\n REPOSITORIES : https://github.com/amit-bhandari/AB-Remote-Wallpaper-Changer\r\nAPP NAME           :AB Remote Wallpaper Changer -HD Photos for Friends\r\nLINK DOWNLOAD :https://play.google.com/store/apps/details?id=in.thetechguru.walle.remote.abremotewallpaperchanger\r\n\r\n#### EXPECTED BEHAVIOR\r\n  when the user wants to change his profile photo should the user be able to set it up there is no problem after the user set the rotation and flip the image\r\n\r\n#### ACTUAL BEHAVIOR\r\n  when users want to change their account profile picture then the user set the rotation and flip the image then the user press ```crop ``` button this app instead crashes and takes the user back to the front page of the application\r\n\r\n#### how to reproduce \r\n- download AB Remote Wallpaper Changer -HD Photos for Friends from playstore \r\n- launch the app and then sing in whit your account \r\n- swipe to the right side to account ```profile``` option \r\n-enable block mode and then disable again \r\n- click on account logo \r\n-  pick picture from galery \r\n- click on the 3 dots at the rigt side and click rotate \r\n- after that click on 3 dots against and chose flip option and then chose flip ```flip horizontal``` feature and click crop option and note the bug\r\n\r\napp version : ab remote walpaper v 1.0.0\r\ndevice info   : android 5.1 idos\r\n\r\n#### BUG RECORDING \r\nhttps://youtu.be/DbO2MdUI590\r\n\r\n#### LOGCAT FILE \r\n```FATAL EXCEPTION: main\r\nProcess: in.thetechguru.walle.remote.abremotewallpaperchanger, PID: 9437\r\njava.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=203, result=-1, data=Intent { (has extras) }} to activity {in.thetechguru.walle.remote.abremotewallpaperchanger/in.thetechguru.walle.remote.abremotewallpaperchanger.activity_fragments.ActivityMain}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference\r\n    at android.app.ActivityThread.deliverResults(ActivityThread.java:3665)\r\n    at android.app.ActivityThread.handleSendResult(ActivityThread.java:3708)\r\n    at android.app.ActivityThread.access$1300(ActivityThread.java:157)\r\n    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)\r\n    at android.os.Handler.dispatchMessage(Handler.java:102)\r\n    at android.os.Looper.loop(Looper.java:135)\r\n    at android.app.ActivityThread.main(ActivityThread.java:5376)\r\n    at java.lang.reflect.Method.invoke(Native Method)\r\n    at java.lang.reflect.Method.invoke(Method.java:372)\r\n    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:947)\r\n    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742)\r\nCaused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference\r\n    at in.thetechguru.walle.remote.abremotewallpaperchanger.activity_fragments.FragmentProfile.uploadPhoto(FragmentProfile.java:100)\r\n    at in.thetechguru.walle.remote.abremotewallpaperchanger.activity_fragments.FragmentProfile.onActivityResult(FragmentProfile.java:82)\r\n    at in.thetechguru.walle.remote.abremotewallpaperchanger.activity_fragments.ActivityMain.onActivityResult(ActivityMain.java:97)\r\n    at android.app.Activity.dispatchActivityResult(Activity.java:6226)\r\n    at android.app.ActivityThread.deliverResults(ActivityThread.java:3661)```"}}
{"actor":{"display_login":"amit-bhandari"}}