{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/2442","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/2442/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/2442/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/2442/events","html_url":"https://github.com/realm/realm-java/issues/2442","id":140618916,"number":2442,"title":"RealmConfiguration NullPointerException","user":{"login":"swjjxyxty","id":8953382,"avatar_url":"https://avatars.githubusercontent.com/u/8953382?v=3","gravatar_id":"","url":"https://api.github.com/users/swjjxyxty","html_url":"https://github.com/swjjxyxty","followers_url":"https://api.github.com/users/swjjxyxty/followers","following_url":"https://api.github.com/users/swjjxyxty/following{/other_user}","gists_url":"https://api.github.com/users/swjjxyxty/gists{/gist_id}","starred_url":"https://api.github.com/users/swjjxyxty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swjjxyxty/subscriptions","organizations_url":"https://api.github.com/users/swjjxyxty/orgs","repos_url":"https://api.github.com/users/swjjxyxty/repos","events_url":"https://api.github.com/users/swjjxyxty/events{/privacy}","received_events_url":"https://api.github.com/users/swjjxyxty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T09:25:26Z","updated_at":"2016-03-14T11:50:20Z","closed_at":null,"body":"#### Goal\r\n\r\n> What do you want to achieve?\r\nget a realm instance.\r\n\r\n#### Expected Results\r\n\r\n> Realm instance\r\n\r\n#### Actual Results\r\n\r\n> `03-14 16:30:56.439: E/AndroidRuntime(20628): Caused by: java.lang.NullPointerException\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat io.realm.RealmConfiguration.equals(RealmConfiguration.java:186)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat io.realm.RealmCache.validateConfiguration(RealmCache.java:217)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:103)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat io.realm.Realm.getInstance(Realm.java:213)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat io.realm.Realm.getInstance(Realm.java:176)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat com.xty.ecowa.ui.activities.NewEventActivity.onActivityResult(NewEventActivity.java:256)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat android.app.Activity.dispatchActivityResult(Activity.java:5804)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3831)\r\n03-14 16:30:56.439: E/AndroidRuntime(20628): \t... 11 more`\r\n\r\n#### Steps & Code to Reproduce\r\n\r\n> update version 0.83 to 0.88.\r\n\r\n#### Code Sample\r\n\r\n```java\r\n\r\nRealm instance = Realm.getInstance(this);\r\n\r\n```\r\n\r\n#### Version of Realm and tooling\r\nRealm version(s): 0.88\r\n\r\nAndroid Studio version: 2.0 beta6\r\n\r\nWhich Android version and device: 4.4.4-Samsung-SM-E7000 ,SM-G7509\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/196276401","html_url":"https://github.com/realm/realm-java/issues/2442#issuecomment-196276401","issue_url":"https://api.github.com/repos/realm/realm-java/issues/2442","id":196276401,"user":{"login":"lourenci","id":2339362,"avatar_url":"https://avatars.githubusercontent.com/u/2339362?v=3","gravatar_id":"","url":"https://api.github.com/users/lourenci","html_url":"https://github.com/lourenci","followers_url":"https://api.github.com/users/lourenci/followers","following_url":"https://api.github.com/users/lourenci/following{/other_user}","gists_url":"https://api.github.com/users/lourenci/gists{/gist_id}","starred_url":"https://api.github.com/users/lourenci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lourenci/subscriptions","organizations_url":"https://api.github.com/users/lourenci/orgs","repos_url":"https://api.github.com/users/lourenci/repos","events_url":"https://api.github.com/users/lourenci/events{/privacy}","received_events_url":"https://api.github.com/users/lourenci/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T11:50:20Z","updated_at":"2016-03-14T11:50:20Z","body":"Hi, \r\nI already opened something like that. I think that is already closed and it will released at 0.88.1 version. #2416"}}