Keywords: Creating VT_I1 value.
Patch attached. Various lines JIVariant (SVN revision @136)
The JIVariant class misses the two byte constructors:
public JIVariant(byte value, boolean isByRef)
public JIVariant(byte value)
These are needed to create a JIVariant of type VT_I1 by calling them with a byte as value.
The JIVariant#makeVariant()-method also requires these, as it is using the two-args constructor via reflection when called with a Byte-object. This fails and leads to null and the following warning in the log:
Oct 4, 2011 1:11:29 PM org.jinterop.dcom.core.JIVariant makeVariant
WARNING: Could not create Variant for <value> , isByRef false