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

Stylepad can't read in styled documents on Solaris with JDK-1.2beta4-G

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.2.0
    • client-libs
    • 1.2fcs
    • sparc
    • solaris_2.6
    • Verified

      Stylepad can't read in styled document on Solaris 2.6 with JDK-1.2beta4-G.

      Steps to Reproduce:
      0) Launch Stylepad with configuration above.
      1) Select Save from the File menu and save a copy of what Stylepad has in its document.
      2) Clear the document are by selecting New from the File menu.
      3) Attempt to read in the document you just saved.
      RESULT: Stylepad doesn't read in the document, and instead throws the following exceptions:
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.swing.text.AbstractDocument$AbstractElement.readObject(Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
              at java.io.ObjectInputStream.inputObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.inputClassFields(Compiled Code)
              at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
              at java.awt.swing.text.AbstractDocument.readObject(Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
              at java.io.ObjectInputStream.inputObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at java.io.ObjectInputStream.readObject(Compiled Code)
              at Stylepad$OpenAction.actionPerformed(Compiled Code)
              at java.awt.swing.AbstractButton.fireActionPerformed(Compiled Code)
              at java.awt.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code)
              at java.awt.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
              at java.awt.swing.DefaultButtonModel.setPressed(Compiled Code)
              at java.awt.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled Code)
              at java.awt.AWTEventMulticaster.mouseReleased(Compiled Code)
              at java.awt.Component.processMouseEvent(Compiled Code)
              at java.awt.Component.processEvent(Compiled Code)
              at java.awt.Container.processEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Window.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)

            svioletsunw Scott Violet (Inactive)
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: