Yes, I agree with JK.
I have seen this many times and I was indeed doing the same example Sample Flights, I got this error, deleted the App, cleared the cookies & restarted SMP. I was able to set it up.
I am currently running on SP08.
Regards,
Nagesh