JDK-4420879 : java.beans.Beans.instantiate / StreamCorruptedException
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-03-02
  • Updated: 2002-04-29
  • Resolved: 2002-04-29
Related Reports
Duplicate :  
Description

Name: boT120536			Date: 03/01/2001


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

Hi

Im getting the following error trying to run a Bean in Oracle Forms via the
ActiveX bridge/Plug-in. It does however work fine in a webpage or via the
Microsoft ActiveX test container.

java.io.StreamCorruptedException: Caught EOFException while reading the stream
header 	at java.io.ObjectInputStream.readStreamHeader
(ObjectInputStream.java:845) 	at java.io.ObjectInputStream.<init>
(ObjectInputStream.java:168) 	at java.beans.ObjectInputStreamWithLoader.<init>
(Beans.java:463) 	at java.beans.Beans.instantiate(Beans.java:166)
	at java.beans.Beans.instantiate(Beans.java:51) 	at
sun.beans.ole.JarBeanLoader.loadBean(Unknown Source) 	at
sun.beans.ole.OleBeanInterface.<init>(Unknown Source) 	at
sun.beans.ole.OleBeanInterface.loadBean(Unknown Source)

Can not attach the jar file and the .reg and .tlb files here, but will email
them on request.

Many thanks
Regards
Anthony
(Review ID: 116665) 
======================================================================

Comments
EVALUATION The Active-X Bridge was removed in Java 1.4.0 based on a Java Steering Committee decision nearly 2 years ago. The decision was based on 2 things. Customer interest was marginal at best and Java Plug-in was no longer dependent on the bridge technology to operate. It was necessary to remove it to allow for code refactoring and reworking in 1.4.0. Since removing the bridge, many customers have expressed interest in it. We have filed an RFE (4616580) for this support in a future release. We are currently evaluating whether we have a significant business case to justify the 1-3 man-month engineering effort (more for supporting teams) in the Mantis/Tiger timeframe. NOTE: Mantis = Java 1.4.2 FCS Q2, 2003 Tiger = Java 1.5 FCS Q4, 2003 Support for the bridge in existing 1.3.x releases is limited to escalations and can be persued with our CTE team. This bug will be closed as a duplicate of 4616580. ###@###.### 2002-04-29
29-04-2002