onepf / OpenIAB

Open In-App Billing for Google Play, SlideMe, Amazon Store, Nokia Store, Samsung Apps, Yandex.Store, Appland, Aptoide, AppMall and Fortumo.
http://onepf.org/openiab/
Apache License 2.0
476 stars 171 forks source link

Crash when cancel Yandex buying dialog #526

Open NelepovDmitry opened 8 years ago

NelepovDmitry commented 8 years ago

04-14 06:27:06.122 3874-3874/com.myawesomeapp D/OpenIAB: Ending async operation: 04-14 06:27:06.122 3874-3874/com.myawesomeapp D/OpenIAB: Purchase canceled - Response: 1:User Canceled 04-14 06:27:06.212 3874-6847/com.myawesomeapp E/AndroidRuntime: FATAL EXCEPTION: Thread-2940 Process: com.myawesomeapp, PID: 3874 java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object org.onepf.oms.appstore.googleUtils.Purchase.clone()' on a null object reference at org.onepf.oms.OpenIabHelper.consume(OpenIabHelper.java:1451) at org.onepf.oms.OpenIabHelper$18.run(OpenIabHelper.java:1482) at java.lang.Thread.run(Thread.java:818) 04-14 06:27:06.738 3874-3874/com.myawesomeapp D/OpenIAB: Disposing. 04-14 06:27:06.738 3874-3874/com.myawesomeapp D/OpenIAB: Disposing. 04-14 06:27:06.738 3874-3874/com.myawesomeapp D/OpenIAB: Unbinding from service.