Unhandled exception message on colour calculator windows 8.1

Here you can discuss and share functionality improvements and helper programs to make Context Free better.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
Posts: 47
Joined: Tue Oct 09, 2012 3:00 pm

Unhandled exception message on colour calculator windows 8.1

Post by flembobs »


If you delete all the numbers from a field in the RGB section of colour calculator in the Context Free GUI you get the following message pop up:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit the application will close immediately.

Input string was not in a correct format.
There are buttons to Continue, Quit or show more details.


Possible data loss. I was a bit worried when the message popped up and had thought the program had crashed and I would lose my work. Would be easy enough to skim the message and click quit.

How to reproduce:

Open the colour calculator and delete all the text in one of the RGB fields.


Context Free 3.0.5 (v34) 64-Bit on Windows 8.1


Hope this helps!

User avatar
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California

Re: Unhandled exception message on colour calculator windows

Post by MtnViewJohn »

Thanks. The .Net number parser method throws an exception if you do not present it with a valid number. I forgot to catch this exception in some places.

Post Reply