{"action":"closed","issue":{"url":"https://api.github.com/repos/k3po/k3po/issues/48","labels_url":"https://api.github.com/repos/k3po/k3po/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/k3po/k3po/issues/48/comments","events_url":"https://api.github.com/repos/k3po/k3po/issues/48/events","html_url":"https://github.com/k3po/k3po/issues/48","id":44756224,"number":48,"title":"Non UTF-8 in scripts causes the finish on a control protocol to hang on junit","user":{"login":"dpwspoon","id":2014623,"avatar_url":"https://avatars.githubusercontent.com/u/2014623?v=3","gravatar_id":"","url":"https://api.github.com/users/dpwspoon","html_url":"https://github.com/dpwspoon","followers_url":"https://api.github.com/users/dpwspoon/followers","following_url":"https://api.github.com/users/dpwspoon/following{/other_user}","gists_url":"https://api.github.com/users/dpwspoon/gists{/gist_id}","starred_url":"https://api.github.com/users/dpwspoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpwspoon/subscriptions","organizations_url":"https://api.github.com/users/dpwspoon/orgs","repos_url":"https://api.github.com/users/dpwspoon/repos","events_url":"https://api.github.com/users/dpwspoon/events{/privacy}","received_events_url":"https://api.github.com/users/dpwspoon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/k3po/k3po/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/k3po/k3po/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/k3po/k3po/labels/k3po-core","name":"k3po-core","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-03T00:50:11Z","updated_at":"2015-04-07T17:32:57Z","closed_at":"2015-04-07T17:32:57Z","body":"To reproduce, add a non UTF-8 character into a script.  The finish frame sent from the robot will over calculate the number.  Junit will then try to read more chars then are available in the response and throw a SocketclosedException.  \r\n\r\nThe expectation is that scripts can only be UTF-8 meaning we should not load non UTF-8 scripts.  Thus the robot should abort / throw an exception with a prepare comes in."}}