ActionScript Errors Not showing
I just updated to 13.0.1 this morning and now compiler errors for my actionscript project are being swallowed up. Instead of seeing where the error is occuring all I see is the following:
[CourseSaverMobile]: Starting Flex compiler:
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java -Dapplication.home=/Users/jhilton/flex_sdks/4.6.0-air3.6-03-12-13 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA 13.app/plugins/flex/lib/idea-flex-compiler-fix.jar:/Applications/IntelliJ IDEA 13.app/plugins/flex/lib/flex-compiler.jar:/Users/jhilton/flex_sdks/4.6.0-air3.6-03-12-13/lib/flex-compiler-oem.jar" com.intellij.flex.compiler.FlexCompiler 50533
[CourseSaverMobile]: Compilation failed
Compilation completed with 3 errors and 0 warnings in 11 sec
3 errors
0 warnings
So while that's great I have 3 errors.. it offers no help as to where these errors are.
Did something change recently around this?
Thank you.
Jake
Please sign in to leave a comment.
I used Eclipse to tell me where the errors were occurring.. and after fixing this error IntelliJ started to report the location of the other errors:
Description Resource Path Location Type
1067: Implicit coercion of a value of type __AS3__.vec:Vector.<com.app.mobile.model.vo:CategoryVO> to an unrelated type __AS3__.vec:Vector.<String>. BrowseVideos.mxml /MobileProject/src/xi/ui/phone/pages line 106 Flex Problem
Of course that's an easy fix but I'm wondering why it didn't just show that.
Thanks,
Jake
May be you just need to scroll down to see them?
Can you please attach a screenshot of the Messages tool window and full Messages tool window contents (use 'Export to text file' action at its left side to copy contents)?
Here is the full output from the error console.. ironically enough it's not showing errors anymore:
Information:[CourseSaverMobile]: Starting Flex compiler:
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java -Dapplication.home=/Users/jhilton/flex_sdks/4.6.0-air3.6-03-12-13 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA 13.app/plugins/flex/lib/idea-flex-compiler-fix.jar:/Applications/IntelliJ IDEA 13.app/plugins/flex/lib/flex-compiler.jar:/Users/jhilton/flex_sdks/4.6.0-air3.6-03-12-13/lib/flex-compiler-oem.jar" com.intellij.flex.compiler.FlexCompiler 50739
Information:[CourseSaverMobile]: Compilation failed
Information:Compilation completed with 3 errors and 0 warnings in 11 sec
Information:3 errors
Information:0 warnings
Error:[CourseSaverMobile]: java.net.SocketTimeoutException: Accept timed out
Error:[CourseSaverMobile]: java.net.ConnectException: Connection refused
Error:[CourseSaverMobile]: at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:241)
at com.intellij.flex.compiler.FlexCompiler.openSocket(FlexCompiler.java:31)
at com.intellij.flex.compiler.FlexCompiler.main(FlexCompiler.java:64)
That's all that was shown.. no room to scroll.
Thanks,
Jake
Well, it shows errors: there are 3 error lines in the log that you pasted. But errors are not related to AS code, there were some internal errors because of failure to connect to Built-in compiler shell using port 50739.
I don't know why that happened, but it should be ok if you switch to Mxmlc/compc at Preferences | Compiler | ActionScript & Flex Compiler.
But in Eclipse it does identify 3 errors and after I correct them then IntelliJ starts working fine again.
For some reason default compiler in IntelliJ IDEA doesn't work.
You'll see there errors in code as soon as you switch to Mxmlc/compc processes as I wrote above.
Ok I'll give that a shot and report back any issues.
Thanks