Hi. I am getting this error:
Server was unable to process request. ---> MBException: Error in CMBVariant:

perator MB:

ataValuePtr(). Type of the Variant, 20, is invalid for this method. (0x80040500)
Which is caused by this code:
for(int i=0;i<3;i++)
{
mdata
=new MBMetadata();
mdata.setMID(dbAttributes.getMid());
Object valueFromDB=dbAttributes.getValue();
mdata.setMValue(valueFromDB);
}
The values are set in a code like this:
attributes[1]=new AttributeValuePair("{B55CF1EE-777C-402F-95EC-07C630476123} ",Long.valueOf(rs.getLong(1)), "Item ID");
When I set STRINGS only - the code works. As soon as it comes across any object which is not a String, it gives me the error above.
Can you please let me know what is the problem?
Thank you.