{"action":"opened","issue":{"url":"https://api.github.com/repos/wcs-katedra/poker-kihizott-zokni/issues/19","labels_url":"https://api.github.com/repos/wcs-katedra/poker-kihizott-zokni/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/wcs-katedra/poker-kihizott-zokni/issues/19/comments","events_url":"https://api.github.com/repos/wcs-katedra/poker-kihizott-zokni/issues/19/events","html_url":"https://github.com/wcs-katedra/poker-kihizott-zokni/issues/19","id":62909216,"number":19,"title":"IndexOutOfBoundsException","user":{"login":"thomastrinn","id":7265092,"avatar_url":"https://avatars.githubusercontent.com/u/7265092?v=3","gravatar_id":"","url":"https://api.github.com/users/thomastrinn","html_url":"https://github.com/thomastrinn","followers_url":"https://api.github.com/users/thomastrinn/followers","following_url":"https://api.github.com/users/thomastrinn/following{/other_user}","gists_url":"https://api.github.com/users/thomastrinn/gists{/gist_id}","starred_url":"https://api.github.com/users/thomastrinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomastrinn/subscriptions","organizations_url":"https://api.github.com/users/thomastrinn/orgs","repos_url":"https://api.github.com/users/thomastrinn/repos","events_url":"https://api.github.com/users/thomastrinn/events{/privacy}","received_events_url":"https://api.github.com/users/thomastrinn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wcs-katedra/poker-kihizott-zokni/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T07:50:49Z","updated_at":"2015-03-19T07:50:49Z","closed_at":null,"body":"A ma reggeli poker tournament során egyszer sem győzött a robot, ez gyanús volt, s megnéztem a log-ot, sajnos egy IndexOutOfBoundsException-el elszáltok.\r\n\r\n```java\r\njava.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n\tjava.util.ArrayList.rangeCheck(ArrayList.java:635)\r\n\tjava.util.ArrayList.get(ArrayList.java:411)\r\n\tcom.wcs.poker.gamestate.PreFlopStrategy.<init>(PreFlopStrategy.java:56)\r\n\tcom.wcs.poker.gamestate.DefaultStrategy.preFlopStrategy(DefaultStrategy.java:51)\r\n\tcom.wcs.poker.gamestate.DefaultStrategy.buildScale(DefaultStrategy.java:32)\r\n\tcom.wcs.poker.gamestate.DefaultStrategy.betRequest(DefaultStrategy.java:25)\r\n\torg.leanpoker.player.Player.betRequest(Player.java:11)\r\n```"}}