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 Oracle Community by Suchith Shivakumar, 1 year ago
Server returned HTTP response code: 500 for URL: http://localhost:8180/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
via Oracle Community by Crgf-Oracle, 1 year ago
Server returned HTTP response code: 401 for URL: http://10.180.58.138:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
via Oracle Community by 843836, 9 months ago
Server returned HTTP response code: 403 for URL: http://www.google.com/search?sitesearch=www.mysite.com&output=googleabout&submit=Search&q=foam
via Google Groups by Johann Petrak, 2 years ago
Server returned HTTP response code: 400 for URL: <URL>
via Google Groups by Patrick, 8 months ago
Server returned HTTP response code: 405 for URL: https://download.github.com/280north-browserjs-v0.1.1-7-gc5aa8cc.zip
via Stack Overflow by brelian
, 2 years ago
Server returned HTTP response code: 401 for URL: http://192.168.1.2:9095/postcode?wsdl
java.io.IOException: Server returned HTTP response code: 500 for URL:
http://localhost:8180/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)	at com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:130)	at org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)	at org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:71)	at org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:88)	at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:417)	at org.jasig.cas.web.flow.AuthenticationViaFormAction.submit(AuthenticationViaFormAction.java:107)	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.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:99)	at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:133)	at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:192)	at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:146)	at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:59)	at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:156)	at org.springframework.webflow.engine.State.enter(State.java:191)	at org.springframework.webflow.engine.Transition.execute(Transition.java:212)	at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)	at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)	at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)	at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:161)	at org.springframework.webflow.engine.State.enter(State.java:191)	at org.springframework.webflow.engine.Transition.execute(Transition.java:212)	at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)	at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)	at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)	at org.springframework.webflow.engine.impl.FlowExecutionImpl.signalEvent(FlowExecutionImpl.java:202)	at org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:222)	at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111)	at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.fatwire.cas.web.CASXSSFilter.doFilter(CASXSSFilter.java:64)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	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.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Thread.java:619)