Stacktrace would be helpful. Also, can you confirm if you have read-write permission in your user directory or if any file called Variables.ser exists. From Javadocs 1.6,
if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason