-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
6u18
-
x86
-
linux
Bug Info
=========
test/javax/swing/text/Utilities/bug6760148.java fails w/ RuntimeException on RHEL5 platform and passed on other platforms windows xp and solaris.I ran the test with 6u18-b04 pit build.
Test fails even with earlier build also.It fails only on linux platform.
Exception Details
==================
java.lang.RuntimeException: javax.swing.text.BadLocationException: Length must be positive
at bug6760148.checkCharsWidth(bug6760148.java:85)
at bug6760148.traverseViews(bug6760148.java:62)
at bug6760148.traverseViews(bug6760148.java:64)
at bug6760148.testCharsWidth(bug6760148.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at SwingTestHelper.invoke(SwingTestHelper.java:625)
at SwingTestHelper.access$800(SwingTestHelper.java:173)
at SwingTestHelper$6.run(SwingTestHelper.java:609)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: javax.swing.text.BadLocationException: Length must be positive
at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:755)
at bug6760148.checkCharsWidth(bug6760148.java:83)
For more details please check the attached log file.
=========
test/javax/swing/text/Utilities/bug6760148.java fails w/ RuntimeException on RHEL5 platform and passed on other platforms windows xp and solaris.I ran the test with 6u18-b04 pit build.
Test fails even with earlier build also.It fails only on linux platform.
Exception Details
==================
java.lang.RuntimeException: javax.swing.text.BadLocationException: Length must be positive
at bug6760148.checkCharsWidth(bug6760148.java:85)
at bug6760148.traverseViews(bug6760148.java:62)
at bug6760148.traverseViews(bug6760148.java:64)
at bug6760148.testCharsWidth(bug6760148.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at SwingTestHelper.invoke(SwingTestHelper.java:625)
at SwingTestHelper.access$800(SwingTestHelper.java:173)
at SwingTestHelper$6.run(SwingTestHelper.java:609)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: javax.swing.text.BadLocationException: Length must be positive
at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:755)
at bug6760148.checkCharsWidth(bug6760148.java:83)
For more details please check the attached log file.