jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umesh prajapati <praumes...@gmail.com>
Subject GEtting a 'I/O Error: Stream Closed" with REST API
Date Fri, 02 Aug 2013 14:54:21 GMT
org.springframework.web.client.ResourceAccessException.I/O error: Stream
closed; nested exception is java.io.IOException: Stream closed
      at
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:453)
      at
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
      at
org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:221)
      at
com.pearson.ltg.cat.service.ClassProductService.getClassProductAssociation(ClassProductService.java:150)
      at
com.pearson.ltg.cat.controller.CATController.dashboard(CATController.java:78)
      at sun.reflect.GeneratedMethodAccessor812.invoke(Unknown Source)
      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
      at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
      at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException : java.io.IOException: Stream closed
      at
java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
      at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
      at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
      at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
      at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      at
org.springframework.http.client.CommonsClientHttpRequest.executeInternal(CommonsClientHttpRequest.java:83)
      at
org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:52)
      at
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:438)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message