{"action":"closed","issue":{"url":"https://api.github.com/repos/kennycason/kumo/issues/16","repository_url":"https://api.github.com/repos/kennycason/kumo","labels_url":"https://api.github.com/repos/kennycason/kumo/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kennycason/kumo/issues/16/comments","events_url":"https://api.github.com/repos/kennycason/kumo/issues/16/events","html_url":"https://github.com/kennycason/kumo/issues/16","id":116941092,"number":16,"title":"setMinWordLength gives an exception","user":{"login":"lfdversluis","id":3618917,"avatar_url":"https://avatars.githubusercontent.com/u/3618917?v=3","gravatar_id":"","url":"https://api.github.com/users/lfdversluis","html_url":"https://github.com/lfdversluis","followers_url":"https://api.github.com/users/lfdversluis/followers","following_url":"https://api.github.com/users/lfdversluis/following{/other_user}","gists_url":"https://api.github.com/users/lfdversluis/gists{/gist_id}","starred_url":"https://api.github.com/users/lfdversluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfdversluis/subscriptions","organizations_url":"https://api.github.com/users/lfdversluis/orgs","repos_url":"https://api.github.com/users/lfdversluis/repos","events_url":"https://api.github.com/users/lfdversluis/events{/privacy}","received_events_url":"https://api.github.com/users/lfdversluis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-14T17:48:59Z","updated_at":"2016-02-21T10:03:42Z","closed_at":"2016-02-21T10:03:42Z","body":"Hey, nice library.\r\n\r\nI loaded some text into it and settings ``frequencyAnalyzer.setMinWordLength(2);`` for words such as \"ok\" and \"gg\", but this gives me an exception:\r\n```\r\njava.lang.IllegalArgumentException: Width (0) and height (14) cannot be <= 0\r\n\tat java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)\r\n\tat java.awt.image.BufferedImage.<init>(BufferedImage.java:340)\r\n\tat wordcloud.Word.<init>(Word.java:39)\r\n\tat wordcloud.WordCloud.buildWord(WordCloud.java:260)\r\n\tat wordcloud.WordCloud.buildwords(WordCloud.java:247)\r\n\tat wordcloud.WordCloud.build(WordCloud.java:107)\r\n\tat CloudCreator.main(CloudCreator.java:56)\r\n```\r\nwhere line 56 is ``wordCloud.build(wordFrequencies);``"}}