{"action":"opened","issue":{"url":"https://api.github.com/repos/vjurenka/BWMirror/issues/29","repository_url":"https://api.github.com/repos/vjurenka/BWMirror","labels_url":"https://api.github.com/repos/vjurenka/BWMirror/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/vjurenka/BWMirror/issues/29/comments","events_url":"https://api.github.com/repos/vjurenka/BWMirror/issues/29/events","html_url":"https://github.com/vjurenka/BWMirror/issues/29","id":198822842,"number":29,"title":"UnitSizeType appears to be null every return","user":{"login":"adakitesystems","id":22711643,"avatar_url":"https://avatars.githubusercontent.com/u/22711643?v=3","gravatar_id":"","url":"https://api.github.com/users/adakitesystems","html_url":"https://github.com/adakitesystems","followers_url":"https://api.github.com/users/adakitesystems/followers","following_url":"https://api.github.com/users/adakitesystems/following{/other_user}","gists_url":"https://api.github.com/users/adakitesystems/gists{/gist_id}","starred_url":"https://api.github.com/users/adakitesystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adakitesystems/subscriptions","organizations_url":"https://api.github.com/users/adakitesystems/orgs","repos_url":"https://api.github.com/users/adakitesystems/repos","events_url":"https://api.github.com/users/adakitesystems/events{/privacy}","received_events_url":"https://api.github.com/users/adakitesystems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-04T22:05:14Z","updated_at":"2017-01-04T22:05:14Z","closed_at":null,"body":"The command `System.out.println(UnitType.Zerg_Zergling.size().toString());` crashes JRE with `EXCEPTION_ACCESS_VIOLATION`. \r\n\r\nI was also not able to compare UnitSizeType objects such as getting a unit from `self.getUnits()` then comparing its UnitSizeType against `UnitSizeType.Zerg_Zergling.size()`. The comparison does not crash JRE, the comparison simply fails to return true when the two UnitSizeType objects should be equal. It appears `.size()` just returns null or some empty/irrelevant object every time no matter what the UnitType is.\r\n\r\nSoftware:\r\n- Virtual machine Windows 7 32-bit\r\n- BWMirror 2.5\r\n- Oracle JDK 1.8u111 32-bit\r\n- NetBeans 8.2"}}
{"actor":{"display_login":"adakitesystems"}}