I've got an object that I am trying to pass in either direction (EJB method that accepts the object as a parameter and another method that returns the object). I get a java.lang.UndeclaredThrowableException on the client whenever I try to call these methods.
The object implements serializable. It contains a private field of String as well as some private fields of atomic data types, such as int, long, String.
If I remove the String field from the object, the calls work fine. I've tested EJB methods for passing arrays directly and these work fine. Is this a problem with JBoss or is it a general problem with passing objects with arrays contained within them?