Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4420879

java.beans.Beans.instantiate / StreamCorruptedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • deploy
    • x86
    • windows_2000



      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)
      ======================================================================

            jmelvin James Melvin (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: