Question by lordgun · Jan 27, 2016 at 09:47 AM · getsellertransactionsJava.net api
System.Null reference exception while calling GetSellerTransactions Api
Hello...in my eBay .Net client application, I need to call the GetSellerTransactions many times per day as required to avoid re-uploading duplicated content (especially listing images, which are the most expensive to upload). We are lately experiencing some exceptions of this type (this is the internal log of the eBay sdk library):
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.<init>(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
For your further information, we perform batches of 30 listings per call, until the whole set is returned (the former figure was 200 listings per call and the exception was by far more frequent, so we tried to lower the size of the single batch). To my understanding, there is a chance that one of the load-balanced servers that are serving this particular Api call is in a faulted state, but this is just a guess from the excpetion evidence. Please find the time to have a look at the problem since it is proving quite annoying for us, because our client app is continuously reporting exceptions and when this happens the listing upload procedure cannot proceed cleanly. Thank you very much in advance. The Lordgun ebay store staff-
Answer by devanathan.developersupport@ebay.com · Feb 05, 2016 at 10:20 AM
Hello lordgun,
I could not re-produce the error using my test account.
There is a chance that your request has timed out due to high volume data in the response.
Please reduce the . field value and iterate the call with smaller time range in the ModTime filter.
Here a knowledge base article on Best Practices for GetSellerTransactions.
Link: https://ebaydts.com/eBayKBDetails?KBid=222
Title: Best Practices for GetSellerEvents and GetSellerTransactions
Regards,
Devanathan.
eBay Developer Technical Support
People who like this
Your answer
