{"action":"closed","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1597","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1597/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1597/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1597","id":115190338,"number":1597,"title":"Contacts Search exception after \"zero search results\" with FilterProxyListModel","user":{"login":"fleetsimple","id":14740030,"avatar_url":"https://avatars.githubusercontent.com/u/14740030?v=3","gravatar_id":"","url":"https://api.github.com/users/fleetsimple","html_url":"https://github.com/fleetsimple","followers_url":"https://api.github.com/users/fleetsimple/followers","following_url":"https://api.github.com/users/fleetsimple/following{/other_user}","gists_url":"https://api.github.com/users/fleetsimple/gists{/gist_id}","starred_url":"https://api.github.com/users/fleetsimple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleetsimple/subscriptions","organizations_url":"https://api.github.com/users/fleetsimple/orgs","repos_url":"https://api.github.com/users/fleetsimple/repos","events_url":"https://api.github.com/users/fleetsimple/events{/privacy}","received_events_url":"https://api.github.com/users/fleetsimple/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T01:38:34Z","updated_at":"2015-11-12T06:54:15Z","closed_at":"2015-11-12T06:54:15Z","body":"filterproxyListmodel.install, throws null pointer exception after \"ZERO Search Results\"  \r\n \r\nFilterProxyListModel.install(search, contactsList);\r\n\r\nThe error occurs after \"Empty Search Results\" \r\n\r\nFor ex:  \r\n=======================================================\r\n1. Enter Keyword : \"123\" in search text box, the list returns 0 rows/items as  \"0\" match exists for \"123\"\r\n2. remove the \"UnMatched\" keyword , the app throws null error\r\n=======================================================\r\n1. Enter Keyword : \"ABC\" in search text box, the list returns x rows/items  as there are matched contacts exists for \"ABC\"\r\n2. remove the \"Matched \" keyword after X search results , the list shows all contacts.\r\n=======================================================\r\nError Trace : \r\n[EDT] 0:0:0,0 - Exception: java.lang.NullPointerException - null\r\njava.lang.NullPointerException\r\n\tat java.util.Hashtable.get(Hashtable.java:363)\r\n[EDT] 0:0:0,39 - Exception in AppName version 1.3\r\n[EDT] 0:0:0,40 - OS ios\r\n[EDT] 0:0:0,40 - Error java.lang.NullPointerException\r\n[EDT] 0:0:0,40 - Current Form null\r\n\tat com.codename1.contacts.ContactsModel.getItemAt(ContactsModel.java:68)\r\n[EDT] 0:0:0,40 - Exception: java.lang.NullPointerException - null\r\n=======================================================\r\n"}}