Ignore the above. Apparently I only needed 2 more hours to figure it out.
Because I was defining StoreInfo in both InfoInput and InfoViewer, the data object was specific to the class it was defined in (hence the ClassCastException). I've since moved StoreInfo to its own file as a public class and it works fine.
|