How to solve "Unable to serialize variant" errors?
Sascha Meyer <[email protected]> Fri, 17 Mar 2006 06:32:38 -0500
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi there! I started using Jawin yesterday but I'm stuck in invoking a COM object's method and am in desperate need of some advice on how to solve my problem. I managed to call an executable via "new DispatchPtr(...)", but after creating an Object with my parameters and invoking the function, I get the error: "Unable to serialize variant: org.jawin.Variant@d1ad08" and I can't figure out which of my 7 parameters can't be serialized. The executed program requires 5 parameters being variants of strings and 2 variants containing dates (as double values). All values have been transformed to variants before being passed, and I simply don't know, which of the seven parameters causes the error. So how could I find out more about the error? I'm using Eclipse 3.1 in conjunction with Tomcat 5.5 and the most recent version of Jawin (2.0-alpha1). Any help would be greatly appreciated! Thank you!