XStream … ArrayIndexOutOfBoundsException

Posted on March 29, 2011

1


Spent a frustrating unproductive day trying to narrow down an XStream XML writer error that just says ” java.lang.ArrayIndexOutOfBoundsException: -1″ with no clues.

It’s just a dumb mistake of missing writer.endNode  not matching writer.startNode

Wouldn’t this be common error that deserved better messaging ??

Advertisements
Posted in: XStream