It's all about the answers!

Ask a question

RRC: Error in Uploaded artifact


Ahmed Omair (41335) | asked Jun 02 '14, 9:02 a.m.
Dear All,

When I upload an external file e.g. Visio or Excel file to RRC as an external artifact the file is uploaded successfully. However when i view this artifact it shows me following error.

An error has occurred while processing a server request. The server returned this error code: 400.
hide details
ID CRRRW7553E  A message that was received from the server indicates an error with no specific handler.
Unable to load https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/operations status: 400
_6@https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/web/_js/?include=A~&etag=E6RXt6mEoC8_en_US&_proxyURL=%2Frm&ss=Ecb0g&locale=en-us:2487 _6@https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/web/_js/?include=A~&etag=E6RXt6mEoC8_en_US&_proxyURL=%2Frm&ss=Ecb0g&locale=en-us:6185 _13@https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/web/_js/?include=A~&etag=E6RXt6mEoC8_en_US&_proxyURL=%2Frm&ss=Ecb0g&locale=en-us:6200

URL: https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/operations

{ "detailedMessage": "com.ibm.rdm.fronting.server.exception.BadRequestException (More info found at entry [fdc289e3b19796e5] in the RM application server log)", "errorMessage": "Bad Request", "errorStatus": "400" }

The RM.log file shows me following error.

2014-06-02 14:04:50,902 [             WebContainer : 22] ERROR m.fronting.server.rrs.operations.OperationsService  - Server Error: Entry [c9d1a4555ec7ce69]

com.ibm.rdm.fronting.server.exception.BadRequestException: Propagated exception; original message [com.ibm.rdm.fronting.server.exception.BadRequestException]

          at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:204)

          at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:737)

          at com.ibm.rdm.fronting.server.exception.RRSException.capture(RRSException.java:741)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalServiceExchange.checkError(InternalServiceExchange.java:53)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalServiceExchange.getResponse(InternalServiceExchange.java:37)

          at com.ibm.rdm.fronting.server.core.jpi.internal.CoreServiceRequest.executeServiceRequest(CoreServiceRequest.java:63)

          at com.ibm.rdm.fronting.server.core.spi.BaseServiceRequest.execute(BaseServiceRequest.java:117)

          at com.ibm.rdm.fronting.server.services.query.internal.QueryServiceUtil.query(QueryServiceUtil.java:1701)

          at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.collectProjectTypesFromHead(ProjectTypeSystem.java:811)

          at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.getAggregateTypesFeedFromJfs(ProjectTypeSystem.java:795)

          at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.populateTypesFeed(ProjectTypeSystem.java:393)

          at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.internalGetTypeFeed(ProjectTypeSystem.java:347)

          at com.ibm.rdm.fronting.server.services.types.internal.ProjectTypeSystem.getTypesFeed(ProjectTypeSystem.java:323)

          at com.ibm.rdm.fronting.server.rrs.operations.internal.OperationActionFactory.getActions(OperationActionFactory.java:56)

          at com.ibm.rdm.fronting.server.rrs.operations.internal.OperationDiscoveryRequest.execute(OperationDiscoveryRequest.java:206)

          at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:263)

          at com.ibm.rdm.fronting.server.core.internal.request.RRSCommandBase.call(RRSCommandBase.java:1)

          at com.ibm.rdm.fronting.server.rrs.operations.internal.OperationsServiceInternal.doPostInternal(OperationsServiceInternal.java:90)

          at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:807)

          at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:688)

          at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doPost(RRSRestServiceBase.java:147)

          at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.performService(RRSRestServiceBase.java:414)

          at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:227)

          at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:155)

          at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:281)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

          at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)

          at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

          at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)

          at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)

          at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)

          at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)

          at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)

          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)

          at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)

          at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)

          at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)

          at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)

          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)

          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)

          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)

          at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

          at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)

          at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

          at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

          at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

          at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

          at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

          at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

          at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)

Caused by: com.ibm.rdm.fronting.server.exception.BadRequestException: com.ibm.rdm.fronting.server.exception.BadRequestException

          at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:204)

          at com.ibm.rdm.fronting.server.exception.RRSException.newException(RRSException.java:180)

          at com.ibm.rdm.fronting.server.core.jpi.internal.ServiceResponseHandler.statusCheck(ServiceResponseHandler.java:142)

          at com.ibm.rdm.fronting.server.core.jpi.internal.ServiceResponseHandler.handleResponse(ServiceResponseHandler.java:132)

          at com.ibm.rdm.fronting.server.core.jpi.internal.ServiceResponseHandler.handleResponse(ServiceResponseHandler.java:41)

          at com.ibm.rdm.fronting.server.core.jpi.internal.JTSQueryService.processHttpResponse(JTSQueryService.java:293)

          at com.ibm.rdm.fronting.server.core.jpi.internal.CoreServiceRequest.processResponse(CoreServiceRequest.java:71)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.invokeHttpRequest(InternalCoreServices.java:862)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.handleCoreBulkables(InternalCoreServices.java:790)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.handleCoreRequests(InternalCoreServices.java:726)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:310)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:242)

          at com.ibm.rdm.fronting.server.core.jpi.internal.InternalCoreServices.execute(InternalCoreServices.java:234)

          at com.ibm.rdm.fronting.server.core.jpi.internal.CoreServiceRequest.executeServiceRequest(CoreServiceRequest.java:61)

          ... 56 more

