{"action":"created","issue":{"url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/34","labels_url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/34/comments","events_url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/34/events","html_url":"https://github.com/ex3ndr/telegram-api/issues/34","id":56331158,"number":34,"title":"NullPointerException at org.telegram.tl.StreamingUtils.writeTLObject(StreamingUtils.java:192)","user":{"login":"gth9001","id":10823251,"avatar_url":"https://avatars.githubusercontent.com/u/10823251?v=3","gravatar_id":"","url":"https://api.github.com/users/gth9001","html_url":"https://github.com/gth9001","followers_url":"https://api.github.com/users/gth9001/followers","following_url":"https://api.github.com/users/gth9001/following{/other_user}","gists_url":"https://api.github.com/users/gth9001/gists{/gist_id}","starred_url":"https://api.github.com/users/gth9001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gth9001/subscriptions","organizations_url":"https://api.github.com/users/gth9001/orgs","repos_url":"https://api.github.com/users/gth9001/repos","events_url":"https://api.github.com/users/gth9001/events{/privacy}","received_events_url":"https://api.github.com/users/gth9001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T04:03:18Z","updated_at":"2015-08-07T02:02:16Z","closed_at":null,"body":"With great effor I builded working (almost) api library, and it even sent me sms code (I used telegram-bot code). But after I write this sms code I got the following exception:\r\n`Exception in thread \"Scheduller#1613213400\" java.lang.NullPointerException\r\n\tat org.telegram.tl.StreamingUtils.writeTLObject(StreamingUtils.java:192)\r\n\tat org.telegram.api.requests.TLRequestMessagesSendMessage.serializeBody(Unknown Source)\tat org.telegram.api.requests.TLRequestMessagesSendMessage.serializeBody(Unknown Source)\r\n\tat org.telegram.tl.TLObject.serialize(TLObject.java:46)\r\n\tat org.telegram.tl.StreamingUtils.writeTLObject(StreamingUtils.java:192)\r\n\tat org.telegram.tl.StreamingUtils.writeTLMethod(StreamingUtils.java:203)\r\n\tat org.telegram.api.requests.TLRequestInvokeWithLayer11.serializeBody(Unknown Source)\r\n\tat org.telegram.tl.TLObject.serialize(TLObject.java:46)\r\n\tat org.telegram.tl.TLObject.serialize(TLObject.java:34)\r\n\tat org.telegram.mtproto.schedule.Scheduller.actualPackages(Scheduller.java:388)\r\n\tat org.telegram.mtproto.schedule.Scheduller.doSchedule(Scheduller.java:406)\r\n\tat org.telegram.mtproto.MTProto$SchedullerThread.run(MTProto.java:704)\r\n\tat org.telegram.api.requests.TLRequestMessagesSendMessage.serializeBody(Unknown Source)`\r\nI think it can't serialize auth data. What can I do with it? Anybody faced the same problem? Thanks for answers."},"comment":{"url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/comments/128560965","html_url":"https://github.com/ex3ndr/telegram-api/issues/34#issuecomment-128560965","issue_url":"https://api.github.com/repos/ex3ndr/telegram-api/issues/34","id":128560965,"user":{"login":"gth9001","id":10823251,"avatar_url":"https://avatars.githubusercontent.com/u/10823251?v=3","gravatar_id":"","url":"https://api.github.com/users/gth9001","html_url":"https://github.com/gth9001","followers_url":"https://api.github.com/users/gth9001/followers","following_url":"https://api.github.com/users/gth9001/following{/other_user}","gists_url":"https://api.github.com/users/gth9001/gists{/gist_id}","starred_url":"https://api.github.com/users/gth9001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gth9001/subscriptions","organizations_url":"https://api.github.com/users/gth9001/orgs","repos_url":"https://api.github.com/users/gth9001/repos","events_url":"https://api.github.com/users/gth9001/events{/privacy}","received_events_url":"https://api.github.com/users/gth9001/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T02:02:16Z","updated_at":"2015-08-07T02:02:16Z","body":"@danprat92 Unfortunately I can't remember it now, it was a several months ago. But I can tell that finally I gave up on this library, there was too many problems"}}