9 Replies Latest reply on Jul 23, 2009 1:26 AM by Ram Krishnaiyer (Adobe)

    RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.

    Marc Speck Level 1

      I updated this morning in Flex Builder 3 from Flex 4.0.0.8441 to 4.0.0.8537 and got the following error:

       

      Unable to resolve a class for RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.

       

      Profesional license is set properly (at least up to now). I also tried

      -license=flexbuilder3,00000000000000000000 with no luck.

      Is this a known bug?
      Marc
        • 1. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
          Sameer Bhatt Adobe Employee

          Which version of datavisualization.swc are you using?

          And if you have the source extracted, can you check whether the file DMVLicenseHandler.as in present in the mx.controls.advancedDataGridClasses package.

           

          Thanks,

          Sameer

          • 2. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
            Marc Speck Level 1
            I'm the bug I did not refresh in Eclipse and didn't see that  datavisualization.swc (version 3.3) was not in libs anymore. I installed  it properly in the sdk and the error message was gone.

            I tried afterwards to extract the source but failed (as it did months ago):

            java -jar DMV-source.jar C:\ProgramData\Adobe\Flex  C:\devl\os\flex\gumbo\data_src_3
            using license {flexbuilder3.displayedStartPageAtLeastOneTime=true,  flexbuilder3.displayedFirstLaunchMessage=true, flexbuilder235740.displaye
            dStartPageAtLeastOneTime=true, flexbuilder3=theCorrectLicense},  outputing to directory C:\devl\os\flex\gumbo\data_src_3
            Exception in thread "main" java.lang.NoSuchMethodError:  flex.license.License.isFlexBuilderProValid()Z
                   at flex.charts.Extractor.main(Unknown Source)


            Then I tried the asdoc example of AdvancedDataGrid in Flash Builder with  4.0.0.8537 and datavisualization 3.3 and got an error.

            <?xml version="1.0" encoding="utf-8"?>
            <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
               <fx:Script>
                   <![CDATA[
                       import mx.collections.ArrayCollection;
                                        [Bindable]
                       private var dpFlat:ArrayCollection = new ArrayCollection([
                         {Region:"Southwest", Territory:"Arizona",
                             Territory_Rep:"Barbara Jennings", Actual:38865,  Estimate:40000},
                         {Region:"Southwest", Territory:"Arizona",
                             Territory_Rep:"Dana Binn", Actual:29885,  Estimate:30000},               {Region:"Southwest", Territory:"Central California",
                             Territory_Rep:"Joe Smith", Actual:29134,  Estimate:30000},               {Region:"Southwest", Territory:"Nevada",
                             Territory_Rep:"Bethany Pittman", Actual:52888,  Estimate:45000},               {Region:"Southwest", Territory:"Northern California",
                             Territory_Rep:"Lauren Ipsum", Actual:38805,  Estimate:40000},
                         {Region:"Southwest", Territory:"Northern California",
                             Territory_Rep:"T.R. Smith", Actual:55498,  Estimate:40000},               {Region:"Southwest", Territory:"Southern California",
                             Territory_Rep:"Alice Treu", Actual:44985,  Estimate:45000},
                         {Region:"Southwest", Territory:"Southern California",
                             Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
                       ]);
                   ]]>
               </fx:Script>

               <mx:Panel title="AdvancedDataGrid Control Example"
                   height="75%" width="75%" layout="horizontal"
                   paddingTop="10" paddingBottom="10" paddingLeft="10"  paddingRight="10">

                   <mx:AdvancedDataGrid id="myADG"
                       width="100%" height="100%"
                       initialize="gc.refresh();">                   <mx:dataProvider>
                           <mx:GroupingCollection id="gc" source="{dpFlat}">
                               <mx:grouping>
                                   <mx:Grouping>
                                       <mx:GroupingField name="Region"/>
                                       <mx:GroupingField name="Territory"/>
                                   </mx:Grouping>
                               </mx:grouping>
                           </mx:GroupingCollection>
                       </mx:dataProvider>                              <mx:columns>
                           <mx:AdvancedDataGridColumn dataField="Region"/>
                           <mx:AdvancedDataGridColumn dataField="Territory"/>
                           <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                               headerText="Territory Rep"/>
                           <mx:AdvancedDataGridColumn dataField="Actual"/>
                           <mx:AdvancedDataGridColumn dataField="Estimate"/>
                       </mx:columns>
                  </mx:AdvancedDataGrid>
               </mx:Panel>

            </s:Application>



            ArgumentError: Error #1063: Nicht übereinstimmende Argumentzählung für  mx.core::EmbeddedFontRegistry/getAssociatedModuleFactory(). 5 erwartet,  2 erhalten.
               at mx.controls.advancedDataGridClasses::AdvancedDataGridColumn/saveFontContext()[C:\work\fle x\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\Advanc edDataGridColumn.as:1604]
               at  mx.controls.advancedDataGridClasses::AdvancedDataGridColumn/http://www.adobe.com/2006/flex/mx/internal::addStyleToProtoChain()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridCl asses\AdvancedDataGridColumn.as:1345]
               at  mx.styles::StyleProtoChain$/initProtoChain()[E:\dev\trunk\frameworks\projects\framework\s rc\mx\styles\StyleProtoChain.as:282]
               at  mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9420]
               at  mx.core::UIComponent/regenerateStyleCache()[E:\dev\trunk\frameworks\projects\framework\sr c\mx\core\UIComponent.as:9483]
               at  mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6458]
               at  mx.core::UIComponent/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UI Component.as:6156]
               at  mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/internal::getMeasuringRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBa seEx.as:2027]
               at  mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::getMeasuringRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.a s:8545]
               at mx.controls::AdvancedDataGridBaseEx/measureItems()[C:\work\flex\dmv_automation\projects\d atavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:7057]
               at mx.controls::AdvancedDataGridBaseEx/commitProperties()[C:\work\flex\dmv_automation\projec ts\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1993]
               at mx.controls::AdvancedDataGrid/commitProperties()[C:\work\flex\dmv_automation\projects\dat avisualisation\src\mx\controls\AdvancedDataGrid.as:2276]
               at  mx.core::UIComponent/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\ mx\core\UIComponent.as:7103]
               at  mx.managers::LayoutManager/validateProperties()[E:\dev\trunk\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
               at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:700]
               at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\trunk\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1067]



            Is this supposed to work?
            Marc



            Sameer Bhatt wrote:
            Which version of datavisualization.swc are you using?
            And if you have the source extracted, can you check whether the file DMVLicenseHandler.as in present in the mx.controls.advancedDataGridClasses package.

            Thanks,
            Sameer

            --------------------------------------------------------------
            This message was sent to: faindu

            To post a reply to the thread message, either reply to this email or visit the message page:
            http://forums.adobe.com/message/2108527#2108527



            --end--


            • 3. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
              Sameer Bhatt Adobe Employee

              So, I dont think the datavisualization.swc that you have will work with SDK 4.

              You need to update to the version compatible with SDK 4.

              • 4. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                Marc Speck Level 1

                Ok, where is a version for Gumbo? Is it available or rather when is it available? Any updates from Matt Chotin's comment, http://tech.groups.yahoo.com/group/flexcoders/message/143061 ?

                 

                Thanks,

                Marc

                • 5. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                  Sameer Bhatt Adobe Employee

                  If you have downloaded Flash Builder 4 beta then the bundled sdk will be compatible with the bundled datavisualization.swc and things should work.

                  Are you using a different version?

                  • 6. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                    Marc Speck Level 1

                    Indeed, FB4 works fine with ADG and I didn't know that FB4 ships with an updated datavisualization.swc. Due to several blocking bugs in 7219, I've been using the current build of gumbo and the datavisualization.swc of FB4 is not compatible with a current build. Hence the question, when the next compatible datavisualization.swc is released? I hope to see the libraries in the daily build as the current handling is very inconvinient and intransparent.

                    • 7. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                      Ram Krishnaiyer (Adobe) Adobe Employee

                      Hi

                      Datavisualization.swc is part of Flash Builder and would be updated to work with the latest open source SDK as on that date when we have the next public release of flash builder.

                       

                      Ram

                      • 8. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                        Marc Speck Level 1

                        Hi Ram

                         

                        Thanks for the clarification. My two main apps depend on datavisulation and as there is no up-to-date version of gumbo available anymore, I stopped using gumbo. This is very unfortunate because the bundling FB+datavisulation is fine for releases but it penalizes in my opinion paying customers during development of the framework. It basically hinders developers from testing gumbo at all with  apps that use datavisulation.swc.

                         

                        Hence my question whether Adobe could release datavisualization.swc more frequently than only twice during Flex4beta?

                        Marc

                        • 9. Re: RequiresLicense handler: mx.controls.advancedDataGridClasses:DMVLicenseHandler.
                          Ram Krishnaiyer (Adobe) Adobe Employee

                          Hi Marc,

                          Thanks for the feedback. Just to clarify; The last data visualization release was on June 1 along with the FB beta.

                           

                          We will look into ways in which we can provide updated data visualization swcs outside the regular FB beta drops. In the mean time, please email me off list at rkrishnaATadobeDOTcom

                           

                           

                          Ram