IServiceRequests

          JTSQueryService.QUERY

Request

          POST https://clmapxxprdcw1.intra.riyadbank.com:9443/jts/query?query&size=512&context=https://clmapxxprdcw1.intra.riyadbank.com:9443/jts/process/project-areas/_TmFXlVQIEeKzkvPRDuhJlQ/team-areas/_0N8g7mhcEeKgSPkIS7aqtA HTTP/1.1

          Content-Type: application/sparql-query;charset=UTF-8

          Authorization: OAuth oauth_token_secret="", oauth_nonce="11059161666591501", oauth_token="", oauth_consumer_key="e17fdd810c8143ca95f9c51a61d8fb2e", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1401707090", oauth_version="1.0", oauth_signature="J7RD%2F5TevmJM7DjnrufYKF3dW9M%3D"

          --Start entity---

          PREFIX jazz: <http://jazz.net/xmlns/foundation/1.0/>

          PREFIX dc: <http://purl.org/dc/terms/>

          SELECT ?resource ?etag

          WHERE {

              ?resource dc:isPartOf <https://clmapxxprdcw1.intra.riyadbank.com:9443/rm/types> .

              ?resource jazz:resourceContext <https://clmapxxprdcw1.intra.riyadbank.com:9443/jts/process/project-areas/_TmFXlVQIEeKzkvPRDuhJlQ/team-areas/_0N8g7mhcEeKgSPkIS7aqtA> .

              ?resource jazz:etag ?etag .

          }

         

          #X-com-ibm-rdm-request-correlation-id:9b3bf377f57d1899

 

          --End entity-----

Response:

          HTTP/1.1 400

          X-Powered-By: Servlet/3.0

          Last-Modified: Mon, 02 Jun 2014 11:04:44 GMT

          X-Last-Modified-XSD: 2014-06-02T11:04:44.308Z

          Content-Type: text/html;charset=UTF-8

          $WSEP:

          Content-Language: en-US

          Connection: Close

          Date: Mon, 02 Jun 2014 11:04:50 GMT

          Server: WebSphere Application Server/8.0

          Content-Length: 140

          ServiceResponse exceptionclass java.lang.IllegalStateException:No match found

          ServiceResponse was null: false, ServiceResponse stream was null: false

          ---Start entity---

          Exception Occurred while retrieving content

          class java.lang.IllegalStateException:Content has been consumed

          --End entity------

Any one got a clue on how to resolve this problem? I am using CLM v 4.0.5



Comments
1
HÃ¥kan Kristiansson commented Jun 02 '14, 9:35 a.m.

What happens if you try to open it with https://server:port/rm/wrappedResources/artifact_uuid ?

If you happen to have assigned the folder to a team area I believe you are running into defect: https://jazz.net/jazz03/web/projects/Requirements%20Management#action=com.ibm.team.workitem.viewWorkItem&id=88060


Ahmed Omair commented Jun 03 '14, 2:20 a.m.

Get following error when i run https://server:port/rm/wrappedResources/artifact_uuid

Error 404: Not Found

com.ibm.rdm.fronting.server.exception.NotFoundException (More info found at entry [88529d8edbb561f] in the RM application server log)


Requirements Management/4.0.5

One answer



permanent link
Mike Jaworski (1.4k6) | answered Jun 02 '14, 9:45 a.m.
JAZZ DEVELOPER
 Hakan is correct, you are running into RRC defect BadRequestException on uploaded artifacts in folders with assigned Team Area (88060), which has been included for delivery in version 5.0.2 (not yet released). I had suspected this once I saw the following statement from the query in your log file, but Hakan was much faster looking up the defect reference :-)


Mike Jaworski

Comments
Ahmed Omair commented Jun 02 '14, 10:17 a.m. | edited Jun 02 '14, 10:40 a.m.

This is strange. I have two occurrences of CLM 4.0.5 one in development and the other one in production. I have exactly similar folder structure and assigned team areas. I only get this error in production environment.


Mike Jaworski commented Jun 02 '14, 10:47 a.m.
JAZZ DEVELOPER

Ahmed,


I would manually check to make sure that ALL of your subfolders, along with the folder to which you are uploading the artifact, have exactly the same team area configuration in both environments. Also, I would make sure that you are uploading to the same folder in both environments, as this would definitely cause different behavior.

Mike

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.