Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via GitHub by bsutton
, 1 year ago
This exception has no message.
via Coderanch by Super Tigre, 1 year ago
via Coderanch by A. Aka, 1 year ago
via Apache Bugzilla by michael.isvy, 1 year ago
This exception has no message.
via GitHub by anfe0690
, 1 year ago
This exception has no message.
via GitHub by anfe0690
, 11 months ago
This exception has no message.
java.io.IOException: Server returned HTTP response code: 400 for URL: https://graph.facebook.com/100001545091818_180072978720871/likes	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)	at org.springframework.http.client.SimpleClientHttpResponse.getBody(SimpleClientHttpResponse.java:77)	at org.springframework.social.support.BufferingClientHttpResponse.getBody(BufferingClientHttpResponse.java:58)	at org.springframework.social.facebook.api.impl.FacebookErrorHandler.hasError(FacebookErrorHandler.java:65)	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:439)	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:415)	at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:294)	at org.springframework.social.facebook.api.impl.FacebookTemplate.post(FacebookTemplate.java:216)	at org.springframework.social.facebook.api.impl.LikeTemplate.like(LikeTemplate.java:38)	at com.social.controller.FacebookConnectController.getPost(FacebookConnectController.java:128)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	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.doPost(FrameworkServlet.java:560)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:619)