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

webtier compiler for flex 3 throw Error #1010 when recompile any flex code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.1 (Release)
    • Web Compilers
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      Install webtier compiler for J2EE, webtier.war. depoy the war and put your flex app in the deployed war. (Tested on flash player 9.0.124.0 and 10.0.12.10 on IE.)
      1. Compile a flex application using webtier compiler. (The first time works fine.)
      You can use any application as simple as following:
      ///////////////////////
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      </mx:Application>
      ///////////////////////
      2. Modifiy the code a bit. Even adding white space will be enough to reproduce this issue.
      3. Then try to recompile the application.

      Actual Results:
      Get the following error message.
      TypeError: Error #1010: A term is undefined and has no properties.
      at mx.styles::StyleManagerImpl/initProtoChainRoots()
      at mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::initProtoChainRoots()
      at helloworld/http://www.adobe.com/2006/flex/mx/internal::_helloworld_StylesInit()
      at helloworld()
      at _helloworld_mx_managers_SystemManager/create()
      at mx.managers::SystemManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

      On Flash Player 10.0.12.10, it does not throw this error, but does nothing.

      Expected Results:
      It should be able to compile without the error message above.

      Workaround (if any):
      in flex-webtier-config.xml; set the incremental-compile to false:
      <incremental-compile>false</incremental-compile>

      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: