You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Tucsonjhall <Jh...@cactusware.com> on 2017/12/07 13:30:38 UTC
DragProxy Error
I have an AIR application using s:Window component and I'm dragging between
it and the main window and it works 95% of the time, but then I'll get the
following error. I've not been able to successfully figure out where to
place a try/catch so the application doesn't crash. Any suggestions? I did
read the thread about DragProxy arrow and drag image showing up in the
parent window but that doesn't seem like the same thing.
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
mx.managers.dragClasses::DragProxy/mouseUpHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as:660]
at
mx.managers.dragClasses::DragProxy/mouseLeaveHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as:561]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.managers::WindowedSystemManager/mouseLeaveHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as:2306]
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Re: DragProxy Error
Posted by Tucsonjhall <Jh...@cactusware.com>.
I now see that it's throwing the error in this script as the event is null
private function effectEndHandler(event:EffectEvent):void
{
DragManager.endDrag();
}
If there's no easy fix from the app, can someone point me to a tutorial so I
can recompile the SDK for my app and at least catch that error?
Thanks much.
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Re: DragProxy Error
Posted by Tucsonjhall <Jh...@cactusware.com>.
I now see that it's throwing the error in this script as the event is null
private function effectEndHandler(event:EffectEvent):void
{
DragManager.endDrag();
}
If there's no easy fix from the app, can someone point me to a tutorial so I
can recompile the SDK for my app and at least catch that error?
Thanks much.
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/