Page 1 of 1

StringIndexOutOfBoundsException: String index out of range

Posted: 27 Oct 2010, 05:48
by Kleon
Hello,

I have the error. Could you clarify me what it means?

Code: Select all

(ExtensionHandler.processEvent): Exception in ExtensionHandler: java.lang.StringIndexOutOfBoundsException: String index out of range: 90864
P.S. After this, nothing is working in my server side extension

Posted: 27 Oct 2010, 07:19
by TiagoR

Posted: 27 Oct 2010, 07:24
by Kleon
TiagoR wrote:http://www.lysator.liu.se/java/apidocs/java.lang.StringIndexOutOfBoundsException.html
Yes, I read this. But I don't make any manipulations with strings. Also it seems the error is processed within Smartfox internal environment.

Posted: 27 Oct 2010, 08:10
by Lapo
It could be caused by a too large message, maybe an extension message sent via extension using the raw protocol.
If this is the case you should limit the max size of a request in your config.xml (see MaxMsgLen)
Also, it is very likely that this is a malicious attack and the server is simply discarding it.