A runtime error is an error that occurs while the program is running hence "runtime error". This may be a cause of bad programming or events that are not programmed to handle etc. One way to fix the problem is to debug as you have stated, If you can't do this try troubleshooting the errors.
Does this error message occur when using a particular piece of software?