It's all about the answers!

Ask a question

Standard Export for TestCases fails without error message


Georg Kellner (840378109) | asked Jan 15 '14, 9:19 a.m.
Hello fellows,

following "small" problem:
Construction -> Browse TestCases -> Mark 10 TestCases -> Export PDF for 10 testCases -> Export Details
Everything is fine, I get a .zip file, containing 10 PDFs

If I choose for example 25 TestCases, a "Completed with errors" is shown, the .zip is downloadable but contains only 19 pdfs.

If I choose a lot of TestCases, the export failes "Failed", no .zip is generated.

What causes this problem?
Seems to be a memory setting.

greetings georg.

Comments
Don Yang commented Jan 15 '14, 11:29 p.m.

please provide version of RQM and go to qm.log file and collect the related trace info when you got "Completed with errors" or failes "Failed", that may help provide more clues.

3 answers



permanent link
Georg Kellner (840378109) | answered Jan 16 '14, 6:09 a.m.
edited Jan 16 '14, 6:10 a.m.
RQM 4.0.2
Completed with errors - qm.log says

2014-01-16 12:05:57,585 [             WebContainer : 27]  WARN com.ibm.rqm.print.service.PrintJobService           - a StaleDataException was caught while trying to save changes to the printJob with UUID="_Ik74AH6eEeOGHN1NpbKAhQ".  We will retry the save.
2014-01-16 12:05:59,772 [  qm: AsynchronousTaskRunner-3] ERROR rqm.print.service.engine.command.BatchPrintCommand  - Test Case (batch).zip [detail] (_Ik74AH6eEeOGHN1NpbKAhQ): failed to add the print job with name="6570 - Verbindungsausfall Backplane (SZ-S7).pdf" to the zip stream.  Skipping it.
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
    at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
    at com.ibm.rqm.print.service.engine.command.BatchPrintCommand.executePrint(BatchPrintCommand.java:89)
    at com.ibm.rqm.print.service.engine.command.PrintCommand.run(PrintCommand.java:249)
    at com.ibm.rqm.print.service.engine.command.PrintCommandTask.transactionSucceeded(PrintCommandTask.java:85)
    at sun.reflect.GeneratedMethodAccessor565.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at $Proxy1368.transactionSucceeded(Unknown Source)
    at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:972)
    at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:981)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:153)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:116)
    at java.lang.Thread.run(Thread.java:736)
2014-01-16 12:05:59,772 [  qm: AsynchronousTaskRunner-3] ERROR rqm.print.service.engine.command.BatchPrintCommand  - Test Case (batch).zip [detail] (_Ik74AH6eEeOGHN1NpbKAhQ): failed to add the print job with name="6861 - 15_LAN am ZCOMS2 wieder stecken.pdf" to the zip stream.  Skipping it.
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
    at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
    at com.ibm.rqm.print.service.engine.command.BatchPrintCommand.executePrint(BatchPrintCommand.java:89)
    at com.ibm.rqm.print.service.engine.command.PrintCommand.run(PrintCommand.java:249)
    at com.ibm.rqm.print.service.engine.command.PrintCommandTask.transactionSucceeded(PrintCommandTask.java:85)
    at sun.reflect.GeneratedMethodAccessor565.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
    at $Proxy1368.transactionSucceeded(Unknown Source)
    at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:972)
    at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:981)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:153)
    at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:116)
    at java.lang.Thread.run(Thread.java:736)


permanent link
Georg Kellner (840378109) | answered Jan 16 '14, 6:33 a.m.
edited Jan 16 '14, 6:34 a.m.
Oh, the error message for the "Failed" message is clear:

2014-01-16 12:30:58,978 [             WebContainer : 39] ERROR com.ibm.rqm.print.common.util.PrintUtils            - An unexpected error occurred while trying to calculate the progress of the print job with uuid="_Z_d_oH6fEeOGHN1NpbKAhQ".
java.lang.IllegalArgumentException: Item Handle array cannot exceed 2048 elements.


permanent link
Vidya Malkarnekar (1.0k15) | answered Jan 16 '14, 8:54 a.m.
JAZZ DEVELOPER
I see the following error in the first log snippet you provided :

2014-01-16 12:05:59,772 [  qm: AsynchronousTaskRunner-3] ERROR rqm.print.service.engine.command.BatchPrintCommand  - Test Case (batch).zip [detail] (_Ik74AH6eEeOGHN1NpbKAhQ): failed to add the print job with name="6570 - Verbindungsausfall Backplane (SZ-S7).pdf" to the zip stream.  Skipping it. 
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0 
    at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352) 

You are running into defect   Multi-select export throw BasicIndexOutOfBoundsException .
It's fixed in 4.0.4. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.