Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15323

Mx.Effects.Effect - CaptureValues() Throws Null Ref Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the following app in debug.

      Actual Results:
      An null ref exception is thrown from the stack CaptureEndValues() --> CaptureValues, because the propertyChanges array is null and not checked.

      Expected Results:
      The captureValues() method should note the array is null and behave accordingly.

      SAMPLE APP:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="Init()">

      <mx:Script>
      <![CDATA[
      private function Init():void

      { this.testEffect.captureEndValues(); }

      ]]
      >
      </mx:Script>

      <mx:MaskEffect id="testEffect" />

      </mx:Application>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: