DHD wrote:The IDE you use is pretty irrelevant in most cases. Much more important would be the Java version you're using.
This is being done in NetBeans IDE 6.8, by the way
DHD wrote:This sounds as if something else prints those messages and not your catch-block. Unfortunately I'm not an expert with XMLEncoding. I can try to guess, 'though: does your Location class have a public no-argument constructor?
The red lines:
java.lang.Exception: XMLEncoder: discarding statement ArrayList.add(Location);
are all I get, then the program keeps running.
My methods for encoding and decoding are wrapped in basic try/catch blocks.