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

HaloClassic theme throwing error with Flex 4.0.0 SDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • Themes
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a SDK 4 project
      2. Go to project properties and pick haloClassic theme
      3. add something to stage that will require TitleBackground.as (from themes)
      4. Run the application

      Actual Results:

      getStyle("headerColors") seem to return null and throw RTE at provided line (79)

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at haloclassic::TitleBackground/updateDisplayList()[E:\dev\beta1\frameworks\projects\haloclassic\src\haloclassic\TitleBackground.as:79]
      at mx.skins::ProgrammaticSkin/validateDisplayList()
      at mx.managers::LayoutManager/validateDisplayList()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()

      Expected Results:
      Should render perfectly

      Workaround (if any):
      Compile against SDK 3.3

      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: