{"action":"created","issue":{"url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/71","labels_url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/71/comments","events_url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/71/events","html_url":"https://github.com/CMPUT301W15T12/C301Project/issues/71","id":65622515,"number":71,"title":"App crashes when click on \"create new user\" button","user":{"login":"qsjiang","id":6367081,"avatar_url":"https://avatars.githubusercontent.com/u/6367081?v=3","gravatar_id":"","url":"https://api.github.com/users/qsjiang","html_url":"https://github.com/qsjiang","followers_url":"https://api.github.com/users/qsjiang/followers","following_url":"https://api.github.com/users/qsjiang/following{/other_user}","gists_url":"https://api.github.com/users/qsjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/qsjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qsjiang/subscriptions","organizations_url":"https://api.github.com/users/qsjiang/orgs","repos_url":"https://api.github.com/users/qsjiang/repos","events_url":"https://api.github.com/users/qsjiang/events{/privacy}","received_events_url":"https://api.github.com/users/qsjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T07:26:59Z","updated_at":"2015-04-01T13:28:22Z","closed_at":null,"body":"The app crashed when I clicked on  \"create new user\" button.\r\n\r\nIt says  \"gps\" location provider requires ACCESS_FINE_LOCATION permission. \r\nI checked the manifest file, and we have the correct permission strange... \r\n\r\nCould someone please take a look? \r\n\r\n\r\nHere is the full stack trace.\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): FATAL EXCEPTION: main\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): java.lang.RuntimeException: Unable to start activity ComponentInfo{ca.ualberta.cs.cmput301w15t12/ca.ualberta.cs.cmput301w15t12.NewAccountActivity}: java.lang.SecurityException: \"gps\" location provider requires ACCESS_FINE_LOCATION permission.\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread.access$600(ActivityThread.java:141)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.os.Looper.loop(Looper.java:137)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread.main(ActivityThread.java:5103)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat java.lang.reflect.Method.invoke(Method.java:525)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat dalvik.system.NativeStart.main(Native Method)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): Caused by: java.lang.SecurityException: \"gps\" location provider requires ACCESS_FINE_LOCATION permission.\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.os.Parcel.readException(Parcel.java:1431)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.os.Parcel.readException(Parcel.java:1385)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:540)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.location.LocationManager.requestLocationUpdates(LocationManager.java:836)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.location.LocationManager.requestLocationUpdates(LocationManager.java:430)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat ca.ualberta.cs.cmput301w15t12.NewAccountActivity.onCreate(NewAccountActivity.java:126)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.Activity.performCreate(Activity.java:5133)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)\r\n04-01 07:22:03.469: E/AndroidRuntime(1560): \t... 11 more\r\n"},"comment":{"url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/comments/88480153","html_url":"https://github.com/CMPUT301W15T12/C301Project/issues/71#issuecomment-88480153","issue_url":"https://api.github.com/repos/CMPUT301W15T12/C301Project/issues/71","id":88480153,"user":{"login":"vanbelle","id":9437242,"avatar_url":"https://avatars.githubusercontent.com/u/9437242?v=3","gravatar_id":"","url":"https://api.github.com/users/vanbelle","html_url":"https://github.com/vanbelle","followers_url":"https://api.github.com/users/vanbelle/followers","following_url":"https://api.github.com/users/vanbelle/following{/other_user}","gists_url":"https://api.github.com/users/vanbelle/gists{/gist_id}","starred_url":"https://api.github.com/users/vanbelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanbelle/subscriptions","organizations_url":"https://api.github.com/users/vanbelle/orgs","repos_url":"https://api.github.com/users/vanbelle/repos","events_url":"https://api.github.com/users/vanbelle/events{/privacy}","received_events_url":"https://api.github.com/users/vanbelle/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T13:28:22Z","updated_at":"2015-04-01T13:28:22Z","body":"What happens when you run the gps program from the lab? Does that work on your computer?\n\n> On Apr 1, 2015, at 1:26 AM, Jim Jiang <notifications@github.com> wrote:\n> \n> The app crashed when I clicked on \"create new user\" button.\n> \n> It says \"gps\" location provider requires ACCESS_FINE_LOCATION permission. \n> I checked the manifest file, and we have the correct permission strange...\n> \n> Could someone please take a look? \n> \n> Here is the full stack trace.\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): FATAL EXCEPTION: main\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): java.lang.RuntimeException: Unable to start activity ComponentInfo{ca.ualberta.cs.cmput301w15t12/ca.ualberta.cs.cmput301w15t12.NewAccountActivity}: java.lang.SecurityException: \"gps\" location provider requires ACCESS_FINE_LOCATION permission.\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread.access$600(ActivityThread.java:141)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.os.Handler.dispatchMessage(Handler.java:99)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.os.Looper.loop(Looper.java:137)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread.main(ActivityThread.java:5103)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at java.lang.reflect.Method.invokeNative(Native Method)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at java.lang.reflect.Method.invoke(Method.java:525)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at dalvik.system.NativeStart.main(Native Method)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): Caused by: java.lang.SecurityException: \"gps\" location provider requires ACCESS_FINE_LOCATION permission.\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.os.Parcel.readException(Parcel.java:1431)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.os.Parcel.readException(Parcel.java:1385)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:540)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:836)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:430)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at ca.ualberta.cs.cmput301w15t12.NewAccountActivity.onCreate(NewAccountActivity.java:126)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.Activity.performCreate(Activity.java:5133)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)\n> 04-01 07:22:03.469: E/AndroidRuntime(1560): ... 11 more\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}