Flex SDK 3.3 selection drives me nuts

I tried to update my project to the latest Flex SDK 3.3 and get compile errors. Tried to empty the IDEA cache, no luck. Switched back to Flex SDK 3.2, no luck. Removed all Flex SDKs and re-added Flex SDK 3.2, no luck. Manually hacked "jdk.table.xml" to get rid of all Flex SDK traces, no luck. Right now I cannot get anything to work/compile. What's the secret? BTW, Flex Builder runs fine with Flex SDK 3.3.

Using EAP #9742 under OS-X 10.5.6.



[Plugin: com.intellij.flex]:  [Plugin: com.intellij.flex]
com.intellij.diagnostic.PluginException:  [Plugin: com.intellij.flex]
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:873)
at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:572)
at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:6)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:160)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)
Caused by: java.lang.AssertionError
at com.intellij.lang.javascript.flex.build.FlexCompilerHandler.runCompileForModule(FlexCompilerHandler.java:244)
at com.intellij.lang.javascript.flex.build.FlexCompiler.process(FlexCompiler.java:80)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.process(FileProcessingCompilerAdapter.java:6)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:237)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:284)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:638)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:804)
... 16 more



java.lang.AssertionError
at com.intellij.lang.javascript.flex.build.FlexCompilerHandler.runCompileForModule(FlexCompilerHandler.java:244)
at com.intellij.lang.javascript.flex.build.FlexCompiler.process(FlexCompiler.java:80)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.process(FileProcessingCompilerAdapter.java:6)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:237)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:284)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:638)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:804)
at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:572)
at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:6)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:160)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)

Version added.

6 comments
Comment actions Permalink

http://www.jetbrains.net/jira/browse/IDEADEV-34917

Peter Jacobsen wrote:

I tried to update my project to the latest Flex SDK 3.3 and get compile errors. Tried to empty the IDEA cache, no luck. Switched back to Flex SDK 3.2, no luck. Removed all Flex SDKs and re-added Flex SDK 3.2, no luck. Manually hacked "jdk.table.xml" to get rid of all Flex SDK traces, no luck. Right
now I cannot get anything to work/compile. What's the secret? BTW, Flex Builder runs fine with Flex SDK 3.3.



:
com.intellij.diagnostic.PluginException:
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:873)
at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:572)
at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:6)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:160)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)
Caused by: java.lang.AssertionError
at com.intellij.lang.javascript.flex.build.FlexCompilerHandler.runCompileForModule(FlexCompilerHandler.java:244)
at com.intellij.lang.javascript.flex.build.FlexCompiler.process(FlexCompiler.java:80)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.process(FileProcessingCompilerAdapter.java:6)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:237)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:284)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:638)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:804)
.. 16 more



java.lang.AssertionError
at com.intellij.lang.javascript.flex.build.FlexCompilerHandler.runCompileForModule(FlexCompilerHandler.java:244)
at com.intellij.lang.javascript.flex.build.FlexCompiler.process(FlexCompiler.java:80)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.process(FileProcessingCompilerAdapter.java:6)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:237)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:284)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:638)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:804)
at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:572)
at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:6)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:160)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:16)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)






---
Original message URL: http://www.jetbrains.net/devnet/message/5233238#5233238



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I do not really understand the cause of the problem from looking at IDEADEV-34917 - reverted to 8.1 for now. Is this problem going to be fixed in the next EAP?

Thanks,
Peter

0
Comment actions Permalink

Having the same problem. Currently have switched back to Builder for now. Hopefully this will be resolved soon.

0
Comment actions Permalink

Build #9757 fixed part of the problem - I can now compile the project as web app (SWF) again using Flex SDK 3.3. Compiling the project as AIR application (idea.is.internal=true in idea.properties) seems to be broken in this build. To compile the project as AIR I usually define a different compile-config.xml, add "+configname=air" as command line option in the Compile IDE settings and configure a separate debug configuration. This used to work in 8.1.

Regards,
Peter

0
Comment actions Permalink

Hm, nothing AIR-specific was done between IDEA 8.1 and #9757... What
errors do you observe?

Peter Jacobsen wrote:

Build #9757 fixed part of the problem - I can now compile the project as web app (SWF) again using Flex SDK 3.3. Compiling the project as AIR application (idea.is.internal=true in idea.properties) seems to be broken in this build. To compile the project as AIR I usually define a different compile-co
nfig.xml, add "+configname=air" as command line option in the Compile IDE settings and configure a separate debug configuration. This used to work in 8.1.

0
Comment actions Permalink

I found the problem - it's a bug in the Flex SDK 3.3. The solution is described in the Adobe bug database <http://bugs.adobe.com/jira/browse/SDK-19707>, just download a shellscript that fixes broken links into the AIR runtime.

Regards,
Peter

0

Please sign in to leave a comment.