java.io.IOException
at sun.awt.image.GifImageDecoder.readHeader(GifImageDecoder.java:305)
at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:102)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
at java.io.BufferedInputStream.read(BufferedInputStream.java:241)
at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:147)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
![]() |
248 B
Tariq and I were not able to reproduce this problem on Windows and Linux, it only happened on Mac OS. I don't have a Mac development environment and won't be able to look into this problem further; even I did, not sure whether we have a way to trace the problem. The exception is thrown from sun.awt.image.ImageFetcher.run() - when the Enter key is pressed, shell actually execute a dummy command, at the beginning of the command execution, shell tries to replace the shell icon displayed in the tab header with an animated busy icon, and after command is executed, shell tries to restore the shell icon. Per reported exception, loading the animated busy icon seems to be the root cause of the problem.
I am unable to reproduce the problem on OSX with Java "1.6.0_51-b11-457-11M4509"
We need to confirm the Java versions where we can reproduce the problem. Java 1.6? 1.7? what are the build versions of Java?
We also need to make sure the setting of the icon is done in EDT.
I am unable to reproduce the problem on OSX with Java "1.6.0_51-b11-457-11M4509"
We need to confirm the Java versions where we can reproduce the problem. Java 1.6? 1.7? what are the build versions of Java?
We also need to make sure the setting of the icon is done in EDT.
>> We also need to make sure the setting of the icon is done in EDT.
In ADS, creating/updating animated icon is done in EDT, so does restoring shell icon. sun.awt.image.ImageFetcher creates a separate thread to fetch the image, though.
>> We also need to make sure the setting of the icon is done in EDT.
In ADS, creating/updating animated icon is done in EDT, so does restoring shell icon. sun.awt.image.ImageFetcher creates a separate thread to fetch the image, though.
@Sachin, you, Tariq and I need to test and reproduce on our OSX machines.
@Sachin, you, Tariq and I need to test and reproduce on our OSX machines.
Kin-Hong is able to reproduce partially and will investigate further.
Kin-Hong is able to reproduce partially and will investigate further.
I'm still running M4508 -- I'll see if I can reproduce on my machine.
I'm still running M4508 -- I'll see if I can reproduce on my machine.
I am now not able to reproduce this on my Mac OSX system:
build: Aqua Data Studio 14.0.0-beta-59
java: 1.6.0_51-b11-457-11M4509
I am now not able to reproduce this on my Mac OSX system:
build: Aqua Data Studio 14.0.0-beta-59
java: 1.6.0_51-b11-457-11M4509
I upgraded to 4509 and am still able to reproduce it. Will work with others to debug.
I upgraded to 4509 and am still able to reproduce it. Will work with others to debug.
> The exception is thrown from sun.awt.image.ImageFetcher.run() - when the Enter key is pressed, shell actually execute a dummy command, at the beginning of the command execution, shell tries to replace the shell icon displayed in the tab header with an animated busy icon, and after command is executed, shell tries to restore the shell icon. Per reported exception, loading the animated busy icon seems to be the root cause of the problem.
Sachin and I did some test on OSX: If we put a sleep(10) in the dummy command, then the problem would go away. It seems that ImageFetcher has a timing issue on OSX.
> The exception is thrown from sun.awt.image.ImageFetcher.run() - when the Enter key is pressed, shell actually execute a dummy command, at the beginning of the command execution, shell tries to replace the shell icon displayed in the tab header with an animated busy icon, and after command is executed, shell tries to restore the shell icon. Per reported exception, loading the animated busy icon seems to be the root cause of the problem.
Sachin and I did some test on OSX: If we put a sleep(10) in the dummy command, then the problem would go away. It seems that ImageFetcher has a timing issue on OSX.
Issue #9427 |
Closed |
Won't Fix |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
Tariq and I were not able to reproduce this problem on Windows and Linux, it only happened on Mac OS. I don't have a Mac development environment and won't be able to look into this problem further; even I did, not sure whether we have a way to trace the problem. The exception is thrown from sun.awt.image.ImageFetcher.run() - when the Enter key is pressed, shell actually execute a dummy command, at the beginning of the command execution, shell tries to replace the shell icon displayed in the tab header with an animated busy icon, and after command is executed, shell tries to restore the shell icon. Per reported exception, loading the animated busy icon seems to be the root cause of the problem.