Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Obsolete
Assignee
Alexander Doroshko
Subsystem
Flex Support
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Juan Isern
    2 years ago (13 Apr 2009 09:00)
  • Updated by   Alexander Doroshko
    18 months ago (19 Jul 2010 17:22)
  • Jira: IDEADEV-39067
    (history, comments)
 
IDEA-48589 Flex debugger not working on Ubuntu 8.10
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Hello guys,

I've been unable to make the flex debugger work on Ubuntu 8.10.

I constantly get the "Unexpected debugged player communication problem" message, referring to a problem that apparently exists with Firefox 3.x
Unfortunately, I tried using Firefox 2 and Opera and I had no better luck.

Taking a glance at the execution log, this is the stacktrace that ultimately produces the error message:

2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 8.1 Build #9732
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_11
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) Server VM
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - Vendor: Sun Microsystems Inc.
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - OS: Linux
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - Last Action: Debug
2009-04-13 00:12:43,253 [2064496] ERROR - plication.impl.ApplicationImpl - Original exception:
java.io.IOException: Stream closed
java.io.IOException: Stream closed
 at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:308)
 at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
 at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
 at java.io.InputStreamReader.read(InputStreamReader.java:167)
 at com.intellij.lang.javascript.flex.debug.FlexDebugProcess$MyFdbOutputReader.readLine(FlexDebugProcess.java:632)
 at com.intellij.lang.javascript.flex.debug.FlexDebugProcess.processOneCommandLoop(FlexDebugProcess.java:225)
 at com.intellij.lang.javascript.flex.debug.FlexDebugProcess.access$200(FlexDebugProcess.java:45)
 at com.intellij.lang.javascript.flex.debug.FlexDebugProcess$2.run(FlexDebugProcess.java:171)
 at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)

The privileges on the fdb binary are set okay. My version of Flex SDK is 3.3.0 (#4852)

Thanks a lot in advance!

Environment: Ubuntu 8.10, Linux beetlebum 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
Comments (2)
 
History
 
Linked Issues (?)
 
Juan Isern
  Juan Isern
14 Apr 2009 02:23
2 years ago
It seems that the problem lied on the fact that flashplayer.exe was not present in the PATH environment variable. As a workaround, the inclusion of the directory that contains flashplayer in PATH makes it work okay.

It'd be convenient not to depend on specific environment configurations (although I'm not sure if fdb is responsible for that)

Regards!
Alexander Doroshko
  Alexander Doroshko
19 Jul 2010 17:22
18 months ago
1. Detaching of Flash Player Debugger on Linux is a known Adobe's bug: http://bugs.adobe.com/jira/browse/FP-1421. It seems that they are not very quick in fixing it :(.

2. In IDEA 10 there is an option in Flex run configuration dialog: what program to use for running your application. You can choose default system application, any of your browsers or specify path to Flash Player executable.
Related Changes
Resolved Date
18 months ago (19 Jul 2010 17:22)
State
OpenObsolete
Assignee
Alexander Doroshko (alexander.doroshko)Alexander Doroshko
Subsystem
<lost change>Flex Support