{"action":"created","issue":{"url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/1","repository_url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client","labels_url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/1/comments","events_url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/1/events","html_url":"https://github.com/scalyr/Scalyr-Java-Client/issues/1","id":170480262,"number":1,"title":"Passing null as the memoryLimit argument in Events.init() causes a null pointer exception","user":{"login":"ohEmily","id":4631633,"avatar_url":"https://avatars.githubusercontent.com/u/4631633?v=3","gravatar_id":"","url":"https://api.github.com/users/ohEmily","html_url":"https://github.com/ohEmily","followers_url":"https://api.github.com/users/ohEmily/followers","following_url":"https://api.github.com/users/ohEmily/following{/other_user}","gists_url":"https://api.github.com/users/ohEmily/gists{/gist_id}","starred_url":"https://api.github.com/users/ohEmily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohEmily/subscriptions","organizations_url":"https://api.github.com/users/ohEmily/orgs","repos_url":"https://api.github.com/users/ohEmily/repos","events_url":"https://api.github.com/users/ohEmily/events{/privacy}","received_events_url":"https://api.github.com/users/ohEmily/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-10T18:02:44Z","updated_at":"2016-08-10T18:10:33Z","closed_at":null,"body":"The [docs](https://github.com/scalyr/Scalyr-Java-Client/blob/master/src/com/scalyr/api/logs/Events.java#L79) for the `memoryLimit` argument suggest we can pass `null`:\r\n```\r\n   * @param memoryLimit If not null, then we limit memory usage (for buffering events to be uploaded)\r\n   *     to approximately this many bytes.\r\n```\r\nBut passing null causes an exception when that value is passed to `EventUploader`, which takes an `int`."},"comment":{"url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/comments/238953432","html_url":"https://github.com/scalyr/Scalyr-Java-Client/issues/1#issuecomment-238953432","issue_url":"https://api.github.com/repos/scalyr/Scalyr-Java-Client/issues/1","id":238953432,"user":{"login":"steve-scalyr","id":1100154,"avatar_url":"https://avatars.githubusercontent.com/u/1100154?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-scalyr","html_url":"https://github.com/steve-scalyr","followers_url":"https://api.github.com/users/steve-scalyr/followers","following_url":"https://api.github.com/users/steve-scalyr/following{/other_user}","gists_url":"https://api.github.com/users/steve-scalyr/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-scalyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-scalyr/subscriptions","organizations_url":"https://api.github.com/users/steve-scalyr/orgs","repos_url":"https://api.github.com/users/steve-scalyr/repos","events_url":"https://api.github.com/users/steve-scalyr/events{/privacy}","received_events_url":"https://api.github.com/users/steve-scalyr/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T18:10:32Z","updated_at":"2016-08-10T18:10:32Z","body":"Thanks for reporting this! We'll fix it for our next library update.\n\nSteve\n\nOn Wed, Aug 10, 2016 at 11:02 AM, Emily <notifications@github.com> wrote:\n\n> The docs\n> <https://github.com/scalyr/Scalyr-Java-Client/blob/master/src/com/scalyr/api/logs/Events.java#L79>\n> for the memoryLimit argument suggest we can pass null:\n>\n>    * @param memoryLimit If not null, then we limit memory usage (for buffering events to be uploaded)\n>    *     to approximately this many bytes.\n>\n> But passing null causes an exception when that value is passed to\n> EventUploader, which takes an int.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/scalyr/Scalyr-Java-Client/issues/1>, or mute the\n> thread\n> <https://github.com/notifications/unsubscribe-auth/ABDJetl800Kkre6nbrndpmt4VD6j3V-yks5qehJFgaJpZM4Jhad3>\n> .\n>\n"}}
{"actor":{"display_login":"steve-scalyr"}}