Stack Underflow Error AS3

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
smooch1502
Posts: 87
Joined: 07 Aug 2009, 11:01

Stack Underflow Error AS3

Post by smooch1502 »

Hi,

Up until now my game has been compiling and working fine without any problems, however suddenly its coming up with:


VerifyError: Error #1024: Stack underflow occurred.

at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.v2.controllers::ExtensionController/handleMessage()
at com.smartfoxserver.v2.core::SFSProtocolCodec/dispatchRequest()
at com.smartfoxserver.v2.core::SFSProtocolCodec/onPacketRead()
at com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData()
at com.smartfoxserver.v2.core::SFSIOHandler/onDataRead()
at com.smartfoxserver.v2.bitswarm::BitSwarmClient/onSocketData()
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Can you explain how this happens?
Which version of the Server/API are you using?
Is there a specific Extension response that triggers the issue?
Lapo
--
gotoAndPlay()
...addicted to flash games
smooch1502
Posts: 87
Joined: 07 Aug 2009, 11:01

Post by smooch1502 »

Hi,

I'm not sure why this is happening. I'm compiling with Flex SDK 4.5 using SFS2X RC3 as the server. There is no response or error server-side.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

Hi. Can you please check this link, to see if this helps you?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
smooch1502
Posts: 87
Joined: 07 Aug 2009, 11:01

Post by smooch1502 »

Hi,

I'm not sure if that will help as it seams to be a problem within the SFS2X API.
I only seemed to start getting this error when upgrading to SFS2X RC3, i also seamed to start getting this once i updated the java extension to send another extension response with new data straight after another extension response. I was originally thinking of sending this data in the same extension response, however due to the way the client needs to receive things. i couldnt.
Post Reply