Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
1. Inside an AIR app, inside a MouseEvent handler, call DragManager.doDrag()
2. Start the app, and initiate a drag on your target (mine is an Image)
Actual Results:
An error occurs inside of NativeDragManagerImpl.as:doDrag():
line 314: dragManagerStyleDeclaration object is null, thus a null pointer exception is thrown.
What happens, according to the debugger, is when getStyleDeclaration("DragManager") is called on the line above, it returns null. If I change the string to "mx.managers.DragManager" and then execute the line (line 312), it returns a valid object for dragManagerStyleDeclaration.
Workaround (if any): None