StringIndexOutOfBoundsException: String index out of range

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

StringIndexOutOfBoundsException: String index out of range

Post 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
TiagoR
Posts: 83
Joined: 15 Mar 2010, 11:42
Location: Portugal

Post by TiagoR »

TR
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

Post 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.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply