Skip to content

Error #1009 on Scroller/focusOutHandler #1808

Open
@cgascons

Description

@cgascons

Hi, we are getting quite a few of these. This is the stack trace we were able to track from our players:

TypeError: Error #1009
at feathers.controls::Scroller/focusOutHandler()
at starling.events::EventDispatcher/invokeEvent()
at starling.events::EventDispatcher/dispatchEvent()
at starling.display::DisplayObject/dispatchEvent()
at starling.events::EventDispatcher/dispatchEventWith()
at feathers.core::DefaultFocusManager/set focus()
at feathers.core::DefaultFocusManager/topLevelContainer_touchHandler()
at starling.events::EventDispatcher/invokeEvent()
at starling.events::TouchEvent/dispatch()
at starling.events::Touch/dispatchEvent()
at starling.events::TouchProcessor/processTouches()
at starling.events::TouchProcessor/advanceTime()
at starling.core::Starling/advanceTime()
at starling.core::Starling/nextFrame()
at starling.core::Starling/onEnterFrame()

I'm not quite sure on how to replicate it, according to your code, Scroller's focusOutHandler function is quite simple and I believe only the fact that the player doesn't have a valid Stage would be able to cause this issue, right? Is there any way a safe check can be added here to avoid this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions