An error has occurred page while downloading mars of baseline test in DevTest Portal


Article ID: 205613


Updated On:


CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization


When we download mar file for baseline testcases in DevTest Portal, very frequent we see, an error has occurred page.

When issue is replicated can see below error in reshub log:

2020-10-16 11:13:59,046Z (16:43) [qtp879425411-303139] ERROR org.grails.web.errors.GrailsExceptionResolver - IllegalStateException occurred when processing request: [GET] /res-hub/v1/projects/byi4GNG1C3yNR3bS/Tests/biarv7Y8PizGYXURiXwu0yfynmAs0TS8Y-G9
STREAM. Stacktrace follows:
 at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(


2020-10-16 11:13:59,051Z (16:43) [qtp879425411-303139] ERROR - STREAM
java.lang.IllegalStateException: STREAM
 at org.eclipse.jetty.server.Response.getWriter(


Upon further investigation of the project Bank v5, the issue was found.

There is a _quick_stage_document_.stg  file under "Bank v5/Tests/StagingDocs/".

While downloading the Baseline test mar, DevTest creates the staging file with the same name "_quick_stage_document_.stg" and because of duplicate entry it's failing to download (create a project + archive them in Mar + Stream out to client).


Release : 10.6

Component : CA Application Test


If we  rename or remove the file  _quick_stage_document_.stg from "Bank v5/Tests/StagingDocs/" and refreshing the project in Portal, we can download any test MAR without issues.