You are probably using a ListActivity.
In you firstlist.xml replace the id to:
<ListView
android:id="@android:id/list"
...
ListActivity looks for the id R.android.id.list which you in xml is @android:id/list.
Also look at this post: ListView whose id attribute is ‘android.R.id.list’ Error when I have the ListView id set correctly