{"action":"opened","issue":{"url":"https://api.github.com/repos/pardom/ActiveAndroid/issues/356","labels_url":"https://api.github.com/repos/pardom/ActiveAndroid/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/pardom/ActiveAndroid/issues/356/comments","events_url":"https://api.github.com/repos/pardom/ActiveAndroid/issues/356/events","html_url":"https://github.com/pardom/ActiveAndroid/issues/356","id":67903945,"number":356,"title":"NPE when running Active Android in release build type with proguard enabled","user":{"login":"vanniktech","id":5759366,"avatar_url":"https://avatars.githubusercontent.com/u/5759366?v=3","gravatar_id":"","url":"https://api.github.com/users/vanniktech","html_url":"https://github.com/vanniktech","followers_url":"https://api.github.com/users/vanniktech/followers","following_url":"https://api.github.com/users/vanniktech/following{/other_user}","gists_url":"https://api.github.com/users/vanniktech/gists{/gist_id}","starred_url":"https://api.github.com/users/vanniktech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanniktech/subscriptions","organizations_url":"https://api.github.com/users/vanniktech/orgs","repos_url":"https://api.github.com/users/vanniktech/repos","events_url":"https://api.github.com/users/vanniktech/events{/privacy}","received_events_url":"https://api.github.com/users/vanniktech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T11:39:26Z","updated_at":"2015-04-12T11:39:26Z","closed_at":null,"body":"When I run my application in release build type with proguard enabled I get the following NPE:\r\n\r\n> java.lang.NullPointerException\r\n            at com.activeandroid.query.From.addArguments(From.java:160)\r\n            at com.activeandroid.query.From.where(From.java:100)\r\n\r\nIf I run the exact same code without proguard it works perfectly fine.\r\n\r\nSince there is no real official proguard documentation for this library, I've searched on the internet and came across this one:\r\n\r\n```groovy\r\n-keep class com.activeandroid.** { *; }\r\n-keep class com.activeandroid.**.** { *; }\r\n-keep class * extends com.activeandroid.Model\r\n-keep class * extends com.activeandroid.serializer.TypeSerializer\r\n-keepattributes Column\r\n-keepattributes Table\r\n-keepclasseswithmembers class * { @com.activeandroid.annotation.Column <fields>; }\r\n```\r\n\r\nIs there anything missing?"}}