14 years ago
Excel DataSink fails under Linux
Hello all,
I'm currently evaluating SoapUI Pro (3.6.1 and 3.6.2-snapshot20110209 both installed together with the included JRE) for data driven testing on Windows and Linux and I might have found a killer bug for us.
The problem is, that the DataSink feature for writing to Excel files is broken on Linux, while the same project works perfectly well on Windows. When the DataSink step is called, soapUI throws an error and does not update the .xls file. Here's the stack-trace from the error.log tab:
I have attached a minimal project file together with a basic xsl file that is used as input and output. It would be very nice if someone was able to reproduce the same behaviour on a Linux box and someone to confirm that it runs on Windows (what about OSX, btw.?). Before running the test, one needs to update the file path to the test.xls file in the steps DataSource and DataSink.
Or am I missing something here?
Thanks a lot,
Dinkel
I'm currently evaluating SoapUI Pro (3.6.1 and 3.6.2-snapshot20110209 both installed together with the included JRE) for data driven testing on Windows and Linux and I might have found a killer bug for us.
The problem is, that the DataSink feature for writing to Excel files is broken on Linux, while the same project works perfectly well on Windows. When the DataSink step is called, soapUI throws an error and does not update the .xls file. Here's the stack-trace from the error.log tab:
Wed Feb 09 16:47:05 CET 2011:ERROR:java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jxl.biff.StringHelper.getBytes(StringHelper.java:127)
at jxl.write.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:59)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:726)
at com.eviware.soapui.impl.wsdl.teststeps.datasink.ExcelDataSink.finish(SourceFile:226)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSinkTestStep.finish(SourceFile:231)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalFinally(WsdlTestCaseRunner.java:171)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalFinally(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:163)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have attached a minimal project file together with a basic xsl file that is used as input and output. It would be very nice if someone was able to reproduce the same behaviour on a Linux box and someone to confirm that it runs on Windows (what about OSX, btw.?). Before running the test, one needs to update the file path to the test.xls file in the steps DataSource and DataSink.
Or am I missing something here?
Thanks a lot,
Dinkel