It means there's an app that's very poorly written. An error like that should be trapped and give you a message like "<name of app> has experienced a problem and has to close". (Untrapped errors are the sign of an inexperienced programmer.)
Start the phone in Safe Mode - that way, none of your downloaded apps will be running. Then run them, one by one, until the error shows up. That's probably the app causing it.