System for saving objects

So you are using the GSON library?

Also what is the full stack trace of the error? (paste everything from the console)

It seems that you have multiple errors, are you using the ControlP5 library? Because it looks similar as this :