The Troubleshooting Page has some good info.

You can use watch statement to debug and find which line might be causing the problem.