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

Stylepad:IOException has occured while opening a file.

XMLWordPrintable

      Bug Info:
      ---------
      It throws an IOException when opening a file in Stylepad demo application.

      JDK Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b09)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b09, mixed mode, sharing)

      Application Path:
      -----------------
      ${JAVA_HOME}/demo/jfc/Stylepad

      Error Details:
      --------------
      IOException: invalid stream header

      Steps to Reproduce:
      -------------------
      1. Open the console and goto the Stylpad folder which is there under demo/jfc folder.
        (${JAVA_HOME}/demo/jfc/Stylepad/)

      2. Type the following command in the console.
      ${JAVA_HOME}/bin/java -jar Stylepad.jar

      3. Click on a icon (Open a file) and choose any file then click OK button.

      Additional Info:
      ----------------
      1. It shows the exception in all the platforms with jdk1.5.0, jdk1.5.0_01 and jdk1.6.0




      ###@###.### 2004-11-05 13:58:42 GMT

            shickeysunw Shannon Hickey (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: