Hi, I'm having a strange issue with an existing project. The project is built with Flex 4.15 and AIR 20. In order to solve a particular issue I need to use AIR27.
I re-added the project (which I didn't work on for 6 months) in Flash Builder and saw it was selecting 4.15 SDK with AIR20. I opened VMWare to check the Windows version and also there it uses 4.15 SDK with AIR20. I then selected 4.15 SDK on Mac with AIR27 and noticed the following error when opening the application: TypeError: Error #1010: A term is undefined and has no properties. at mx.binding::Watcher/notifyListeners()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:317] at mx.binding::PropertyWatcher/eventHandler()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:385] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:13688] at mx.core::UIComponent/set width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:2883] at spark.components::Group/set width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:362] at components::DashboardIcon()[/Users/frederic/Desktop/Exuvis/Mediahuis/MHCFlexLibrary/src/components/DashboardIcon.mxml:3] at views::DashboardView/_DashboardView_DashboardIcon1_i() at views::DashboardView/_DashboardView_Group1_i()[/Users/frederic/Desktop/Exuvis/CityFashion/CityFashionTransferLib/src/views/DashboardView.mxml:3] at views::DashboardView/_DashboardView_Array3_c() at mx.core::DeferredInstanceFromFunction/getInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\DeferredInstanceFromFunction.as:116] at spark.components::SkinnableContainer/createDeferredContent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1091] at spark.components::SkinnableContainer/createContentIfNeeded()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1120] at spark.components::SkinnableContainer/createChildren()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:915] at mx.core::UIComponent/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7695] at spark.components::View/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\View.as:1008] at views::DashboardView/initialize() at mx.core::UIComponent/ http://www.adobe.com/2006/flex/mx/internal::childAdded()[D :\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7556] at mx.core::UIComponent/addChildAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7260] at spark.components::Group/addDisplayObjectToDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:2116] at spark.components::Group/ http://www.adobe.com/2006/flex/mx/internal::elementAdded()[D :\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1707] at spark.components::Group/addElementAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1466] at spark.components::Group/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1424] at spark.components::SkinnableContainer/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:777] at spark.components::ViewNavigator/createViewInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2026] at spark.components::ViewNavigator/commitNavigatorAction()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1940] at spark.components::ViewNavigator/commitProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1309] at mx.core::UIComponent/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8751] at mx.managers::LayoutManager/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:601] at mx.managers::LayoutManager/doPhasedInstantiation()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:817] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1191] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() ReferenceError: Error #1056: Cannot create property icon on components.DashboardIcon. at views::DashboardView/_DashboardView_DashboardIcon1_i()[/Users/frederic/Desktop/Exuvis/CityFashion/CityFashionTransferLib/src/views/DashboardView.mxml:3] at views::DashboardView/_DashboardView_Group1_i()[/Users/frederic/Desktop/Exuvis/CityFashion/CityFashionTransferLib/src/views/DashboardView.mxml:3] at views::DashboardView/_DashboardView_Array3_c() at mx.core::DeferredInstanceFromFunction/getInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\DeferredInstanceFromFunction.as:116] at spark.components::SkinnableContainer/createDeferredContent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1091] at spark.components::SkinnableContainer/createContentIfNeeded()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1120] at spark.components::SkinnableContainer/createChildren()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:915] at mx.core::UIComponent/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7695] at spark.components::View/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\View.as:1008] at views::DashboardView/initialize() at mx.core::UIComponent/ http://www.adobe.com/2006/flex/mx/internal::childAdded()[D :\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7556] at mx.core::UIComponent/addChildAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7260] at spark.components::Group/addDisplayObjectToDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:2116] at spark.components::Group/ http://www.adobe.com/2006/flex/mx/internal::elementAdded()[D :\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1707] at spark.components::Group/addElementAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1466] at spark.components::Group/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1424] at spark.components::SkinnableContainer/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:777] at spark.components::ViewNavigator/createViewInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2026] at spark.components::ViewNavigator/commitNavigatorAction()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1940] at spark.components::ViewNavigator/commitProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1309] at mx.core::UIComponent/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8751] at mx.managers::LayoutManager/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:601] at mx.managers::LayoutManager/doPhasedInstantiation()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:817] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1191] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() So after that I checked with Flex 4.15 and AIR 20 but still the same error occured. The strange thing is when I check the Windows version with SDK 4.15 no errors are coming .. so I don't know what the problem is. Can anyone help me on this? Codebases for Windows and Mac version are identical so I can't understand the problem, also not when looking at the call stack. Any help is much appreciated