Error decoding UtfString
Posted: 01 May 2011, 14:54
Hello.
I'm sending a Base64 encoded image to the server as a UtfString.
But I'm getting the following error on the Server:
This only happens with some images, others work fine.
Is it possible that some images are too big so the UtfString is so long, that it turns negative? If yes, what is the length limit on UtfString?
thanks.
I'm sending a Base64 encoded image to the server as a UtfString.
But I'm getting the following error on the Server:
WARN [SocketReader] protocol.SFSProtocolCodec - Error deserializing request: java.lang.IllegalArgumentException: Error decoding UtfString. Negative size: -3154
This only happens with some images, others work fine.
Is it possible that some images are too big so the UtfString is so long, that it turns negative? If yes, what is the length limit on UtfString?
thanks.