TaskThread$WrappingRunnable.run() has thrown a HttpClientErrorException

org.springframework.web.client.HttpClientErrorException
Javadoc
Exception thrown when an HTTP 4xx is received. @author Arjen Poutsma @since 3.0 @see DefaultResponseErrorHandler
at org.springframework.web.client.DefaultResponseErrorHandler.handleError
(source)
at org.springframework.web.client.RestTemplate.handleResponse
(source)
at org.springframework.web.client.RestTemplate.doExecute
(source)
at org.springframework.web.client.RestTemplate.execute
(source)
at org.springframework.web.client.RestTemplate.postForEntity
(source)
at org.nrg.mail.services.impl.RestBasedMailServiceImpl.sendMessage
at org.nrg.pipeline.utils.MailUtils.send
at org.nrg.pipeline.utils.MailUtils.send
at org.nrg.pipeline.client.XNATPipelineLauncher.composeFailureMessage
at org.nrg.pipeline.client.XNATPipelineLauncher.fail
at org.nrg.pipeline.client.XNATPipelineLauncher.run
at org.nrg.pipeline.XnatPipelineLauncher.launchInProcessPipelineExecution
at org.nrg.pipeline.XnatPipelineLauncher.launch
at org.nrg.pipeline.XnatPipelineLauncher.launch
at org.nrg.xnat.turbine.modules.actions.ManagePipeline.doLaunchpipeline
at sun.reflect.NativeMethodAccessorImpl.invoke0
(source)
at sun.reflect.NativeMethodAccessorImpl.invoke
(source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.apache.turbine.util.velocity.VelocityActionEvent.executeEvents
at org.apache.turbine.util.velocity.VelocityActionEvent.perform
at org.apache.turbine.modules.actions.VelocityAction.perform
at org.apache.turbine.modules.actions.VelocitySecureAction.perform
at org.apache.turbine.modules.ActionLoader.exec
at org.apache.turbine.modules.pages.DefaultPage.doBuild
at org.apache.turbine.modules.Page.build
at org.apache.turbine.modules.PageLoader.exec
at org.apache.turbine.Turbine.doGet
at org.apache.turbine.Turbine.doPost
at javax.servlet.http.HttpServlet.service
(source)
at javax.servlet.http.HttpServlet.service
(source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.apache.tomcat.websocket.server.WsFilter.doFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at net.bull.javamelody.MonitoringFilter.doFilter
at net.bull.javamelody.MonitoringFilter.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.nrg.xnat.restlet.util.UpdateExpirationCookie.doFilter
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke
(source)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.session.SessionManagementFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.nrg.xnat.security.XnatInitCheckFilter.doFilter
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.nrg.xnat.security.XnatBasicAuthenticationFilter.doFilterInternal
at org.springframework.web.filter.OncePerRequestFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal
(source)
at org.springframework.web.filter.OncePerRequestFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal
(source)
at org.springframework.web.filter.OncePerRequestFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.nrg.xnat.security.XnatExpiredPasswordFilter.doFilter
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter
(source)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter
(source)
at org.springframework.security.web.FilterChainProxy.doFilterInternal
(source)
at org.springframework.security.web.FilterChainProxy.doFilter
(source)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate
(source)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(source)
at org.apache.catalina.core.StandardWrapperValve.invoke
(source)
at org.apache.catalina.core.StandardContextValve.invoke
(source)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(source)
at org.apache.catalina.core.StandardHostValve.invoke
(source)
at org.apache.catalina.valves.ErrorReportValve.invoke
(source)
at org.apache.catalina.valves.AccessLogValve.invoke
at org.apache.catalina.core.StandardEngineValve.invoke
(source)
at org.apache.catalina.connector.CoyoteAdapter.service
(source)
at org.apache.coyote.http11.AbstractHttp11Processor.process
(source)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process
(source)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run
(source)
at java.util.concurrent.ThreadPoolExecutor.runWorker
(source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run
(source)
99 frames hidden

Typical Exception Messages

  1. 401 Unauthorized

Origin

RestTemplate.postForEntity() has thrown a HttpClientErrorException

org.springframework.web.client.HttpClientErrorException
4 frames hidden
org.springframework.web.client.RestTemplate.postForEntity
11Web pages

Similar

External results for this pattern (1)