0 Replies Latest reply on Jan 23, 2017 1:48 AM by rameshkumar82

    Flex 4.5 migration Advance Data Grid issue


      Hi Team,

              When I migrate  my application from Flex 3.5 to Flex, after the migration I got the following error from Advance data grid, We need your help to solve the issue


      Error #1007: Instantiation attempted on a non-constructor.

      at mx.controls::AdvancedDataGridBaseEx/getSeparator()

      at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()

      at mx.controls::AdvancedDataGrid/createHeaderSeparators()

      at mx.controls::AdvancedDataGridBaseEx/drawSeparators()

      at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()

      at mx.controls::AdvancedDataGrid/updateDisplayList()

      at com.xxxxxx.components::CustomMessageAdvancedDataGrid/updateDisplayList()

      at mx.controls.listClasses::AdvancedListBase/validateDisplayList()

      at mx.managers::LayoutManager/validateDisplayList()

      at mx.managers::LayoutManager/doPhasedInstantiation()

      at mx.managers::LayoutManager/doPhasedInstantiationCallback()


      As suggested in multiple posts from adobe we try the following option, Still,  the issue not resolved,


      1. Compile the module and application with the compiler option -isolate-styles=false.
      2. Add a dummy variable of type AdvancedDataGrid to your main application.  private var dummyADG:AdvancedDataGrid = null;
      3. Compile the module and application with the compiler -keep-all-type-selectors=true


      From the Flex JIRA, we saw the similar bug, but we are unable to open the Adobe JIRA



      Need your advice to solve the issue.