users@jaxb.java.net

Re: Why is CopyBuilder copy method checking isAccessible

From: Marcel Casado <marcel_at_ucar.edu>
Date: Tue, 25 Aug 2009 19:49:43 -0700 (PDT)

Hi,

I'm running into the same problem with cloning an XMLGregorianCalendar

SEVERE: Could not clone the object [2009-08-18T05:03:00.000-06:00] as
invocation of the clone() method has thrown an exception.
java.lang.UnsupportedOperationException: Could not clone the object
[2009-08-18T05:03:00.000-06:00] as invocation of the clone() method has
thrown an exception.
        at
org.jvnet.jaxb2_commons.lang.builder.CopyBuilder.copy(CopyBuilder.java:34)
        at
org.jvnet.jaxb2_commons.lang.builder.JAXBCopyBuilder.copy(JAXBCopyBuilder.java:36)
        at
edu.ucar.rap.flighthazard.schema._1.EramFlightPlan.copyTo(EramFlightPlan.java:3291)
        at
org.jvnet.jaxb2_commons.lang.builder.JAXBCopyBuilder.copy(JAXBCopyBuilder.java:24)


Did you figure out a solution ?

Thanks,

-Marcel
-- 
View this message in context: http://www.nabble.com/Why-is-CopyBuilder-copy-method-checking-isAccessible-tp20453282p25145704.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.