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 Maroof Ahmad, 1 year ago
Server returned HTTP response code: 502 for URL: http://ittest:7779/reports/rwservlet?orientation=PORTRAIT&desformat=PDF&destype=cache&desname=RF07D10.pdf&server=repittest11&report_execution_mode=RUNTIME&P_DOCCOD=24&report_comm_mode=SYNCHRONOUS&P_COMCOD=5&report=H:\ami\RF07D10.rdf&userid=refmdba/refm11gtest@refm11g&P_DOCNO=945861&disposition=inline&P_DOCFYR=2013
via GitHub by ianibo
, 2 years ago
Server returned HTTP response code: 504 for URL: https://test-gokb.kuali.org/gokb/api/projectIngestProgress?projectID=323246&_=1460052804781
via JFrog JIRA by Ötzi, 1 year ago
Server returned HTTP response code: 500 for URL: https://samson.prov.bz/artifactory/repo/org/apache/maven/pl ugins/maven-site-plugin/maven-metadata.xml
via GitHub by fardog
, 2 years ago
Server returned HTTP response code: 502 for URL: https://updates.cursive-ide.com/exceptions
via smritituteja.in by Unknown author, 1 year ago
Server returned HTTP response code: 401 for URL:
via Oracle Community by 843798, 1 year ago
Server returned HTTP response code: 401 for URL: http://10.80.1.15/applets/rcb.jar
java.io.IOException: Server returned HTTP response code: 502 for URL: http://ittest:7779/reports/rwservlet?orientation=PORTRAIT&desformat=PDF&destype=cache&desname=RF07D10.pdf&server=repittest11&report_execution_mode=RUNTIME&P_DOCCOD=24&report_comm_mode=SYNCHRONOUS&P_COMCOD=5&report=H:\ami\RF07D10.rdf&userid=refmdba/refm11gtest@refm11g&P_DOCNO=945861&disposition=inline&P_DOCFYR=2013	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)	at amgdom.refm.view.managebean.authentication.UrIDownload.fileUrl(UrIDownload.java:34)	at amgdom.refm.view.managebean.authentication.UrIDownload.fileDownload(UrIDownload.java:64)	at amgdom.refm.view.managebean.collection.MakePayment2.callReport(MakePayment2.java:259)	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 com.sun.el.parser.AstValue.invoke(Unknown Source)	at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)	at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)	at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)	at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)	at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)	at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)	at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)	at java.security.AccessController.doPrivileged(Native Method)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)