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

SwingSet2 with Kestrel throws NPE at text.Utilities.getRowEnd (DefaultEditorKit)

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs

      SwingSet2 with Kestrel throws NPE at text.Utilities.getRowEnd (DefaultEditorKit) on Windows NT and Kestrel-L and Plugin and Classic VM (haven't reproduced with Hotspot ... yet).

      To Reproduce:
      1) http://javaweb.eng.sun.com/~nancys/SwingSet2Plugin.html
      2) Go to any source code area.
      3) While typing try to select an item in the Look & Feel menu.
      4) Click and type all at once a bunch.
      RESULT: The following exception is thrown:

      Exception occurred during event dispatching:
      java.lang.NullPointerException:
              at javax.swing.text.Utilities.getRowEnd(Unknown Source)
              at javax.swing.text.DefaultEditorKit$EndLineAction.actionPerformed(Unknown Source)
              at javax.swing.textjava.lang.InterruptedException: operation interrupted
      java.lang.InterruptedException: operation interrupted
      cked(Unknown Source)
              at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
              at java.awt.Component.processMouseEvent(Unknown Source)
              at java.awt.Component.processEvent(Unknown Source)
              at java.awt.Container.processEvent(Unknown Source)
              at java.awt.Component.dispatchEventImpl(Unknown Source)
              at java.awt.Container.dispatchEventImpl(Unknown Source)
              at java.awt.Component.dispatchEvent(Unknown Source)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
              at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
              at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
              at java.awt.Container.dispatchEventImpl(Unknown Source)
              at java.awt.Component.dispatchEvent(Unknown Source)
              at java.awt.EventQueue.dispatchEvent(Unknown Source)
              at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
              at java.awt.EventDispatchThread.run(Unknown Source)

            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: