{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6","repository_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6/events","html_url":"https://github.com/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6","id":181705415,"number":6,"title":"Crash when editing third slot; inability to save url without setting interval and power","user":{"login":"simonrob","id":934006,"avatar_url":"https://avatars.githubusercontent.com/u/934006?v=3","gravatar_id":"","url":"https://api.github.com/users/simonrob","html_url":"https://github.com/simonrob","followers_url":"https://api.github.com/users/simonrob/followers","following_url":"https://api.github.com/users/simonrob/following{/other_user}","gists_url":"https://api.github.com/users/simonrob/gists{/gist_id}","starred_url":"https://api.github.com/users/simonrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonrob/subscriptions","organizations_url":"https://api.github.com/users/simonrob/orgs","repos_url":"https://api.github.com/users/simonrob/repos","events_url":"https://api.github.com/users/simonrob/events{/privacy}","received_events_url":"https://api.github.com/users/simonrob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-07T15:54:28Z","updated_at":"2016-10-10T13:48:12Z","closed_at":null,"body":"Trying to save data to the third slot (slot 2) sometimes (but not always!) crashes with the following error:\r\n\r\n```\r\nProcess: no.nordicsemi.android.nrfbeacon.nearby, PID: 4368\r\n java.lang.IndexOutOfBoundsException: Invalid index 2, size is 1\r\n     at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)\r\n     at java.util.ArrayList.set(ArrayList.java:481)\r\n     at no.nordicsemi.android.nrfbeacon.nearby.update.UpdateFragment.configureUrlSlot(UpdateFragment.java:1555)\r\n     at no.nordicsemi.android.nrfbeacon.nearby.update.ReadWriteAdvertisementSlotDialogFragment$2.onClick(ReadWriteAdvertisementSlotDialogFragment.java:285)\r\n     at android.view.View.performClick(View.java:5204)\r\n     at android.view.View$PerformClick.run(View.java:21153)\r\n     at android.os.Handler.handleCallback(Handler.java:739)\r\n     at android.os.Handler.dispatchMessage(Handler.java:95)\r\n     at android.os.Looper.loop(Looper.java:148)\r\n     at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n     at java.lang.reflect.Method.invoke(Native Method)\r\n     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n```\r\n\r\nIn addition, some beacons come with both interval and power set to zero in the second and third slots - currently, it is not possible to configure a URL in these slots before setting the interval and power (pressing configure has no effect - if this is a technical limitation, could it instead show a hint?)."},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/comments/252624034","html_url":"https://github.com/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6#issuecomment-252624034","issue_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Beacon-for-Eddystone/issues/6","id":252624034,"user":{"login":"roshanrajaratnam","id":8695565,"avatar_url":"https://avatars.githubusercontent.com/u/8695565?v=3","gravatar_id":"","url":"https://api.github.com/users/roshanrajaratnam","html_url":"https://github.com/roshanrajaratnam","followers_url":"https://api.github.com/users/roshanrajaratnam/followers","following_url":"https://api.github.com/users/roshanrajaratnam/following{/other_user}","gists_url":"https://api.github.com/users/roshanrajaratnam/gists{/gist_id}","starred_url":"https://api.github.com/users/roshanrajaratnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roshanrajaratnam/subscriptions","organizations_url":"https://api.github.com/users/roshanrajaratnam/orgs","repos_url":"https://api.github.com/users/roshanrajaratnam/repos","events_url":"https://api.github.com/users/roshanrajaratnam/events{/privacy}","received_events_url":"https://api.github.com/users/roshanrajaratnam/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T13:48:12Z","updated_at":"2016-10-10T13:48:12Z","body":"This is interesting. I think this seems to be something to do with the beacon firmware itself. All these features are fully functional on my end. However the beacons tab will only display, UID and EID beacons that are registered on the proximity API. In addition , for this to work you will have to compile the source code with your own API key by enabling the nearby api. The reason being you need write permissions to register the beacons hence it will not show up on your beacons tab."}}
{"actor":{"display_login":"roshanrajaratnam"}}