StringIndexOutOfBoundsException: String index out of range

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

Moderators: Lapo, Bax

User avatar
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

StringIndexOutOfBoundsException: String index out of range

Postby Kleon » 27 Oct 2010, 05:48

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
Contact:

Postby TiagoR » 27 Oct 2010, 07:19

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

Postby Kleon » 27 Oct 2010, 07:24

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: 21726
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 27 Oct 2010, 08:10

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

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 13 guests