java.io.IOException: Stream closed #3921
XiaoGen-Taiwan
started this conversation in
General
Replies: 1 comment 3 replies
-
|
If you look at your license file, what is the modification date shown at the top of it? If it's over a month ago, can you back that up and then run: and check what the output is? If the file is out of date, this command should check the status against our license server and then update the file (but if it can't access the server then it may delete the file, hence taking a back-up first). If you do get an 'error' response, then you need to check your connectivity: do you have a firewall in place, or a proxy server? thanks |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Out of a sudden I can not run or debug my Flex apps anymore.
Build will be successful but then the log shows: "java.io.IOException: Stream closed".
I tested it with various of my Flex apps that were running a few hours earlier and also created a blank "Hello World" Flex app.
Furthermore, when I try to run the app (instead of starting it with the debugger) I get following output:
Adobe AIR - Linux runtime is limited to use by commercially licensed developers
My license file is located at:
~/.airsdk/adt.lic
and is valid until Nov 25
I would be very grateful if anyone could give me a hint as to where I should look at.
I'm completely at a loss at the moment, as I haven't changed any of the OS or IDE settings, and as far as I remember, there was no IDE or operating system update between the last successful launch and the failed one.
My environment:
IDE / OS:
IntelliJ IDEA 2025.1.2 (Ultimate Edition)
Build #IU-251.26094.121, built on June 3, 2025
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.14.0-24-generic
Ubuntu 24.04.2 LTS; glibc: 2.39
Desktop: ubuntu:GNOME
SDK's:
Flex SDK 4.16.1.20171115
AIR SDK 51.2.1.7 and AIR SDK 51.1.3.2
LOG (idea.log):
`
2025-07-20 15:41:18,240 [ 78018] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files
2025-07-20 15:41:18,240 [ 78018] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files
2025-07-20 15:41:18,251 [ 78029] INFO - #c.i.c.i.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2025-07-20 15:41:18,404 [ 78182] INFO - #c.i.c.s.BuildManager - BUILDER_PROCESS [stderr]: Be careful, logger will be shut down earlier than application: Unable to make field private static java.util.IdentityHashMap java.lang.ApplicationShutdownHooks.hooks accessible: module java.base does not "opens java.lang" to unnamed module @7adf9f5f
2025-07-20 15:41:18,413 [ 78191] INFO - #c.i.c.s.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /snap/intellij-idea-ultimate/618/plugins/java/lib/jps-launcher.jar
2025-07-20 15:41:18,562 [ 78340] INFO - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - KCRI storage is closed (didn't exist)
2025-07-20 15:41:18,562 [ 78340] INFO - #c.i.c.b.CompilerReferenceServiceBase - backward reference index reader is closed (didn't exist)
2025-07-20 15:41:19,116 [ 78894] INFO - #o.j.k.i.s.r.KotlinCompilerReferenceIndexService - initialized
2025-07-20 15:41:19,117 [ 78895] WARN - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - kotlin-data-container is not found
2025-07-20 15:41:19,118 [ 78896] INFO - #c.i.c.b.CompilerReferenceServiceBase - initialized
2025-07-20 15:41:19,118 [ 78896] INFO - #c.i.c.b.CompilerReferenceServiceBase - backward reference index reader doesn't exist
2025-07-20 15:41:19,132 [ 78910] INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.FreeMarkerBundle
2025-07-20 15:41:19,134 [ 78912] INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.HibernateBundle
2025-07-20 15:41:19,140 [ 78918] INFO - #c.i.c.i.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 989 ms: 0 min 0sec
2025-07-20 15:41:19,179 [ 78957] INFO - #c.i.c.s.BuildManager - BUILDER_PROCESS [stderr]: Be careful, logger will be shut down earlier than application: Unable to make field private static java.util.IdentityHashMap java.lang.ApplicationShutdownHooks.hooks accessible: module java.base does not "opens java.lang" to unnamed module @7adf9f5f
2025-07-20 15:41:19,193 [ 78971] INFO - #c.i.c.s.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /snap/intellij-idea-ultimate/618/plugins/java/lib/jps-launcher.jar
2025-07-20 15:41:19,909 [ 79687] WARN - c.i.l.j.f.d.FlexDebugProcess - Stream closed
java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:169)
at java.base/java.io.BufferedInputStream.implAvailable(BufferedInputStream.java:515)
at java.base/java.io.BufferedInputStream.available(BufferedInputStream.java:508)
at com.intellij.lang.javascript.flex.debug.FlexDebugProcess$MyFdbOutputReader.hasSomeDataPending(FlexDebugProcess.java:1227)
at com.intellij.lang.javascript.flex.debug.FlexDebugProcess.processOneCommandLoop(FlexDebugProcess.java:494)
at com.intellij.lang.javascript.flex.debug.FlexDebugProcess.lambda$startCommandProcessingThread$1(FlexDebugProcess.java:399)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:265)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at com.intellij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:86)
at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:95)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:102)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:102)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:108)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:102)
at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
`
Beta Was this translation helpful? Give feedback.
All reactions