question

bcstampsuk avatar image
0 Likes"
bcstampsuk asked

UploadSiteHostedPictures Tomcat 500 error

I've posted on another thread on the SDK board where someone else appeared to have the same problem but got no response and now have a little bit more information. With increasing frequency I am getting uncaught Tomcat 500 errors from my calls to UploadSiteHostedPictures (I originally thought it was AddItem call crashing). A few months ago this was happening very occasionally, now its maybe one in 30 times - very annoying. Rather than an XML response I receive the error below. Retrying the call works, it appears to happen at random. Let me know what further information you need. The error message states that further information is in your server Tomcat logs. And please let me know if you aren't able to fix this in a short timescale - I can make changes to my code to catch your 500 error and retry the call. Iain System.InvalidOperationException: Client found response content type of 'text/html;charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- HTTP Status 500 type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception
java.lang.NullPointerException
	com.ebay.security.SensitiveParametersConfigBean.isSensitiveParameter(SensitiveParametersConfigBean.java:138)
	com.ebay.kernel.util.MaskUrl.getMaskedUrl(MaskUrl.java:55)
	com.ebay.af.common.request.RequestInfo.
 
  (RequestInfo.java:32)
	com.ebay.app.pres.service.hosting.soap.presentation.http.EBayAxisServlet.buildRequestInfo(EBayAxisServlet.java:1155)
	com.ebay.app.pres.service.hosting.soap.presentation.http.EBayAxisServlet.setupContext(EBayAxisServlet.java:869)
	com.ebay.app.pres.service.hosting.soap.presentation.http.EBayAxisServlet.process(EBayAxisServlet.java:373)
	com.ebay.app.pres.service.hosting.soap.presentation.http.EBayAxisServlet.doPost(EBayAxisServlet.java:283)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
	org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	com.ebay.af.pres.web.filter.WebAppFireMarshalFilter.dispatch(WebAppFireMarshalFilter.java:190)
	com.ebay.af.pres.web.filter.WebAppFireMarshalFilter.doFilter(WebAppFireMarshalFilter.java:99)

 
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15-150 logs. Apache Tomcat/5.5.15-150 --. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at StampLibrary.eBayService.eBayAPIInterfaceService.UploadSiteHostedPictures(UploadSiteHostedPicturesRequestType UploadSiteHostedPicturesRequest)
buguploadsitehostedpicturesrequest500bug 500 error
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
bcstampsuk avatar image
0 Likes"
bcstampsuk answered
Is this the right or wrong place to be reporting API bugs? This is still happening with increased frequency. Exactly the same Tomcat 500 crash again at 15/06/2016 20:11 GMT, The message says there are detailed logs on the crash on your Tomcat logs, but let me know if you need anything else. If you aren't able to fix this please let me know and I'll catch your error and retry, Thanks, Iain
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.