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

New Issues with Flash builder - Second time you do search from imported Tutorial file it breaks with AS error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Spark: RichText
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. import project
      2. compile / run main.mxml
      3. do a search in the input text box, then do a second search

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.primitives::RichText/textHasLineBreaks()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\RichText.as:795]
      at spark.primitives::RichText/createTextFlow()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\RichText.as:737]
      at spark.primitives::RichText/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\RichText.as:849]
      at spark.primitives.supportClasses::TextGraphicElement/measure()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\supportClasses\TextGraphicElement.as:661]
      at spark.primitives.supportClasses::GraphicElement/measureSizes()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\supportClasses\GraphicElement.as:3174]
      at spark.primitives.supportClasses::GraphicElement/validateSize()[E:\dev\trunk\frameworks\projects\flex4\src\spark\primitives\supportClasses\GraphicElement.as:3131]
      at spark.components::Group/validateSize()[E:\dev\trunk\frameworks\projects\flex4\src\spark\components\Group.as:757]
      at mx.managers::LayoutManager/validateSize()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:617]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:733]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]

      Expected Results:
      that this error doesn't happen. That a search works each time.

      Workaround (if any): NONE
      In the older build that i had this project, worked fine, with the exception of the 'design view' issue with the <s:text> file borking the design view. Bug on it said it was fixed with the next build. which it was but this now happens EACH and everytime. THink it has or may have something to do with you taking out the 'tracking' property on the richtext tag. Forums says it was taking out, and original fxp file has them in it. What i changed to was 'trackingleft' and in the textinput1.mxml file took it out completely. Still get the error.
      Craig

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: