1 Reply Latest reply on Sep 11, 2008 6:56 AM by EvolvedDSM

    [Internal Error]Transport flex2.0 project to flex3.0 project Error

    arrowCai
      Hi everyone,
      Follow the work requirement, I need to transport flex2.0 project to flex3.0 one, but when Internal error occurred list the Problem View.
      I checked the log file, it showed:
      !ENTRY com.adobe.flexbuilder.project 4 43 2008-09-11 14:08:36.506
      !MESSAGE Uncaught exception in compiler
      !STACK 0
      java.lang.StackOverflowError
      at java.util.ArrayList.get(Unknown Source)
      at macromedia.asc.parser.Scanner.getTokenClass(Unknown Source)
      at macromedia.asc.parser.Parser.lookahead(Unknown Source)
      at macromedia.asc.parser.Parser.match(Unknown Source)
      at macromedia.asc.parser.Parser.parsePrimaryExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parsePrimaryExpressionOrExpressionQualifiedIdentifier(Unknow n Source)
      at macromedia.asc.parser.Parser.parsePostfixExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseUnaryExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseMultiplicativeExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseAdditiveExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseShiftExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseRelationalExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseEqualityExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseBitwiseAndExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseBitwiseXorExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseBitwiseOrExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseLogicalAndExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseLogicalXorExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseLogicalOrExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseConditionalExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseAssignmentExpression(Unknown Source)
      at macromedia.asc.parser.Parser.parseLiteralField(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      at macromedia.asc.parser.Parser.parseFieldListPrime(Unknown Source)
      ... (until StackOverflow)

      Now I give up transport totally, but creating a Flex3.0 project and move the file one by one. But after all the file moved, this internal error still appeared.

      Is anyone know how to work this out?
      Thank you very much!
        • 1. Re: [Internal Error]Transport flex2.0 project to flex3.0 project Error
          EvolvedDSM Level 2
          Hello :)

          Let's cover some basics before we dive into all this error code.

          In Flex 2, there's an option to Export your project (File -> Export...)
          You can either Export as an Archive (zip) or as a System File (folder). Either of them are acceptable, however I choose Archive as it makes a nice "backup" in case you ever need to burn your developments to a disc or transfer them over a network for storage.

          The Export utility is simple. Just choose your method (archive or system), then select the project(s) on the left window pane. Then select the directory (and zip name if you choose Archive) that you wish to save the file or folder to. Remember this directory!!!! :P You can leave all other options as default and then click FINISH! it will show a progress bar of it either zipping your folders or copying the whole project to your specified directory.

          Open Flex 3. Go to File -> Import -> Flex Project. The wizard will give you an option of importing from an archive (zip) or a project folder (if you chose System from above). I would choose archive, and I'll find the zip file from the location I chose above. Then choose the location at which you want your newly imported project to be stored. Click Finish and a progress bar will display until it is done unzipping and copying. The following window will ask you which SDK compiler to use. Since you are importing from Flex 2, I suggest choosing "Use specific SDK" and then choose Flex 2.0.1 (it may say hotfix after it, which is perfectly fine).

          Your Flex 2 project has successfully been transferred to Flex 3 if all went well.

          If you have followed these steps and are still getting issues, post back with new info.