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.
While using big properties file opened in Editor my test fail. Exception is in attach.
Created attachment 8986 [details] Added exception
There is bad value in data/big_file.properties. It already contains key "key7" and that's why your test case fails. See screen shots of your test cases. There is an Error dialog in task bar. Additionally you should change method in PropertiesEditorOperator this way, because it can throw NPE otherwise: public void propertiesEditorClickNewPropertyButton() { JButtonOperator jButtonOperator = new JButtonOperator( new EditorWindowOperator(), this.BUTTON_NAME_NEW_PROPERTY); jButtonOperator.pushNoBlock(); new QueueTool().waitEmpty(); } Also you don't need to catch any jemmy exception (line 153). It already does JellyTestCase for you and it reports whole stack trace, so it is easier to track concrete line where an exception was thrown.
[200302180100] Reopening this issue, bacause I saw this issue on today's build. There was changed content of properties file used in my test.
Timeout expires because it is big file and it takes an incredible amount of time to scroll to the beginning of the file. To increase timeout write the following in PropertiesEditorOperator.selectPropertiesFileItem() method: JTableOperator jTableOperator = new JTableOperator(jTable); jTableOperator.getTimeouts(). setTimeout("JScrollBarOperator.WholeScrollTimeout", 240000); jTableOperator.clickOnCell(rowNumber,1); But much more better would be to modify test case. For example, close editor after new keys are created and re-open it. It will open file at the beginning, so no scrolling is needed.
Verified in dev 20030423.