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

Solaris: ArrayIndexOutOfBoundsException thrown when printing TextAreas

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      solaris_10
    • Verification:
      Not verified

      Description

      On Solaris, if you print a TextArea component, the following exception occur:

           java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
      at java.util.Vector.elementAt(Vector.java)
      at sun.awt.motif.MTextAreaPeer.paintLine(MTextAreaPeer.java:251)
      at sun.awt.motif.MTextAreaPeer.paintLines(MTextAreaPeer.java:237)
      at sun.awt.motif.MTextAreaPeer.print(MTextAreaPeer.java:214)
      at java.awt.Component.printAll(Component.java)
      at java.awt.Container.printComponents(Container.java)
      at sun.awt.motif.MPanelPeer.print(MPanelPeer.java:42)
      at java.awt.Component.printAll(Component.java)
      at java.awt.Container.printComponents(Container.java)
      at sun.awt.motif.MPanelPeer.print(MPanelPeer.java:42)
      at java.awt.Component.printAll(Component.java)
      at java.awt.Container.printComponents(Container.java)
      at sun.awt.motif.MPanelPeer.print(MPanelPeer.java:42)
      at sun.awt.motif.MFramePeer.print(MFramePeer.java:149)
      at java.awt.Component.printAll(Component.java)
      at ComponentPrintTest.paint(ComponentTest.java:224)
      at java.awt.Component.dispatchEvent(Component.java)
      at java.awt.Window.dispatchEvent(Window.java)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java)

      This can be easily reproduced by running the JCK test: ComponentTest
      on 1.1.

        Attachments

          Activity

            People

            Assignee:
            jeff Jeff Dinkins
            Reporter:
            amfowler Anne Fowler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: