Fix for Java.Lang.Runtime Exception for Unmarshalled code