Error with a xml view
<p>I keep getting this error </p>

<pre><code>07-14 23:53:03.653: ERROR/AndroidRuntime(14995): java.lang.NullPointerException
07-14 23:53:03.653: ERROR/AndroidRuntime(14995):     at com.fttech.organizeit.meeting_list$meetingHolder.populateFrom(meeting_list.java:110)
07-14 23:53:03.653: ERROR/AndroidRuntime(14995):     at com.fttech.organizeit.meeting_list$meetingAdapter.bindView(meeting_list.java:82)
07-14 23:53:03.653: ERROR/AndroidRuntime(14995):     at    android.widget.CursorAdapter.getView(CursorAdapter.java:186)
07-14 23:53:03.653: ERROR/AndroidRuntime(14995):     at android.widget.AbsListView.obtainView(AbsListView.java:1315)
</code></pre>

<p>It works when i run it on a xlarg screen. but when i run it on a regular layout it keeps force closing at this line</p>

<pre><code>meetingHolder(View row){
        mtitle=(TextView)row.findViewById(R.id.mtitle);
        maddress = (TextView)row.findViewById(R.id.address);
        Icon = (ImageView)row.findViewById(R.id.Micon);

    }
    void populateFrom(Cursor c, meetingHelper helper){
        mtitle.setText(helper.getMettingTitle(c));
        maddress.setText(helper.getAddress(c));

        if(helper.getType(c).equals("completed")){
            Icon.setImageResource(R.drawable.completed);

        }
</code></pre>

<p>Here is my xml for it </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="horizontal"
android:padding="4dip"&gt;
&lt;ImageView
    android:id="@+id/Micon"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_alignParentTop = "true"
    android:layout_alignParentBottom = "true"
    android:layout_marginRight="4dip"
    /&gt;
    &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        &gt;

        &lt;TextView
        android:textColor="#15317E"
            android:id="@+id/mtitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:textStyle="bold"
            android:maxLines="1"
            android:ellipsize="end"
            /&gt;

            &lt;TextView
            android:textColor="#15317E"
            android:id="@+id/address"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:maxLines="1"
            android:textSize="16dip"
            android:ellipsize="middle"/&gt;




        &lt;/LinearLayout&gt;
    &lt;/LinearLayout&gt;
</code></pre>

<p>I have no idea why this has started happening all of a sudden but its very annoying.</p>

<pre><code>}
public String getType(Cursor c){
    return(c.getString(7));
}
</code></pre>
