Project: Birt
Bug 234531 The warning message is not proper
Reported: 2008-05-29 01:13:55 | Status: closed fixed

Description: Input a invalid number in Select Result set By Number and preview in dataset. Warning message pops up: The method (getResultSet(int)) was called with an invalid argument (1,233). Build number: 2.3.0.v20080529-0630 Error log: at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement$SequentialResultSetHandler.throwInvalidArgException(PreparedStatement.java:5097) at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement$SequentialResultSetHandler.getResultSet(PreparedStatement.java:4801) at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getResultSet(PreparedStatement.java:713) at org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:562) at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:331) at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:801) at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233) at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:160) at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage.populateRecords(ResultSetPreviewPage.java:523) at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage.access$2(ResultSetPreviewPage.java:517) at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:473) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceQuery.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java