3 Replies Latest reply on Jan 10, 2008 11:29 PM by SrinivasAnnam

    Advanced Data Grid and Beta 3 Error:1502

    rajsidhu
      hi,
      When i upgraded from beta 2 to beta 3 .I get a error as follow:

      Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
      at mx.managers::CursorManager$/getInstance()
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2312]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
      at mx.core::UIComponent/get cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
      at mx.controls::AdvancedDataGridBaseEx/mx.controls:AdvancedDataGridBaseEx::columnResizeMouse OverHandler()

      [C:\Work\flex\dmv_automation\projects\datavisualisation\src;mx\controls;AdvancedDataGridBa seEx.as:5970]
      at [mouseEvent]

      and my application hangs.Thanks in advance for all the help....
        • 1. Re: Advanced Data Grid and Beta 3 Error:1502
          SrinivasAnnam Adobe Employee
          Hi,
          What functionality in AdvancedDataGrid are you tring to use during which this hang occurs ?

          Can you please pass on a piece of code which help us in reproducing the issue at our end ?

          You can also try logging bugs along with necessary piece of code in our public bug base http://bugs.adobe.com/jira for faster responses.
          • 2. Re: Advanced Data Grid and Beta 3 Error:1502
            rajsidhu Level 1
            hi Srinivas,
            Acually whenever i roll over the mouse on the column headers of the Advanced Data Grid it hangs and throw this error.i am getting a grouped data from data base and using the group collection as data provider which has source property bound to ArrayCollection.The problem comes only whenever we take the mouse over the column headers it throws this error and hangs.

            <mx:AdvancedDataGrid id="adg1" width="100%" height="100%" wordWrap="true" >
            <mx:dataProvider>
            <mx:GroupingCollection id="gc" source="{this.ABC}" ><!--ABC is ArrayCollection-->
            <mx:Grouping>
            <mx:GroupingField name="GroupingField"/>
            </mx:Grouping>
            </mx:GroupingCollection>
            </mx:dataProvider>
            <mx:columns>
            <mx:AdvancedDataGridColumn dataField="Field1"
            headerText="Field1" />
            <mx:AdvancedDataGridColumn dataField="Field2"
            headerText="Field2" sortable="true" />
            <mx:AdvancedDataGridColumn dataField="Field3"
            headerText="Field3" />

            </mx:columns>
            </mx:AdvancedDataGrid>

            If move the mouse over the column headers the error is thrown and the application hangs and the same code works fine with the beta 2.
            Thanks....
            • 3. Re: Advanced Data Grid and Beta 3 Error:1502
              SrinivasAnnam Adobe Employee
              Hi,

              We built an sample using the code given by you and could not reproduce the issue.

              Are you getting this error while using any source to GroupingCollection or is it happening only while using {this.ABC} as the source ?

              If you are getting the error even with other data sources, then please attach the complete code of the application. And also what version of Flash player are you using?