You should have a default value with that getBoolean. Also, if the rio starts up before your program, its going to get an error, because your client has not set the value yet.
Code:
getBoolean("found_tote", false);
Use that to keep from getting error, and make sure your client is actually connecting.