This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
You probably assume that all columns are visible and not rearranged org.netbeans.jemmy.operators.JTableOperator.findCell uses checkCell and calls it with model indexes. But checkCell uses view indexes. java.lang.ArrayIndexOutOfBoundsException: 10 >= 10 at java.util.Vector.elementAt(Vector.java:431) at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277) at javax.swing.JTable.convertColumnIndexToModel(JTable.java:1680) at javax.swing.JTable.getValueAt(JTable.java:1771) at org.netbeans.jemmy.operators.JTableOperator$BySubStringTableCellChooser.checkCell(JTableOperator.java:1959) at org.netbeans.jemmy.operators.JTableOperator.findCell(JTableOperator.java:820) at org.netbeans.jemmy.operators.JTableOperator.findCell(JTableOperator.java:786) at org.netbeans.jemmy.operators.JTableOperator.findCell(JTableOperator.java:412) at org.netbeans.modules.tasklist.usertasks.test.TestTable.testStartTaskFillsOwner(TestTable.java:104) 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:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:112) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:119) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127) at org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:196) at org.netbeans.xtest.plugin.ide.Main$2.run(Main.java:313) at java.lang.Thread.run(Thread.java:534)
Any test case ready which I can use for dubugging?
testStartTaskFillsOwner in http://tasklist.netbeans.org/source/browse/tasklist/usertasks/test/qa-functional/src/org/netbeans/modules/tasklist/usertasks/test/TestTable.java?rev=1.4&content-type=text/x-cvsweb-markup
will this ever be fixed?
I'll be taking this one for Jemmy release 2.2.7
Can you provide the table you have displayed (the data in it) so that I can create a test without having to checkout the entire NetBeans source?
No. The data comes from an .ics file test14.ics under tasklist/usertasks.
I think I have fixed it. Can you check if your test now works. I noticed that you used: Point p = t.findCell("R", new Operator.DefaultStringComparator(true, true), 1); Shouldn't the last parameter be 0?
I think I have fixed it. Can you check if your test now works. I noticed that you used: Point p = t.findCell("R", new Operator.DefaultStringComparator(true, true), 1); Shouldnt the last parameter be 0?
Fixed in 2.2.7
ok