Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

NPE in IabHelper in v. 0.9.8.7 #535

Open
nkuznetsow opened this issue Feb 19, 2017 · 0 comments
Open

NPE in IabHelper in v. 0.9.8.7 #535

nkuznetsow opened this issue Feb 19, 2017 · 0 comments

Comments

@nkuznetsow
Copy link

I use OpenIAB v. 0.9.8.7 from this https://mvnrepository.com/artifact/org.onepf/openiab/0.9.8.7
In Fabric I have seen many crashes like this:

Fatal Exception: java.lang.NullPointerException
       at org.onepf.oms.appstore.googleUtils.IabHelper$1.onServiceConnected(IabHelper.java:248)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1097)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1114)
       at android.os.Handler.handleCallback(Handler.java:615)
       at android.os.Handler.dispatchMessage(Handler.java:92)
       at android.os.Looper.loop(Looper.java:153)
       at android.app.ActivityThread.main(ActivityThread.java:5070)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:511)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
       at dalvik.system.NativeStart.main(NativeStart.java)

The last version of IabHelper class in master branch I unable to find onServiceConnected method body on line 248. I think, that this class was rewrote. If it true, please, release the new version of the lib to fix this crach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant