Community
Participate
Working Groups
Build Identifier: 0.9.0.qualifier For certain (longish) test-suites no test result can be exported they reproducably fail with a NullPointerException like this: 2011-06-28 16:42:56.011 [main] ERROR o.e.j.c.u.w.ExportTestResultDetailsWizard - Error occurred while exporting Test Result details. java.lang.NullPointerException: null at org.eclipse.jubula.client.core.businessprocess.AbstractXMLReportGenerator.addCapElement(AbstractXMLReportGenerator.java:271) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.AbstractXMLReportGenerator.buildElement(AbstractXMLReportGenerator.java:210) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.buildElement(CompleteXMLReportGenerator.java:57) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.buildElement(CompleteXMLReportGenerator.java:60) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.buildElement(CompleteXMLReportGenerator.java:60) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.buildElement(CompleteXMLReportGenerator.java:60) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.buildElement(CompleteXMLReportGenerator.java:60) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.AbstractXMLReportGenerator.buildRootElement(AbstractXMLReportGenerator.java:164) ~[na:na] at org.eclipse.jubula.client.core.businessprocess.CompleteXMLReportGenerator.generateXmlReport(CompleteXMLReportGenerator.java:42) ~[na:na] at org.eclipse.jubula.client.ui.wizards.ExportTestResultDetailsWizard$ExportTestResultDetailsOperation.run(ExportTestResultDetailsWizard.java:142) ~[na:na] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) ~[na:na] The export wizard shows up, performs a quick 0 to 100% progression, then closes. No file is written. The bug occurs for every execution of the test-suite. The bug occurs after refresh and and after restart. Other test-suites perform as expected (produce reports). The test-project uses a Postgres DBMS. Reproducible: Always Steps to Reproduce: 1. Execute Testsuite 2. Open Functional Test Reporting 3. Select test in Test Result Summary 4. Right-click on test, choose 'Export' from context-menu 5. Select existing destination 6. Press 'Finish'-Button
@Oliver: please try to build a reproducible test in our environment, attach log files from failures.
Created attachment 199173 [details] Log File Embedded DB
I was able to reproduce this error. I used the samples project imported on three different DBs (Oracle, PostGreSQL and the embedded DB), ran every testsuite and tried to export the test result summaries. The test result summaries for the SA TS (every toolkit) were all exported, the test result summaries for the DVD Tool and the Meters Tool were not exported no matter which DB was used. Maybe this is connected with the length of TS since the SA TS only consist of a few TCs (mostly 4) and the DVDTool and Meters TS are much longer. This issue does not seem to be connected with the use of different DBs since this error occured on every DB used. For further info check the attached client log files for the Meters TS.
Created attachment 199174 [details] Log File Oracle
Created attachment 199175 [details] Log File PostGreSQL
This is a duplicate of https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=90
Closed as fixed (see https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=90)