Hi, I found the issue. As part of our test a DOM had been sent, which obviously wouldn't have been able to be marshalled by Castor (the XSD desriping the Object shows it containing a list of arbitrary object xsd:AnyType). The solution was simply to pack the DOM as a string before adding it to the castor helper object.
Thanks, Brian -----Original Message----- From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 17:58 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] AbstractMethodERror when converting to XML Hi Brian, Can you please post your code and XML. Also are you using the CVS version? Thanks, Arnaud > -----Original Message----- > From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 4:59 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] AbstractMethodERror when converting to XML > > Hi, > > I have an Castor generated helper class (i.e. generated from my XSD). I am > trying to marshall it to XML but I keep getting an AbastractMethodError, > > java.lang.AbstractMethodError > at java.lang.reflect.Method.invoke(Native Method) > at > org.exolab.castor.mapping.loader.FieldHandlerImpl.getValue(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at org.exolab.castor.xml.Marshaller.marshal(Unknown Source) > at > com.fineos.ta.services.xml.TypeMapping.convertToXML(TypeMapping.java:289 ) > > As this doesn't give me much information has anyone got any ideas where I > should start looking. > > Thanks, > > Brian > > > ************************************************************************ ** > The information contained in this e-mail is confidential, > may be privileged and is intended only for the use of the > recipient named above. If you are not the intended > recipient or a representative of the intended recipient, > you have received this e-mail in error and must not copy, > use or disclose the contents of this email to anybody > else. If you have received this e-mail in error, please > notify the sender immediately by return e-mail and > permanently delete the copy you received. This email has > been swept for computer viruses. However, you should > carry out your own virus checks. > > > Registered in Ireland, No. 205721. http://www.FINEOS.com > ************************************************************************ ** > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
