Re: TextFormat and optional fields.

2009-08-07 Thread Kenton Varda
Protobuf 2.1.0 throws NPE when you try to set a field to null. So, this has been long fixed. On Fri, Aug 7, 2009 at 4:30 AM, Brice Figureau > wrote: > > Hi, > > Oops, sorry, I was plain wrong. > It turns out the code was setting the nonce parameter to null. > Anyway, maybe it should be necessar

Re: TextFormat and optional fields.

2009-08-07 Thread Brice Figureau
Hi, Oops, sorry, I was plain wrong. It turns out the code was setting the nonce parameter to null. Anyway, maybe it should be necessary to change the TextFormat to better deal with null fields? On Fri, 2009-08-07 at 12:07 +0200, Brice Figureau wrote: > Hi, > > I have the following message, und