I have a service running that updates a notification in the notification bar when it recieves a message saying it has to be changed.
However I get the following error so
you need to set the contentIntent for your notification.
in your case:
notification.contentIntent = notificationIntent;
otherwise you will get the message, that the contentIntent of the notification is null, because it's not set.
the docu is here: http://developer.android.com/reference/android/app/Notification.html#contentIntent
i have a little example here: http://united-coders.com/nico-heid/show-progressbar-in-notification-area-like-google-does-when-downloading-from-android