-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
generic
-
generic
Testing serialized applet is fail. "StreamCorruptedException" exception is
received from the command prompt also the message "Start: applet not initialized" is appearing in the appletviewer tool.
**Testing done in Solaris2.7 & winNT with jdkbuild 1.4.0-beta-b49.
The problem is appear in both the platforms.
**************** Result
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 58 % uname -X
System = SunOS
Node = javasupport2
Release = 5.7
KernelID = Generic_106541-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 59 % java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 60 % appletviewer WinExample1.html
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1174)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at java.awt.Component.readObject(Component.java:6545)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:555)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:478)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:579)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 61 % appletviewer WinExample2.html
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1174)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at java.awt.Component.readObject(Component.java:6566)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:555)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:478)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:579)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 62 %
******************
How to reproduce?
-----------------
1) copy the following files into your machine,
WinExample.jar
WinExample1.html
WinExample2.html
WinExample_jdk11x.serial
WinExample_jdk12.serial
2) Set the path to jdkbuild 1.4.0-beta-b49
3) say in the command prompt, appletviewer WinExample1.html
( * Testing serialized applet from JDK1.1.x....
JVM will launch appletviewer tool with "java.io.StreamCorruptedException".
The exception will appear in the command prompt)
4) kill the appletviewer.
5) say in the command prompt, appletviewer WinExample2.html
( * Testing serialized applet from JDK1.2.....
JVM will launch appletviewer tool with "java.io.StreamCorruptedException".
The exception will appear in the command prompt)
More information
-----------------
**Testing done in Solaris2.7 & winNT with jdkbuild build 1.3.1-beta-b14.
Received expected behavior.
mohamed.sulthan@Eng 2001-01-30
------------------------------
While submitting this bug, I received a message like "attachment file name is too long". So I copied all the files in the following location,
/net/sqesvr/export/xlt/Tools/toolsbugs/4409835
javasupport2:/net/sqesvr/export/xlt/Tools/toolsbugs/4409835 112 % ls -la
total 44
drwxrwxrwx 2 sulthanm staff 512 Jan 30 2001 ./
drwxrwxrwx 20 ajay1 staff 512 Jan 30 2001 ../
-rwxrwxrwx 1 sulthanm staff 7801 Jan 30 2001 WinExample.jar*
-rwxrwxrwx 1 sulthanm staff 95 Jan 30 2001 WinExample1.html*
-rwxrwxrwx 1 sulthanm staff 94 Jan 30 2001 WinExample2.html*
-rwxrwxrwx 1 sulthanm staff 4951 Jan 30 2001 WinExample_jdk11x.serial*
-rwxrwxrwx 1 sulthanm staff 4700 Jan 30 2001 WinExample_jdk12.serial*
received from the command prompt also the message "Start: applet not initialized" is appearing in the appletviewer tool.
**Testing done in Solaris2.7 & winNT with jdkbuild 1.4.0-beta-b49.
The problem is appear in both the platforms.
**************** Result
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 58 % uname -X
System = SunOS
Node = javasupport2
Release = 5.7
KernelID = Generic_106541-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 59 % java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 60 % appletviewer WinExample1.html
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1174)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at java.awt.Component.readObject(Component.java:6545)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:555)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:478)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:579)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 61 % appletviewer WinExample2.html
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1174)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at java.awt.Component.readObject(Component.java:6566)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:555)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:478)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:579)
javasupport2:/home/sulthanm/testworkspace/appletviewer/avtests/temp 62 %
******************
How to reproduce?
-----------------
1) copy the following files into your machine,
WinExample.jar
WinExample1.html
WinExample2.html
WinExample_jdk11x.serial
WinExample_jdk12.serial
2) Set the path to jdkbuild 1.4.0-beta-b49
3) say in the command prompt, appletviewer WinExample1.html
( * Testing serialized applet from JDK1.1.x....
JVM will launch appletviewer tool with "java.io.StreamCorruptedException".
The exception will appear in the command prompt)
4) kill the appletviewer.
5) say in the command prompt, appletviewer WinExample2.html
( * Testing serialized applet from JDK1.2.....
JVM will launch appletviewer tool with "java.io.StreamCorruptedException".
The exception will appear in the command prompt)
More information
-----------------
**Testing done in Solaris2.7 & winNT with jdkbuild build 1.3.1-beta-b14.
Received expected behavior.
mohamed.sulthan@Eng 2001-01-30
------------------------------
While submitting this bug, I received a message like "attachment file name is too long". So I copied all the files in the following location,
/net/sqesvr/export/xlt/Tools/toolsbugs/4409835
javasupport2:/net/sqesvr/export/xlt/Tools/toolsbugs/4409835 112 % ls -la
total 44
drwxrwxrwx 2 sulthanm staff 512 Jan 30 2001 ./
drwxrwxrwx 20 ajay1 staff 512 Jan 30 2001 ../
-rwxrwxrwx 1 sulthanm staff 7801 Jan 30 2001 WinExample.jar*
-rwxrwxrwx 1 sulthanm staff 95 Jan 30 2001 WinExample1.html*
-rwxrwxrwx 1 sulthanm staff 94 Jan 30 2001 WinExample2.html*
-rwxrwxrwx 1 sulthanm staff 4951 Jan 30 2001 WinExample_jdk11x.serial*
-rwxrwxrwx 1 sulthanm staff 4700 Jan 30 2001 WinExample_jdk12.serial*
- duplicates
-
JDK-4402870 api/java_awt/serialization/descriptions.html, Merlin, x86, Sparc, B46
-
- Closed
-