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

TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.core::UIComponent/getStyle........

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Modules
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      EXTRA info. Found in version = 4.0 Adobe Flash builder 4.0 Premium build: 272416

      Steps to reproduce:
      1. load project (in zipfile)
      2. run the application
      3. push button "load module"

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.core::UIComponent/getStyle()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:10372]
      at mx.core::UIComponent/getConstraintValue()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8612]
      at mx.containers.utilityClasses::CanvasLayout/getLayoutConstraints()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\containers\utilityClasses\CanvasLayout.as:1621]
      at mx.containers.utilityClasses::CanvasLayout/parseConstraints()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\containers\utilityClasses\CanvasLayout.as:894]
      at mx.containers.utilityClasses::CanvasLayout/applyAnchorStylesDuringUpdateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\containers\utilityClasses\CanvasLayout.as:448]
      at mx.containers.utilityClasses::CanvasLayout/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\containers\utilityClasses\CanvasLayout.as:285]
      at mx.core::LayoutContainer/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\LayoutContainer.as:443]
      at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8531]
      at mx.core::Container/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\Container.as:3275]
      at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:663]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]

      Expected Results:
      a visible button

      Workaround (if any):

      regress to adobe flash builder plugin beta 2. No code work around known to me.

      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: