Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: JDK8
-
Fix Version/s: Raspberry
-
Component/s: None
-
Labels:None
-
Environment:
QA2
-
Sprint:Sprint 8, Sprint 1
Description
Not able to create merchant using external api showing 404 error
Request:
{ "customerId": "APITESTING_JDK8_1", "comments": "Test account for JDK8 test", "contactEmail": "test@gmail.com", "contactPhoneNumber":"+81 3-3470-4614", "contactName": "QA1", "name": "QA2" }Response:
<html lang="en">
<head>
<meta content="HTML Tidy for Java (vers. 27 Sep 2004), see www.w3.org" name="generator"/>
<title>HTTP Status 500 Internal Server Error</title>
<style type="text/css">h1
h2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}h3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}body
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}b
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}p
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}a
a.name
.line
{height:1px;background-color:#525D76;border:none;}</style>
</head>
<body>
<h1>HTTP Status 500 Internal Server Error</h1>
<hr class="line"/>
<p>
<b>Type</b>
Exception Report
</p>
<p>
<b>Message</b>
404 null
</p>
<p>
<b>Description</b>
The server encountered an unexpected condition that prevented it from fulfilling the request.
</p>
<p>
<b>Exception</b>
</p>
<pre>org.springframework.web.client.HttpClientErrorException: 404 null
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91)
org.springframework.security.oauth2.provider.token.RemoteTokenServices$1.handleError(RemoteTokenServices.java:69)
org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700)
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653)
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:531)
org.springframework.security.oauth2.provider.token.RemoteTokenServices.postForMap(RemoteTokenServices.java:147)
org.springframework.security.oauth2.provider.token.RemoteTokenServices.loadAuthentication(RemoteTokenServices.java:106)
org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager.authenticate(OAuth2AuthenticationManager.java:83)
org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:150)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
com.admaxlocal.external.qos.JaxRsQosFilter.doFilter(JaxRsQosFilter.java:110)
com.admaxlocal.external.security.QosDelegatingFilter.doFilter(QosDelegatingFilter.java:38)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)</pre>
<p>
<b>Note</b>
The full stack trace of the root cause is available in the server logs.
</p>
<hr class="line"/>
<h3>Apache Tomcat/8.5.20</h3>
</body>
</html>