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

While loading text in 'progress bar' tab, changing look causes an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.1.5, 1.2.0
    • client-libs
    • swing1.1
    • x86, sparc
    • solaris_2.5, windows_95

      Configuration: JDK1.2Beta3L nightly build(March 9) under Solaris.

      SwingSet Demo:
      While loading text in 'progress bar' tab, changing look causes an exception. This bug is similar to bug#4063434 which was closed. However exception message is different.

      I changed the looknfeel from metal to motif and got the following exception.
      Loading text is stopped and I can't restart loading the text again.

      java.lang.NullPointerException
              at java.awt.swing.text.View.preferenceChanged(View.java:84)
              at java.awt.swing.text.PlainView.preferenceChanged(PlainView.java:285)
              at java.awt.swing.text.PlainView.updateDamage(PlainView.java:458)
              at java.awt.swing.text.PlainView.insertUpdate(PlainView.java:391)
              at
      java.awt.swing.text.DefaultTextUI$RootView.insertUpdate(DefaultTextUI.java:834)
              at
      java.awt.swing.text.DefaultTextUI$UpdateHandler.insertUpdate(DefaultTextUI.java:
      1050)
              at
      java.awt.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:137)
              at
      java.awt.swing.text.AbstractDocument.insertString(AbstractDocument.java:415)
              at java.awt.swing.JTextArea.append(JTextArea.java:353)
              at ProgressPanel$LoadThread.run(ProgressPanel.java:151)
      Couldn't find X Input Context
      bae-chul.kim@Eng 1998-03-09

            tprinzing Tim Prinzing (Inactive)
            bkimsunw Bae-chul Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: