java.io.IOException: Server returned HTTP response code: 400 for URL: http://api.justrechargeit.com/JRICorporateLogin.svc/CorporateLoginAPI

  1. 0

    Spring MVC HttPUrlConnection returning error 400 Bad request while On Rest Client it is working

    Stack Overflow | 4 months ago | Hromit Prodigy
    java.io.IOException: Server returned HTTP response code: 400 for URL: http://api.justrechargeit.com/JRICorporateLogin.svc/CorporateLoginAPI
  2. 0

    java.io.IOException: Server returned HTTP response code: 403 for URL: http://start.spring.io

    Stack Overflow | 11 months ago | SyntaX
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://start.spring.io
  3. 0

    Hello can't add decks

    GitHub | 2 years ago | Tibygod
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://hearthstats.net/api/v1/users/premium?userkey=your_userkey_here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Still crashes with Java 7 (Log included)

    GitHub | 2 years ago | unknownminecrafter1
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.technicpack.net/api/news/
  6. 0

    In Java to use tika... how to resolve 'java.io.IOException'

    Stack Overflow | 2 years ago | nmodi
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://translate.google.com/

  1. tyson925 571 times, last 3 weeks ago
  2. jedcua 2 times, last 4 months ago
  3. thiago.santos 2 times, last 4 months ago
  4. kkandda 4 times, last 6 months ago
  5. hari haran 1 times, last 7 months ago
2 more registered users
40 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Server returned HTTP response code: 400 for URL: http://api.justrechargeit.com/JRICorporateLogin.svc/CorporateLoginAPI

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    2. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2 frames
  3. com.hdp.poc
    HomeController.launchServices
    1. com.hdp.poc.DoRecharge.doRecharge(DoRecharge.java:112)
    2. com.hdp.poc.HomeController.launchServices(HomeController.java:138)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. Spring
    InvocableHandlerMethod.invokeForRequest
    1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
    2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
    2 frames
  6. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
    2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781)
    3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721)
    4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
    8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
    8 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
    1 frame
  8. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
    1 frame
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  11. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  12. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
    10 frames
  13. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
    4 frames
  14. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  15. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame