Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33631

Error on php data service 4.9.1 project compiled with 4.10.0 rc3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Apache Flex 4.10.0
    • Fix Version/s: Apache Flex 4.10.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mac OSX 10.8.4 FP 11.1 and 11.7 Safari

      Description

      Compiled a web project which was targeting FP 11.1 with the 4.10.0 RC 3 SDK.
      The debugger showed me an error on triggering this function:

      protected function init():void
      {
      getAllUsers.token = userService.getAllCompuniek_users();
      getAllRights.token = rightsService.getAllCompuniek_rights(); //At this line it through me the error.
      }

      Error:

      VerifyError: Error #1053: Illegal override of DataList in mx.data.DataList.

      at mx.data::ConcreteDataService/dataStorePropertyChangeHandler()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\ConcreteDataService.as:7019]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.data::DataStore/producerPropertyChangeHandler()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\DataStore.as:4710]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.messaging::MessageAgent/setConnected()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as:504]
      at RPCDataServiceRequest/connect()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:1780]
      at mx.data::DataStore/initialize()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\DataStore.as:3475]
      at mx.data::ConcreteDataService/initialize()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\ConcreteDataService.as:2187]
      at mx.data::RPCDataManager/initialize()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataManager.as:583]
      at mx.rpc::AbstractService/initialize()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/rpc/src/mx/rpc/AbstractService.as:384]
      at mx.data::RPCDataManager/checkImplementation()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataManager.as:645]
      at mx.data::DataManager/initialize()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\DataManager.as:2000]
      at mx.data::RPCDataManager/initialize()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataManager.as:631]
      at mx.rpc::AbstractService/initialize()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/rpc/src/mx/rpc/AbstractService.as:384]
      at mx.rpc.remoting::Operation/send()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as:214]
      at _Super_CompuniekrightsService/getAllCompuniek_rights()[/Users/swen/Dropbox/www2/CompuEngine/src/services/compuniekrightsservice/_Super_CompuniekrightsService.as:252]
      at views.container.menu.gebruikers::Overview/init()[/Users/swen/Dropbox/www2/CompuEngine/src/views/container/menu/gebruikers/Overview.mxml:33]
      at views.container.menu.gebruikers::Overview/EnterUsersState()[/Users/swen/Dropbox/www2/CompuEngine/src/views/container/menu/gebruikers/Overview.mxml:119]
      at views.container.menu.gebruikers::Overview/___Overview_State1_enterState()[/Users/swen/Dropbox/www2/CompuEngine/src/views/container/menu/gebruikers/Overview.mxml:126]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::dispatchEnterState()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/states/State.as:277]
      at mx.core::UIComponent/applyState()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:11006]
      at mx.core::UIComponent/commitCurrentState()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:10749]
      at mx.core::UIComponent/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:8566]
      at spark.components.supportClasses::GroupBase/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as:1136]
      at spark.components::Group/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Group.as:947]
      at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:8481]
      at spark.components::Group/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Group.as:925]
      at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
      at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]

      How I fixed the problem:

      I delete the service from flash builder with all the as files and added the service again through the wizard with the same php file.
      Compiled the project and it worked like a charm.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hdsign Swen van Zanten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: