Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NullPointerException in transaction() on iOS roboVM

See original GitHub issue

Issue details, reproduction steps/code

The game crashes during startup on a few devices. There’s no pattern of whether certain versions of iOS or devices are impacted.

Version of gdx-pay and/or relevant dependencies

    gdxVersion = '1.9.11'
    roboVMVersion = '2.3.10-SNAPSHOT'
    gdxPayVersion = '1.2.0'
    robopodsVersion = '2.2.3'


	at Method)
	at my.package.IOSLauncher.main(

Please select the affected platforms and payment service implementation

  • Amazon
  • googlebilling
  • googlepay
  • apple iosmoe
  • apple robovm

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

LobbyDivinuscommented, Jul 30, 2020

Even more interesting is the fact that I know from at least one person with that issue that did not do any purchases. The crash happened after downloading the app for the first time.

I will test whether considering getTransactionDate() returning null as invalid transaction does the trick.

Stumbled across this related issue:

MrStahlfelgecommented, Aug 28, 2020

Closed because seems not to occur for other people. Please comment on this issue otherwise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to start RoboVM iOS in IntelliJ due to ... - GitHub
Issue details I'm unable to launch a RoboVM iOS configuration. ... NullPointerException at org.robovm.idea.running.RoboVmRunProfileState.
Read more >
MobiVM/robovm - Gitter
AS work around I would try adding following code in AppDelegate: SKProductsRequestDelegateAdapter workaround = new SKPaymentTransactionObserverAdapter() { @ ...
Read more >
Java. java.lang.NullPointerException in Transaction
I have never used TRANSACTIONS in JAVA. I found some example and tryed to my task base on that. I get NullPointerExeption. This...
Read more >
How to Fix and Avoid NullPointerException in Java - Rollbar
NullPointerException in Java occurs when a variable is accessed which is not pointing to any object and refers to nothing or null.
Read more > java code examples
Best Java code snippets using ... transactionReceipt appears broken (was deprecated starting iOS 7.0).", e);. origin: robovm/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found