4 Replies Latest reply on Sep 10, 2012 4:55 AM by Tangent Lin

    Error at Scroller.as:1273 after migrating from 4.0 to 4.5

    hidarikani Level 2

      It happens every time I click a s:TextArea which is inside a s:Panel wich is opened as a pop-up.

      And it worked fine with 4.0!

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
           at spark.components::Scroller/focusInHandler()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\Scroller.as:1273]
           at flash.display::Stage/set focus()
           at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::setFocus()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:2265]
           at flashx.textLayout.container::ContainerController/mouseDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:2067]
           at flashx.textLayout.container::TextContainerManager/mouseDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1939]
           at spark.components.supportClasses::RichEditableTextContainerManager/mouseDownHandler()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\RichEditableTextContainerManager.as:665]
           at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::requiredMouseDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:2088]
           at flash.events::EventDispatcher/dispatchEventFunction()
           at flash.events::EventDispatcher/dispatchEvent()
           at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
           at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2924]