Error: Error #1023: Stack overflow occurred.

This is the code of my Flash component for Flex.
It loads 2 images, one with a "Loader" and the other with a
"UILoader" and a progressbar.
When the completeHandler function is executed, the error
message " Error #1023: Stack overflow occurred." appears. (The
whole message is a the end of the Post)
The code line which does this error is:
ImageContainer2.addChild(myUILoader2);
When I take it away, no error anymore, but no image too!
package {
import flash.display.*
import flash.text.*
import mx.flash.UIMovieClip;
import flash.net.URLRequest;
import flash.events.*;
import fl.containers.UILoader;
import fl.controls.Label;
import fl.controls.ProgressBar;
//import fl.controls.progressBarClasses.*;
public class mcbigImage extends UIMovieClip
// Define public setter method.
[Bindable (event="bgImageChanged")]
[Event('bgImageChanged')]
[ChangeEvent("change")]
public function set bgImage(img:String):void
var ldr:Loader = new Loader();
var url:String = img;
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
this.ImageContainerMirror.addChild(ldr);
dispatchEvent(new Event("bgImageChanged"));
//this.testTXT.text = String(ldr.content);
[Bindable (event="bigImageChanged")]
[Event('bigImageChanged')]
[ChangeEvent("change")]
public function set bigImage(img:String):void
ImageLoader.visible = true;
var myUILoader2:UILoader = new UILoader();
myUILoader2.autoLoad = true;
myUILoader2.source = img;
myUILoader2.scaleContent = false;
myUILoader2.load();
ImageContainer2.addChild(myUILoader2);
var myProgressBar:ProgressBar = new ProgressBar();
myProgressBar.source = myUILoader2;
myProgressBar.move(218, 147);
myProgressBar.addEventListener(Event.COMPLETE,
completeHandler);
ImageLoader.addChild(myProgressBar)
function completeHandler(event:Event):void
myProgressBar.removeEventListener(Event.COMPLETE,
completeHandler);
ImageLoader.visible = false;
dispatchEvent(new Event("bigImageChanged"));
This is the whole error message:
Error: Error #1023: Stack overflow occurred.
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::SystemManager/mx.managers:SystemManager::Stage_resizeHandler()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\SystemManager.as:2429]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

But I can't see where in my code a listener calls the setter
where its event is dispatched.
Am I blind? ;-)
Do you see it?

