When i send notification from backed my app automatically closed

When i send notification from backed my app automatically closed

showing an error message

myapp name has stopped

How can i fix it?
Please help me anyone
Thanks