{"action":"opened","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1573","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1573/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1573/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1573/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1573","id":104459660,"number":1573,"title":"ArrayIndexOutOfBoundsException in Form.pointerDragged testing with the simulator","user":{"login":"saeder","id":9945131,"avatar_url":"https://avatars.githubusercontent.com/u/9945131?v=3","gravatar_id":"","url":"https://api.github.com/users/saeder","html_url":"https://github.com/saeder","followers_url":"https://api.github.com/users/saeder/followers","following_url":"https://api.github.com/users/saeder/following{/other_user}","gists_url":"https://api.github.com/users/saeder/gists{/gist_id}","starred_url":"https://api.github.com/users/saeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeder/subscriptions","organizations_url":"https://api.github.com/users/saeder/orgs","repos_url":"https://api.github.com/users/saeder/repos","events_url":"https://api.github.com/users/saeder/events{/privacy}","received_events_url":"https://api.github.com/users/saeder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T11:30:37Z","updated_at":"2015-09-02T11:30:37Z","closed_at":null,"body":"I have not been able to reproduce it neither on the simulator, nor elsewhere. But it happened. Perhaps the code should be more defensive here:\r\n```\r\njava.lang.ArrayIndexOutOfBoundsException: 0\r\n\tat com.codename1.ui.Form.pointerDragged(Form.java:2190)\r\n\tat com.codename1.ui.Display.handleEvent(Display.java:2020)\r\n\tat com.codename1.ui.Display.edtLoopImpl(Display.java:1060)\r\n\tat com.codename1.ui.Display.mainEDTLoop(Display.java:991)\r\n\tat com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)\r\n\tat com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)\r\n```\r\n"}}