Similar Messages

  • Error #1023: Stack overflow occurred. null

    I am entering data inside a datagrid and I have an update button which sends data to a web service.  But when I click the update button, I get this error: Error #1023: Stack overflow occurred. null.  I filled in the info using SOAPUI and sent it to the web service and it works fine.  So this error is inside flex.  Would you help me understand what I am doing wrong.
    Here is my code:
                protected function updateBtn_clickHandler(event:MouseEvent):void
                    if (currentState == "EmployeeNonAvails")
                        setNonAvailResult.token = personnelBean.setNonAvail(nonAvailDto);
                    else if (currentState == "EmployeeDetail")
                        userDto.firstName = firstNameTextInput.text;
                        userDto.lastName = lastNameTextInput.text;
                        userDto.loginName = loginNameTextInput.text;
                        userDto.password = passwordTextInput.text;
                        setUserResult.token = personnelBean.setUser(userDto);
        <fx:Declarations>
            <personnelbean:PersonnelBean id="personnelBean" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <valueObjects:UserDto id="userDto"/>
            <valueObjects:NonAvailDto id="nonAvailDto"/>
            <valueObjects:ReasonDto id="reasonDto"/>
            <s:CallResponder id="setNonAvailResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Button id="updateBtn" includeIn="EmployeeNonAvails,EmployeeDetail" x="80" y="192" label="Update" click="updateBtn_clickHandler(event)"/>
        <mx:DataGrid id="nonAvailDg" width="875" height="248" editable="true" x="0" y="244"
                     dataProvider="{userDto.nonAvails}" includeIn="EmployeeNonAvails">

    PersonnelBean is a reference generated by Flash Builder to a web Service.  As stated in my original message.  I have already tested the web service and it is working fine.  I used SOAPUI to send the data via XML and it worked perfectly fine.  Besides, when I watch the server log, nothing happens and so Flex is not even sending out the message.  Flex is talking to the server because it connects and loads data fine.  It seems to fail when I want to send data to the server.  But it is failing before it actually sends the data.  And it fails during generated code.  This tells me there is a bug in Flash Builder.  If you look at the generated code for Personnel Bean this is what you see.
    [ExcludeClass]
    internal class _Super_PersonnelBean extends com.adobe.fiber.services.wrapper.WebServiceWrapper
        // Constructor
        public function _Super_PersonnelBean()
            // initialize service control
            _serviceControl = new mx.rpc.soap.mxml.WebService();
            var operations:Object = new Object();
            var operation:mx.rpc.soap.mxml.Operation;
            operation = new mx.rpc.soap.mxml.Operation(null, "setNonAvail");
             operation.resultType = valueObjects.NonAvailDto;
            operations["setNonAvail"] = operation;
            _serviceControl.operations = operations;
            try
                _serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
            catch (e: Error)
            { /* Flex 3.4 and eralier does not support the convertResultHandler functionality. */ }
            _serviceControl.service = "PersonnelBeanService";
            _serviceControl.port = "PersonnelBeanPort";
            wsdl = "http://localhost:8080/PersonnelBeanService/PersonnelBean?wsdl";
            model_internal::loadWSDLIfNecessary();
            model_internal::initialize();
          * This method is a generated wrapper used to call the 'setNonAvail' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function setNonAvail(arg0:valueObjects.NonAvailDto) : mx.rpc.AsyncToken
            model_internal::loadWSDLIfNecessary();
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("setNonAvail");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(arg0) ;
            return _internal_token;

  • Error: #1023 Stack overflow occurred (internal resolved property)

    Hi there,
    After working on my site for months with different versions of Adobe Muse CC I recently did the update to CC 2014.3.0 and after doing so, every time I open the site file it throws a #1023 error message. After doing some digging, it would seem it relates to paragraph styles and a recurring loop.
    Editing on Mac Pro (Late 2013) OSX Yosemite Version 10.10 - Have deleted all previous versions of Muse from system, cleared all Library preferences, reinstalled the latest version, tried all the tricks. Have wetransferred the site file to [email protected], awaiting a response (For Adobe the reference is [email protected]).
    Has anybody else experienced this issue? As is the case with these things, we are meant to be finalising and going live this week so any support as soon as possible would be great. Would be good to hear from Adobe?

    Hi there,
    Adobe replied via email to our muse file over the weekend. Below is their reponse:
    "You recently submitted a muse file to [email protected]
    Your file had a very deeply nested submenu which was causing a crash in Muse.
    I’ll work on fixing that crash for a future version of Muse. Until then, I have edited your file, marking the page named ‘xxxxxxxx’ as ‘exclude from menu’ to prevent Muse from trying to build a very deeply nested menu that caused the crash.
    Based on the other pages you’ve marked as ‘exclude from menu’, I suspect you may have wanted to exclude this page and it’s child pages from your menu anyways."
    Thank you for the response Adobe, greatly appreciated! The error was a result of a large number of child pages on top of child pages, not visible on the site but used to help customise a search widget. Hope this information helps anyone in the future with this problem....
    JE

  • Having trouble with Error #1023:stack overflow

    I've run into this error ican't seem to get around. I've redone this code many times and it still happens. Part of the problem is its randomness, sometimes it happens right at launch and sometimes after 5-10 mins. I've tried to look up how to fix it but haven't seen how my problem relates to those that have something similar. As far as i can tell i dont have an recurrsion of code. Here's a copy of the error that pops up.
    Error: Error #1023: Stack overflow occurred.
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2Listeners()
        at MathRaceradvanced3_fla::MainTimeline/bigSpaceShip2StartPoint()
    Here's the code, basically what i'm doing is placing the object on screen at a random Y position.I do have a check when it loads it isn't right on top of another object and if it does it redoes the Y Position. Then i give it a random scale to the original object and speed. Then when the objects reachs the other side of the screen i move it back to the start and randomize the size,speed, and Yposition again. The error seems to happen when it moves back to the other side. And when it happens it doesnt stop the program, the object just never reappears. Any help would be greatly appreciated.
    var bigSpaceShip2:MovieClip=new bigSpaceShip();
    var bigSpaceShip2Speed:Number;
    var bigSpaceShip2Scale:Number;
    var bigSpaceShip2YPosition:Number;
    var bigSpaceShip2Reset:Boolean;
    bigSpaceShip2SetUp();
    function bigSpaceShip2SetUp():void{
        bigSpaceShip2Speed= ((Math.random()*.95)+.75);
        bigSpaceShip2Scale= ((Math.random()*.30)+.35);
        addChildAt(bigSpaceShip2, 1);
        bigSpaceShip2StartPoint();
    function bigSpaceShip2StartPoint():void{
        bigSpaceShip2.scaleX=bigSpaceShip2Scale;
        bigSpaceShip2.scaleY=bigSpaceShip2Scale;
        bigSpaceShip2.x=0;
        bigSpaceShip2.y=(Math.ceil(Math.random()*650))+50;
        bigSpaceShip2YPosition=bigSpaceShip2.y;
        if((bigSpaceShip2YPosition-bigSpaceShip1.y)>(-200) && (bigSpaceShip2YPosition-bigSpaceShip1.y)<2000){
            bigSpaceShip2Reset=true;
        }else{
            bigSpaceShip2Reset=false;
        bigSpaceShip2Listeners();   
    function bigSpaceShip2Listeners():void{
        if(bigSpaceShip2Reset==false){
        bigSpaceShip2.addEventListener(Event.ENTER_FRAME, bigSpaceShip2SpeedSet);
        bigSpaceShip2.addEventListener(Event.ENTER_FRAME, bigSpaceShip2CheckReset);
        }else{
            bigSpaceShip2StartPoint();
    function bigSpaceShip2SpeedSet(e:Event):void{
        bigSpaceShip2.x+=bigSpaceShip2Speed;
    function bigSpaceShip2CheckReset(e:Event):void{
        if (bigSpaceShip2.x >1400){
            bigSpaceShip2.removeEventListener(Event.ENTER_FRAME, bigSpaceShip2SpeedSet);
            bigSpaceShip2.removeEventListener(Event.ENTER_FRAME, bigSpaceShip2CheckReset);
            bigSpaceShip2StartPoint();

    Hi enaz13,
    The default recurring of a function is only 256 times but u calling same function endlessly that is the reasong stack over flow error is coming

  • Stack overflow occurred in ClassNameUtils$/getLoggerFriendlyClassName  when running unittest in FB

    Recently whenever I run my unit tests in Flash Builder, I get following error
    Error: Error #1023: Stack overflow occurred.
    at org.flexunit.utils::ClassNameUtil$/getLoggerFriendlyClassName(ClassNameUtil.as:44)
    at org.flexunit.runners::ParentRunner/run(ParentRunner.as:408)
    at org.flexunit.runners::Suite/runChild(Suite.as:93)
    at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep(ChildRunnerSequencer.as: 82)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer .as:108)
    at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequen cer.as:97)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer .as:108)
    at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequen cer.as:97)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer .as:108)
    at org.flexunit.runners::ParentRunner/run(ParentRunner.as:416)
    at org.flexunit.runners::Suite/runChild(Suite.as:93)
    at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep(ChildRunnerSequencer.as: 82)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.runners::ParentRunner/handleRunnerComplete(ParentRunner.as:452)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer .as:108)
    at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequen cer.as:97)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.runners::ParentRunner/handleRunnerComplete(ParentRunner.as:452)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer .as:108)
    at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequen cer.as:97)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:134)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.runners::ParentRunner/handleRunnerComplete(ParentRunner.as:452)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118)
    at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatement Base.as:76)
    at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSeque ncer.as:165)
    at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( StatementSequencer.as:138)
    It might have something to do with the sequence of the test running, because I changed order of some tests and it went away. But this does happen from time to time. Anyone have any idea why?

    are  you running the version of flexunit  that came with builder or is it one of the newer release candidates

  • Stack overflow error with production release

    Hi,
    I am using Flex 4.5.1 and I am getting a weird error upon exporting a production release. Here is the stack trace:
    VerifyError: Error #1023: Stack overflow occurred.
              at spark.components.gridClasses::GridLayout/intializeGridVisualElement()
              at spark.components.gridClasses::GridLayout/layoutIndicator()
              at spark.components.gridClasses::GridLayout/layoutCaretIndicator()
              at spark.components.gridClasses::GridLayout/updateDisplayList()
              at spark.components.supportClasses::GroupBase/updateDisplayList()
              at spark.components::Group/updateDisplayList()
              at spark.components::Grid/updateDisplayList()
              at mx.core::UIComponent/validateDisplayList()
              at spark.components::Group/validateDisplayList()
              at mx.managers::LayoutManager/validateDisplayList()
              at mx.managers::LayoutManager/doPhasedInstantiation()
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()
    As you can see there is no trace of our own classes anywhere. I don't get this error if I use the normal debug version. We are very close to going live and we can't use the debug version files as they are bulky and are increasing the initial load time of the application.
    Please help!
    Thanks.
    Manoj

    Hey I get this suddenly in an app that's been running and working fine.  We just updated with a release build for some other updates and I get this error.  Here's the context:
    I am using Flex 4.6, have a component that extends the Flex 3 AdvancedDataGrid for some lightweight customization of how column resising work.  The component is used in several of our apps.  But, for some reason, and with no code updates to this particular component in a while, when I click on a row in the grid, I get this stack overflow exception too.  The exact same stack trace as the one mentioned by the original poster.
    Anyone have a clue why I would be seeing "spark.components.gridClasses::..." in my stack trace to begin with when the component that is being clicked on is a Flex 3 AdvDataGrid component?  I've seen some mention of the compiler error that somehow bashes the stack under the perfect circumstances.  But, in our case, we've eliminated all of our own event handlers (click/etc) from the grid and we still get this error and only in the release build.  So, there's no way to change any of our code to fix it b/c none of our code is executing when the error occurs.
    This is very very odd stuff.  Any ideas???

  • What causes a stack overflow with this code?

    VerifyError: Error #1023: Stack overflow occurred.
    //======================================================================================== =================================================
    //     stop audio or video function
    //======================================================================================== =================================================
    function stopAV(nextButton:String):void {
    if(currentPageMC == page_1){
      var introClip:MovieClip = MovieClip(root).page_1.introMC;
      introClip.clearStage(introClip);
    else if(currentPageMC == page_2){
      var secIClip:MovieClip = MovieClip(root).page_2.sectionIMC;
      secIClip.clearStage(secIClip);
    else if(currentPageMC == page_3){
      var gameClip:MovieClip = MovieClip(root).page_3.gameMC;
      gameClip.clearStage(gameClip);
    else if(currentPageMC == page_4){
      var secIIClip:MovieClip = MovieClip(root).page_4.sectionIIMC;
      secIIClip.clearStage(secIIClip);
    else if(currentPageMC == page_5){
      var closeClip:MovieClip = MovieClip(root).page_5.closeMC;
      closeClip.clearStage(closeClip);
    else{
      trace("confused at stop av function");
    //showChildren(stage, 0);
    trace(nextButton);
    setupNextPage(nextButton);

    It appears that one of the clearStage functions which exists in a loaded swf had an error. I was able to track it down and now it works.
    Thanks

  • Stack Overflow in External Interface call

    Hi - I'm trying to make a call to he javascript function present in my aspx viz external inerface. I have 3 such calls. One of the call is always erroring out with error
    Error: Error #1023: Stack overflow occurred.
        at flash.external::ExternalInterface$/_toJS()
        at flash.external::ExternalInterface$/_objectToJS()
        at flash.external::ExternalInterface$/_toJS()
        at flash.external::ExternalInterface$/_objectToJS()
    I checked the syntax and everything looks fine and similar to other calls but this one always fails. Can someone point me as to what could be going wrong? Pls treat this as urgent.

    I pass a object only. I dont know how to pass 5 diff params to a JS.this is how I do it. Instead of 2 here, the other call had 5 parms.
    var javascriptFunction:String = "function name";
                        var signinObject:Object = new Object();
                        signinObject.param1= <<param1>>;
                        signinObject.param2= <<param2>>;
                        if(ExternalInterface.available)
                            // call the javascript function!
                            trace("b4 calling JS .");
                            ExternalInterface.call(javascriptFunction, signinObject);

  • Stack overflow at line: 1792 or 1788 when using the search function

    Hello everyone,
    My name is Thibault. I am a technical communications specialist. I've been using Robohelp html for a couple of years.
    I am working on the user guide of the software application developed where I work.
    This is a HUGE project, more than 6500 pages.
    We're two technical writers on this project. (This is an inportant detail since my colleague doesn't get the problem).
    I need your help because I have been having an annoying issue over the last couple of days.
    After the project is generated, I open it in the software, clicking F1.
    When I want to use the search function I have this error message displayed:
    "Stack overflow at line: 1792" or "Stack overflow at line: 1788"
    Do you know where this could come from?
    Furthermore, I noticed that this stack overflow only occurs on some words.
    I mean, it occurs for the most used words in this project.
    We have customers all over the world and over the last week, we've been getting a lot of feedbacks about this error message.
    I hope someone will be able to help me on this one!
    Thanks in advance!

    First of all, thanks for your answer RoboColum(n).
    Is the problem only when you search for a topic that contains Flash output?
    All my topics contain Flash outputs. I generate my output files on a folder that is embedded into the software.When in the software, I click F1 and the Flash User Guide opens.The search function works (or not) depending on the software version (32/64-bit).
    At what point exactly does the stack overview occur?
    We have two versions of the software a 32-bit version and a 64-bit version.
    The search function works fine with the 32-bit version.
    The problem occurs when I use the 64-bit version. When I type in a word, for example "unit", the stack overflow message appears. See below:
    As you can see, it looks like the search function freezes while the stack overflow message appears.
    And I never get this error message with the 32-bit version of our software.
    I also wonder whether you can search on a project that contains no Flash output. Perhaps you could try for us?
    What do you mean by that?
    As I told you previously, my Flash Player version is a 32-bit one.
    Do you think that the issue might come from there?

  • Stack overflow in JNI call

    Hi,
    I am doing a wrapper with JNI for a Windows library of image compression. I have a test program running correctly in C. This program compress data and it can move a lot of memory. If I call this program from a JNI functions I obtain a JNI error:
    An unrecoverable stack overflow has occurred.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at PC=0x5FF88497
    Function=unpack_data+0x189D7
    Library=C:\WINDOWS\system32\NCSEcw.dll
    This error is produce inside my compression library. I try to adjust the parameters (-Xms -Xmx -Xss) of the JVM but in any case before the process ends it shows this exception. I have done other JNI interfaces and I never found with this problem before. Can anybody help me?
    Thanks in advance.

    I found in this forum a piece of code with a same kind problem but It is simpler than mine. I have proved this program in Windows and it produce the same error. In Linux it runs but if I enlarge the array largebuf it ends with the same error. In Linux I can reserve until 2 MB (in windows +-256K). Is there any way to increase the stack size in a jni call?.
    #include <stdio.h>
    #include <jni.h>
    #include "test.h"
    int myprint2(int a, int b){
         char extrabuf[100];
         printf("got here next\n");
         extrabuf;
         return 0;
    int myprint(int a, int b){
         char largebuf[260000];
         printf("got here\n");
         myprint2(1,1);
         largebuf;
         return 0;
    JNIEXPORT jint JNICALL Java_test_init(JNIEnv *env, jobject obj){
         myprint(1,1);
         return 1;
    test.java
    public class test{
         public native int init();
         public static void main(String []args){
              new test();
         public test(){
              System.loadLibrary("Nat");
              System.out.println(this.init());
    }

  • Stack overflow error while creating connection using Oracle10G dirver

    Hi,
    Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
    Driver version is - 10.2.0.2.0
    This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
    When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
    Thanks in advance
    below the stacktrace of the exception from webserver error log..
    06/Mar/2007:04:20:40] failure (10198):
    for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    java.lang.StackOverflowError
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(
    [06/Mar/2007:04:22:20] info (10198):
    CORE5073: Web server shutdown in progress
    [06/Mar/2007:04:22:21] info (14506):
    CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] info (14513):
    CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [search]
    [06/Mar/2007:04:22:25] info (14513):
    HTTP3072: [LS ls1] ready to accept requests
    [06/Mar/2007:04:22:25] info (14513):
    CORE3274: successful server startup
    Message was edited by:
    Nandakumar_s
    Message was edited by:
    Nandakumar_s

    Yes, request goes through connection pool but weird
    thing is application throws stack excatly where
    DriverManager.getConnection gets executed.
    Not weird at all.
    This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
    Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
    That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
    And that causes you stack over flow.

  • Stack Overflow Error for JNI program with Jdk1.3

    I wrote a JNI wrapper for a third party sofware (written in C) to use some exported functions provided. My program runs fine when using Sun JDK1.2.2, but I got the following error when using Jdk1.3 to run the program (It's a runtime error, only the version of runtime virtual machine matters.)
    # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside
    the VM.
    # Program counter=0x9073337
    A stack overflow was encountered at address 0x09073337.
    I tried IBM jdk 1.2.2, it gave me a similar error complaining about the stack overflow error.
    The vendor of the third party software denies any wrong doing in their code and I don't have their source code. A test client (simulate the Java client) I wrote in C works perfectly fine and as I mentioned earlier the same java progarm runs OK with jdk 1.2.2, without any change to my system stack size. Does any body know what this is about and the solution for this?
    Thanks!
    My email: [email protected]

    I had the same exception occur in my JNI code and I have some advice on things to look for.
    Symptoms: The C++ code runs fine when called in an native executable but when it is wrapped by a JNI call inside a DLL you get the following exception:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW occurred at PC=0x100d72e5
    Function name=_chkstk
    The address will be different of course.
    In my tests I isolated the problem to an allocation of a char array like so at the top of one of my wrapped C++ methods:
    char buf[650000];
    As you see this code is requesting 650000 bytes of stack memory. When run in a native executable there was no problem but when I ran it wrapped in the JNI call it blew up.
    Conclusion: There is a much smaller stack space when using JNI OR the added overhead of my JNI wrapper exhausted the available stack space OR this is a stack space issue related to DLLs.
    Hope this helps. Anyone with insight on this please put in your 2 cents.

  • TROUBLESHOOTING A STACK OVERFLOW ERROR

    제품 : ORACLE SERVER
    작성날짜 : 1997-02-04
    ==========================================
    TROUBLESHOOTING A STACK OVERFLOW ERROR
    ==========================================
    OVERVIEW
    A stack is a temporary storage space for programs. All programs have a
    stack. MS-DOS switches stacks for hardware interrupts to prevent stack
    overflows. Some programs such as EMM386.EXE, SMARTDRV.EXE, mouse drivers
    and TSR's will hook these hardware interrupts. When a hardware interrupt
    hook requires more stack space than is available, a stack overflow error
    occurs.
    SYNTAX
    The STACKS= command in your CONFIG.SYS specifies two parameters; the
    number of stack frames and the size of those frames.
    STACKS=x,y where x = number of stack frames
    minimum value is 8
    maximum value is 64
    y = bytes of each stack frame
    minimum value is 32
    maximum value is 512
    For most PC's the default is STACKS=9,128.
    TROUBLESHOOTING
    Perform the following troubleshooting steps prior to changing the STACKS=
    command:
    o If you are using a third party video driver reconfigure the pc to use the
    generic Windows VGA drivers.
    o Be sure you have 512K conventional RAM free before you load Windows.
    You can check the free memory by using the MEM /C command. The value
    for "Largest executable program size" should be 512k (524,288 bytes).
    o Personal Oracle7 requires 8MB RAM. An additional 8MB RAM is required
    when PL/SQL is also installed. The trial product requires PL/SQL and
    therefore automatically installs it.
    o Add the /X switch to the SMARTDRV.EXE driver in AUTOEXEC.BAT. This
    switch disables the write-behind caching.
    o Exclude the video graphics area from the memory manager.
    i.e. DEVICE = C:\WINDOWS\EMM386.EXE X=A000-C7FF
    The video driver's manufacturer can provide you with the appropriate
    range to exclude..
    o Boot clean.
    CONFIG.SYS AUTOEXEC.BAT
    ========== ============
    FILES=45 PROMPT$P$G
    BUFFERS=20 PATH=C:\WINDOWS;C:\DOS;\C:\
    DEVICE=C:\<dir>HIMEM.SYS SET TEMP=C:\<valid path>
    STACKS=9,256
    SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P
    !!!CAUTION: Your system may have third-party drivers that must be
    loaded! Such drivers include hard disk drivers, disk
    partitioning disk compression utilities.
    Removing such drivers can render your hard drive
    inaccessible and/or damage your data.
    DO NOT REMOVE ANY DRIVER(S) THAT YOU CANNOT IDENTIFY ITS
    PURPOSE!
    o Add STACKS=9,256 to CONFIG.SYS. If you already have this statement
    then increase the stack frames to 16.
    The Microsoft Knowledge Base (http://www.microsoft.com/support/)provided
    technical resources for this bulletin. .............................

    The same issue seemed to be solved for me after I installed
    the ColdFusion 8 beta plug-ins for Eclipse
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

  • Error while executing web part: System.StackOverflowException: Operation caused a stack overflow

    Hello All,
    I have a list with about 70 or so columns. When I try to access a NewForm for this list, I get an 'Unable to display this web part' error.
    Looking at the Correlation always says it is a:
    "Error while executing web part: System.StackOverflowException: Operation caused a stack overflow."
    I have read many pages on the internet that it is due to an XsltTransformTimeOut value set to 1. I have applied the Feb 2012 CU and tried changing the value to 5, 10, 150, 250 and each time I reset IIS before I tried loading the form again. Each one has
    failed and the correlation says the same thing (stack overflow).
    I do not know what to do next because every page on the net says it is from that timeout value but I have followed the steps properly to change it but nothing has worked.
    Thank you for your help!

    You may be exceeding the number of columns threshold with 70 or so columns in your list.
    Take a look at the Column limits here:
    http://technet.microsoft.com/en-us/library/cc262787.aspx#Column
    Okay, so please help me to understand this. It says the maximum value for single line of text is 276 and the size per column is 28 bytes. How would I know if I have pushed the limit? I just multiplied 28 x the number of single line of text columns in that
    list and the answer is 840. I do have many other columns, such as multiple lines of text and choice. I do not know if the theory above is correct though, because 28 does not go evenly into 276 (276/28 = 9.857)
    Please help me understand how to calculate my fields to see if I have went beyond the limits.
    Thank you!

  • Stack overflow error

    Hi..
    I have problem with this code.
       class test
           test tt=new test();   //1
           String name1;
        test() {}
        test(String i)
              name1=i;
             //tt=new test();    //2
       public static  void main(String arg[]){
                  test t1=new test("kj"); //3
    }  When I use line 2 (nstead of line 1 ) for initializing the ref variable iam not having any problem.
    But if i use as in line 1 iam getting stack overflow error..
    I thought tht calling a constructor recursivley results in a stack overflow error..
    But iam instantiating t1 with a one arg constructor (line 3) for which tt (line 1)is intialized,then where is the recursion happening..
    can any one pls clear..
    Thnx.
    mysha..

    please use [code][/code] tags around your code - makes it much easier to read.
    I think you have it - consider this code:public class StackOverflower {
        private StackOverflower so = new StackOverflower();
        public static void main(String[] args) {
            StackOverflower mySO = new StackOverflower();
    }Running this will overflow the stack since creation of an instance of StackOverflower requires creation of an instance of StackOverflower. This code though:public class NonStackOverflower {
        private NonStackOverflower nso = null;
        public NonStackOverflower() {
        public NonStackOverflower(String s) {
            this.nso = new NonStackOverflower();
        public static void main(String[] args) {
            NonStackOverflower myNSO = new NonStackOverflower();
    }Won't, since the creation of a new NonStackOverflower is not required to create a new NonStackOverflower instance.
    Did that make sense? I may have gotten confused and failed to illustrate your situation with my code...
    Good Luck
    Lee

Maybe you are looking for