-
Feb 15th, 2005, 07:52 AM
#1
HttpInvokers and serialization of BindException
Hi,
I have a situation where i want to send a BindException object through a HttpInvoker;
This BindException class implements Serializable so this should work fine.
When i try this i get a NotSerializableException on BeanWrapperImpl (which is a property of BindException). This BeanWrapperImpl isn't Serializable..
Is this a bug in Spring?
The only solution i can think of is to return a List of ObjectError 's and create a new BindException and fill it with these ObjectError 's, but this is just a work-a-round.
Thanks,
-
Feb 15th, 2005, 08:17 AM
#2
This is what i found in the JIRA Issue tracker:
Description
As per our discussion, we need the BeanWrapper to be serializable, since we're serializing the BindException to a fat client to do communication of error messages.
Thanks!
Comment by Juergen Hoeller [11/Jan/05 03:40 AM] [ Permlink ]
BindException is serializable now, with the BeanWrapper reference being transient. If necessary, a new BeanWrapper is built for the target object.
Juergen
Should be fixed in version 1.1.4, so im going to download the new version and lets see if it works :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules