1 Reply Latest reply on Nov 22, 2010 10:29 AM by Flex harUI

    Stack underflow

    llancet

      on the first line of applyColorToCurrentGenome(), it is:

       

      var currTheme:Object = colorThemeCombo.selectedItem;

       

      where colorThemeCombo is a combobox.

       

       

      I don't know what caused this error.

      It is a flex3 project, compiled and debugged on FB4.

      My browser is google chrome, and flash player version is 10,1,102,64

       

      ##################################################

       

       

      typecheck plugin/applyColorToCurrentGenome()

        outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.core::LayoutContainer$ mx.core::Application$ plugin$]

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()

        0:debugfile "D:\mydoc\flex\SeqDrawPlugin\src;;plugin.mxml"

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()

        2:debugline 432

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()

        5:getlocal0

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} (plugin[O])

        6:pushscope

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} ()

        7:pushnull

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} (null[O])

        8:coerce SeqGraph.Elements::ElementBase

                             [plugin[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} (SeqGraph.Elements::ElementBase?[O])

        10:setlocal3

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} ()

        11:pushnull

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} (null[O])

        12:coerce_s

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] *[A] *[A] *[A] *[A] *[A]] {plugin[O]} (String?[S])

        13:setlocal 4

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] *[A] *[A] *[A] *[A]] {plugin[O]} ()

        15:pushbyte 0

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] *[A] *[A] *[A] *[A]] {plugin[O]} (int[I])

        17:convert_u

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] *[A] *[A] *[A] *[A]] {plugin[O]} (uint[U])

        18:setlocal 5

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        20:debug

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        27:debug

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        34:debug

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        41:debugline 433

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        44:getlocal0

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} (plugin[O])

        45:getproperty colorThemeCombo

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} (mx.controls::ComboBox?[O])

        48:getproperty selectedItem

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} (Object?[A])

        51:coerce Object

                             [plugin[O] *[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} (Object?[A])

        53:setlocal1

                             [plugin[O] Object?[A] *[A] SeqGraph.Elements::ElementBase?[O] String?[S] uint[U] *[A] *[A] *[A]] {plugin[O]} ()

        54:pop

      VerifyError: Error #1024: 发生堆栈下溢。

       

      at plugin/applyColorHandler()[D:\mydoc\flex\SeqDrawPlugin\src\plugin.mxml:409]

      at plugin/__colorThemeCombo_change()[D:\mydoc\flex\SeqDrawPlugin\src\plugin.mxml:564]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]

      at mx.controls::ComboBox/dispatchChangeEvent()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\controls\ComboBox.as:1879]

      at mx.controls::ComboBox/close()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\ ComboBox.as:1651]

      at mx.controls::ComboBox/dropdown_changeHandler()[E:\dev\4.0.0\frameworks\projects\framework \src\mx\controls\ComboBox.as:2137]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]

      at mx.controls.listClasses::ListBase/mouseUpHandler()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\controls\listClasses\ListBase.as:10240]

      at mx.controls::List/mouseUpHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\cont rols\List.as:2469]

        • 1. Re: Stack underflow
          Flex harUI Adobe Employee

          Looks like you might be mixing different Flex versions. All SWCs in a

          project must be compiled against the same version.  Also all SWFs loaded

          must be compiled against the same version unless you use Marshall Plan

          techniques.