Would you mind emailing your .thrift file and the binary blob sent to
the server?  I'll pipe it to thrift_dump (under contrib) to take a
look to see if the Trips are actually there.  Or you can do this yourself
if you want, assuming you can build the C++ libraries.

--David

William Hatch wrote:
> Hi Bryan,
> 
> Thrift version 20080411-r761018
> 
> 
> Now, I just updated the source and rebuilt and installed it the other  
> day, but that output isn't looking very good if my assumption that the  
> first part is a date string.  Updating just now brought it up to rev  
> 761976
> 
> Bill
> On Apr 4, 2009, at 12:47 PM, Bryan Duxbury wrote:
> 
>> What version of Thrift are you using?
>>
>> -Bryan
>>
>> On Apr 4, 2009, at 9:31 AM, William Hatch wrote:
>>
>>> Using the same thrift templates to create Ruby and Java class  
>>> files. I have a Vehicle object that has an array of Trip objects as  
>>> an attribute. If I create the ruby Vehicle object, push some Trip  
>>> objects into it's trips array, serialize it, send it across the  
>>> wire (as simple binary data in a post request, not using thrift for  
>>> that) the java deserialized object will give me a zero count for  
>>> the Vehicles' trips list, the previously added Trip is not there.  
>>> I've confirmed on the ruby side prior to serialization that it is  
>>> there. Any pointers? I should point out that I'm able to make this  
>>> happen from cocoa to java no problem, using the same templates for  
>>> generation. Thanks.
>>>
>>>
>>> William Hatch
>>>
>>>
>>>
> 

Reply via email to