In my application. I want to implement searchview which is placed in action bar. And I am using simple cursor adapter. There are one imageview and one textview in the simple cursor adapter. I want to implement search on the basis of textview content. But I got null pointer exception.In my application. I want to implement searchvi