Reup: Notification (NPE Issue)
===

I reworked the code to my notification class. Its spitting an Null pointer Exception at me every time I go to run it. So once more here is the code:

    import android.app.Activity;
    import android.app.Notification;
    import android.app.NotificationManager;
    import android.app.PendingIntent;
    import android.content.Context;
    import android.content.Intent;
    import android.os.Bundle;
    import android.widget.RemoteViews;

    public class kickStart extends Activity {
	NotificationManager nm;
	Context context = this;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Notification notification = new Notification();
		RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.note);
		contentView.setImageViewResource(R.id.icon, R.drawable.ic_launcher);
		contentView.setTextViewText(R.id.title, "Custom notification");
		contentView.setTextViewText(R.id.text, "This is a custom layout");
		notification.contentView = contentView;
		Intent notificationIntent = new Intent(this, MainActivity.class);
		PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
		notification.contentIntent = contentIntent;
		notificationIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		int CUSTOM_VIEW_ID = 10;
		nm.notify(CUSTOM_VIEW_ID, notification);
	}
    }

Now for the question: Why am I getting NPE... And how do I fix it.  