SaxParseException while compiling actionscript projects

I'm new to IntelliJ IDEA and trying to make our projects in Flash builder wok.
Everything works fine except when i am building/debugging the projects, this error comes out and i found totally no clue by searching around Google:

Information:[SanmaiMain (module 17173player_sanmai)]: Starting Flex compiler:
"c:\program files (x86)\jetbrains\intellij idea 12.1.6\jre\jre\bin\java.exe" "-Dapplication.home=C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0" -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.6\plugins\flex\lib\idea-flex-compiler-fix.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.6\plugins\flex\lib\flex-compiler.jar;C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\lib\flex-compiler-oem.jar" com.intellij.flex.compiler.FlexCompiler 53055
Information:[SanmaiMain (module 17173player_sanmai)]: mxmlc -load-config=C:\Users\shunia\.IntelliJIdea12\system\compile-server\_temp_\IntelliJ_IDEA\idea-A69E2006-9F5572FA.xml -use-network=false
Information:[SanmaiMain (module 17173player_sanmai)]: Loading configuration file C:\Users\shunia\.IntelliJIdea12\system\compile-server\_temp_\IntelliJ_IDEA\idea-A69E2006-9F5572FA.xml
Information:[SanmaiMain (module 17173player_sanmai)]: Adobe Flex Compiler (mxmlc) Version 4.6.0 build 23201 Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
Information:[SanmaiMain (module 17173player_sanmai)]: Compilation failed
Information:Compilation completed with 1 error and 0 warnings in 19 sec
Information:1 error
Information:0 warnings
Error:[SanmaiMain (module 17173player_sanmai)]: exception 'org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 25; Invalid byte 2 of 2-byte UTF-8 sequence.' while setting variable ''

2 comments

Actually there is an answer on StackOverflow: the problem may happen because of non-latin symbols in project path. The issue will be fixed in IntelliJ IDEA 14, for now you need either to avoid non-latin symbols or change OS default charset to UTF-8.

0

Please sign in to leave a comment.