{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/2945","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/2945/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/2945/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/2945/events","html_url":"https://github.com/realm/realm-java/issues/2945","id":158831556,"number":2945,"title":"Support `null` element in `RealmList`","user":{"login":"gushoubang","id":8435230,"avatar_url":"https://avatars.githubusercontent.com/u/8435230?v=3","gravatar_id":"","url":"https://api.github.com/users/gushoubang","html_url":"https://github.com/gushoubang","followers_url":"https://api.github.com/users/gushoubang/followers","following_url":"https://api.github.com/users/gushoubang/following{/other_user}","gists_url":"https://api.github.com/users/gushoubang/gists{/gist_id}","starred_url":"https://api.github.com/users/gushoubang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gushoubang/subscriptions","organizations_url":"https://api.github.com/users/gushoubang/orgs","repos_url":"https://api.github.com/users/gushoubang/repos","events_url":"https://api.github.com/users/gushoubang/events{/privacy}","received_events_url":"https://api.github.com/users/gushoubang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/Blocked%20On%20Core","name":"Blocked On Core","color":"fad8c7"},{"url":"https://api.github.com/repos/realm/realm-java/labels/S:P2%20Backlog","name":"S:P2 Backlog","color":"dedede"},{"url":"https://api.github.com/repos/realm/realm-java/labels/T:Feature","name":"T:Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-07T03:51:45Z","updated_at":"2016-06-07T05:37:17Z","closed_at":null,"body":"like this \r\n\r\n```\r\npublic class Dog extends RealmObject {\r\n    private String name;\r\n    private int age;\r\n\r\n    // ... Generated getters and setters ...\r\n}\r\n\r\nRealmList<Dog > dogs= new RealmList<>();\r\ndogs.add(null);\r\n```\r\n\r\nbut I can't use \"dogs.add(null);\"\r\n\r\n```\r\n Caused by: java.lang.IllegalArgumentException: RealmList does not accept null values\r\n                                                                 at io.realm.RealmList.checkValidObject(RealmList.java:733)\r\n                                                                 at io.realm.RealmList.add(RealmList.java:187)\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/224182868","html_url":"https://github.com/realm/realm-java/issues/2945#issuecomment-224182868","issue_url":"https://api.github.com/repos/realm/realm-java/issues/2945","id":224182868,"user":{"login":"gushoubang","id":8435230,"avatar_url":"https://avatars.githubusercontent.com/u/8435230?v=3","gravatar_id":"","url":"https://api.github.com/users/gushoubang","html_url":"https://github.com/gushoubang","followers_url":"https://api.github.com/users/gushoubang/followers","following_url":"https://api.github.com/users/gushoubang/following{/other_user}","gists_url":"https://api.github.com/users/gushoubang/gists{/gist_id}","starred_url":"https://api.github.com/users/gushoubang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gushoubang/subscriptions","organizations_url":"https://api.github.com/users/gushoubang/orgs","repos_url":"https://api.github.com/users/gushoubang/repos","events_url":"https://api.github.com/users/gushoubang/events{/privacy}","received_events_url":"https://api.github.com/users/gushoubang/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T05:37:16Z","updated_at":"2016-06-07T05:37:16Z","body":"OK,I know"}}
{"actor":{"display_login":"gushoubang"}}