JDK-6454462 : tests 4107667, 4228340, 4252080, 4527959, 4623722 failed on 131u19b2 but passed on previous 131u19b1
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 1.3.1_19
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_3.0
  • CPU: x86
  • Submitted: 2006-07-31
  • Updated: 2014-02-27
  • Resolved: 2009-12-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.3.1_19 b03Fixed
Related Reports
Relates :  
Relates :  
Description
regression tests 4107667, 4228340, 4252080, 4527959, 4623722 failed on 131u19b2 but passed on previous 131u19b1
at point 
    at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:949)
    at org.netbeans.jemmy.drivers.focus.MouseFocusDriver.giveFocus(MouseFocusDriver.java:72)

full stack traces are below and results for each are attached - executions on build02 and on build01

4107667:
Error:
"Text clearing" action has not been produced in 60015 milliseconds
Error:
Timeout for "Text clearing" action has been expired. Thread has been interrupted.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:134)
    at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:949)
    at org.netbeans.jemmy.drivers.focus.MouseFocusDriver.giveFocus(MouseFocusDriver.java:72)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.clearText(TextKeyboardDriver.java:60)
    at org.netbeans.jemmy.drivers.text.SwingTextKeyboardDriver.clearText(SwingTextKeyboardDriver.java:55)
    at org.netbeans.jemmy.operators.JTextComponentOperator$6.launch(JTextComponentOperator.java:609)
    at org.netbeans.jemmy.ActionProducer.launchAction(ActionProducer.java:310)
    at org.netbeans.jemmy.ActionProducer.run(ActionProducer.java:269)
java.lang.RuntimeException: Test Failed
    at Test4107667.main(Test4107667.java:99)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
    at java.lang.Thread.run(Thread.java:479)

4228340:
Error:
"Caret moving" action has not been produced in 60005 milliseconds
Error:
Timeout for "Caret moving" action has been expired. Thread has been interrupted.
java.lang.RuntimeException: Failed
    at Test4228340.main(Test4228340.java:42)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
    at java.lang.Thread.run(Thread.java:479)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:134)
    at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:949)
    at org.netbeans.jemmy.drivers.focus.MouseFocusDriver.giveFocus(MouseFocusDriver.java:72)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.changeCaretPosition(TextKeyboardDriver.java:49)
    at org.netbeans.jemmy.operators.JTextComponentOperator$3.launch(JTextComponentOperator.java:447)
    at org.netbeans.jemmy.ActionProducer.launchAction(ActionProducer.java:310)
    at org.netbeans.jemmy.ActionProducer.run(ActionProducer.java:269)
result: Failed. Execution failed: Execution failed

4252080:
Error:
"Wait component has focus" action has not been produced in 60018 milliseconds
java.lang.RuntimeException: Failed
    at Test4252080.main(Test4252080.java:108)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
    at java.lang.Thread.run(Thread.java:479)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed
JavaTest Message: shutting down test

4527959:
Error:
"Text entering" action has not been produced in 60005 milliseconds
Error:
Timeout for "Text entering" action has been expired. Thread has been interrupted.
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:134)
    at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:949)
    at org.netbeans.jemmy.drivers.focus.MouseFocusDriver.giveFocus(MouseFocusDriver.java:72)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.clearText(TextKeyboardDriver.java:60)
    at org.netbeans.jemmy.drivers.text.SwingTextKeyboardDriver.clearText(SwingTextKeyboardDriver.java:55)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.changeText(TextKeyboardDriver.java:87)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.enterText(TextKeyboardDriver.java:91)
    at org.netbeans.jemmy.operators.JTextComponentOperator$2.launch(JTextComponentOperator.java:427)
    at org.netbeans.jemmy.ActionProducer.launchAction(ActionProducer.java:310)
    at org.netbeans.jemmy.ActionProducer.run(ActionProducer.java:269)
java.lang.RuntimeException: Test Failed
    at Test4527959.main(Test4527959.java:47)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
    at java.lang.Thread.run(Thread.java:479)

4623722:
Error:
"Text entering" action has not been produced in 60015 milliseconds
Error:
Timeout for "Text entering" action has been expired. Thread has been interrupted.
java.lang.RuntimeException: Failed
    at Test4623722.main(Test4623722.java:47)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
    at java.lang.Thread.run(Thread.java:479)
java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:134)
    at org.netbeans.jemmy.operators.ComponentOperator.waitHasFocus(ComponentOperator.java:949)
    at org.netbeans.jemmy.drivers.focus.MouseFocusDriver.giveFocus(MouseFocusDriver.java:72)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.clearText(TextKeyboardDriver.java:60)
    at org.netbeans.jemmy.drivers.text.SwingTextKeyboardDriver.clearText(SwingTextKeyboardDriver.java:55)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.changeText(TextKeyboardDriver.java:87)
    at org.netbeans.jemmy.drivers.text.TextKeyboardDriver.enterText(TextKeyboardDriver.java:91)
    at org.netbeans.jemmy.operators.JTextComponentOperator$2.launch(JTextComponentOperator.java:427)
    at org.netbeans.jemmy.ActionProducer.launchAction(ActionProducer.java:310)
    at org.netbeans.jemmy.ActionProducer.run(ActionProducer.java:269)


How to reproduce:
run JTreg with appropriate JDK 1.31_19b1/2
The workspace is placed on /net/jdk.sfbay/export/jpse04/Regression/1.3.1/test was used
(can get local copy)
the JTreg is placed on /net/jqa/export/home4/testsuites/regression/sqe-tools2.1.6fcs/linux/bin/jtreg
to run please follow instructions http://jqa.ireland/procedures/test_procedures/141_test_procedures/RegressionTestExecution.html
specify -bug:4107667 or any from list 4228340, 4252080, 4527959, 4623722 in appropriate script
and run tests.

Comments
SUGGESTED FIX Backout fix of 6356720 from 131_19 b02.
03-08-2006

EVALUATION Bug fix for # 6356720 has caused this testcase failure in Linux and Solaris. After this fix, textarea filed in the window opened becomes uneditable and makes these testcase failed. Sample testcase will show the problem import javax.swing.*; import java.awt.BorderLayout; public class WordBoundary { public WordBoundary() { JPanel panel = new JPanel( new BorderLayout() ); frame = new JFrame("WordBoundary Test"); // frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); textArea = new JTextArea( "foo_bar foo.bar foo-bar foo bar *" ); textArea.setLineWrap(true); textArea.setWrapStyleWord(true); panel.add( textArea, BorderLayout.CENTER ); frame.getContentPane().add(panel); frame.setSize( 300,150 ); frame.show(); } public static void main( String args[]) throws InterruptedException { new WordBoundary(); } private JFrame frame; private JTextArea textArea; } Pulling out fix # 6356720 from 131_19 b02 will resolve this issue. Need to modify the fix for 6356720.
03-08-2006