{"action":"opened","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/2332","repository_url":"https://api.github.com/repos/codenameone/CodenameOne","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/2332/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/2332/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/2332/events","html_url":"https://github.com/codenameone/CodenameOne/issues/2332","id":296736576,"number":2332,"title":"Network errors on latest CN1, not in prior versions.","user":{"login":"samlotti2","id":12683767,"avatar_url":"https://avatars1.githubusercontent.com/u/12683767?v=4","gravatar_id":"","url":"https://api.github.com/users/samlotti2","html_url":"https://github.com/samlotti2","followers_url":"https://api.github.com/users/samlotti2/followers","following_url":"https://api.github.com/users/samlotti2/following{/other_user}","gists_url":"https://api.github.com/users/samlotti2/gists{/gist_id}","starred_url":"https://api.github.com/users/samlotti2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlotti2/subscriptions","organizations_url":"https://api.github.com/users/samlotti2/orgs","repos_url":"https://api.github.com/users/samlotti2/repos","events_url":"https://api.github.com/users/samlotti2/events{/privacy}","received_events_url":"https://api.github.com/users/samlotti2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T13:28:18Z","updated_at":"2018-02-13T13:28:18Z","closed_at":null,"author_association":"NONE","body":"I get networks errors most frequently on the mobile device to the point where the app is not usable.  I have been able to reproduce this in the simulator.  For the simulator is is not as frequent but will appear.  \r\n\r\nAttached are 2 java files to be placed in a new hello world CN1 application.\r\nRun the application (make sure you have latest and updated the project libs.  Then press the 'Click Me to test' to test button.  You will see the console output and should get an error. Sometimes right away, sometimes after a some calls.  The button with loop for 100 calls to the server.\r\n\r\nNow change the version to 3.7 or any earlier.  Refresh the libs and you should be able to hit the start button as many times as you want without any errors.\r\n\r\n\r\nOn my mobile device and watching the server log files it looks like the device shows the error without making the call, but when it close the dialog I then see the server get accessed (at this point its too late for the app to use it.  So i get the feeling theres some race or setting that is causing it to immediately fail without actually performing the network operation.\r\n \r\nPlease note this application and my others have been working fine for years and its this latest build that is causing my issues.   The test case has not real business logic from my app.\r\n\r\n\r\n[myapp.zip](https://github.com/codenameone/CodenameOne/files/1720017/myapp.zip)\r\n\r\n![screen shot 2018-02-13 at 8 25 52 am](https://user-images.githubusercontent.com/12683767/36152056-9ac7f0ca-1097-11e8-9b92-37fa953aa98d.png)\r\n\r\n"}}
{"actor":{"display_login":"samlotti2"}}