question

Ta-Dah Apps avatar image
Ta-Dah Apps asked

Error parsing offset when using Amazon App Tester

I have just updated an App to use version 2.0 of In-app billing API and have noticed an odd error when using the testing App. There is an error showing in the log as detailed below. It would appear that the App is working as expected but obviously one would prefer not to see this error. The JSON file used by the Amazon App Tester has been downloaded from the market so should be in the corrector format. I have removed the previous version of the SDK Tester. Any help much appreciated. 10-06 13:37:39.046: I/c(25047): sendGetPurchaseUpdates with user idl3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU= 10-06 13:37:39.046: I/c(25047): send PurchaseUpdates with user id:l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=;reset flag:true, local cursor:1412592975000, parsed from old requestId:GET_USER_ID_FOR_PURCHASE_UPDATES_PREFIX:1:b7984e81-5cd5-4eea-820f-179097555ff8 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): Error parsing offset: 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): java.lang.NumberFormatException: Invalid long: "" 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at java.lang.Long.invalidLong(Long.java:125) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at java.lang.Long.parseLong(Long.java:346) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at java.lang.Long.parseLong(Long.java:319) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at com.amazon.sdktestclient.iap.command.PurchaseUpdatesCommandHandler.parseOffset(PurchaseUpdatesCommandHandler.java:122) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at com.amazon.sdktestclient.iap.command.PurchaseUpdatesCommandHandler.executeRequest(PurchaseUpdatesCommandHandler.java:49) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at com.amazon.sdktestclient.iap.command.IapCommandHandler.execute(IapCommandHandler.java:59) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at com.amazon.sdktestclient.command.CommandBroker.onHandleIntent(CommandBroker.java:30) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at android.os.Looper.loop(Looper.java:175) 10-06 13:37:39.054: W/AmazonAppTester/PurchaseUpdatesCommandHandler(1992): at android.os.HandlerThread.run(HandlerThread.java:60) 10-06 13:37:39.054: D/c(25047): In App Purchasing SDK - Sandbox Mode: handleResponse [b][/b][b][/b][b][/b]
iap
10 |5000

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

1 Answer

Amelia@Amazon avatar image
Amelia@Amazon answered
Hello Ta-Dah Apps, In order to investigate this issue further we will need specific information about which app and IAP in your account is causing this problem. To protect the personal information of developers, we do not discuss the details of specific applications on these discussion forums. Please reach out to us via our Contact Us form ( https://developer.amazon.com/help/contactus.html ). This will allow us to validate your identity and discuss app specific information in a context that will not expose your personal and proprietary information.
10 |5000

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