Well, I just concatenate a series of strings and some single byte values and 
white spaces. No fancy characters as far as I can tell.

Should I cast those bytes?

Thanks!

Zigor.

On 3 Jun 2010, at 11:35, Emmanuel Lecharny wrote:

> On 6/3/10 11:20 AM, Zigor Salvador wrote:
>> Hello,
>> 
>> I'm getting the following sporadic error while using a TextLineProtocol 
>> codec with MINA 2.0.0 RC1.
>> 
> 
> Most certainly because you are trying to write a badly encoded String. I 
> guess you write a byte[], which is transformed to a String, but the 
> byte[] contains invalid bytes wrt the used encoding.
> 
> A snippet of your code could help here.
> 
> -- 
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.nextury.com
> 
> 

Reply via email to