-
Bug
-
Resolution: Fixed
-
P3
-
1.1
-
1.1
-
generic
-
solaris_10
-
Not verified
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.
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.