Answer the question
In order to leave comments, you need to log in
Building sdk yandex money with ProGuard?
When using ProGuard in a project build, an exception occurs when the payment activity starts
Exception java.lang.InternalError:
rx.internal.util.unsafe.UnsafeAccess.isUnsafeAvailable (UnsafeAccess.java)
null.addressOf (UnsafeAccess.java)
rx.internal.util.unsafe.MpmcArrayQueueProducerField. (MpmcArrayQueueProducerField.java)
rx.internal.util.ObjectPool.returnObject (ObjectPool.java)
null.start (ObjectPool.java)
null.initialize (ObjectPool.java)
rx.internal.util.ObjectPool. (ObjectPool.java)
rx.internal.util.ObjectPool. (ObjectPool.java)
rx.internal.util.RxRingBuffer$1. (RxRingBuffer.java)
rx.internal.util.RxRingBuffer. (RxRingBuffer.java)
rx.Observable.create (Observable.java)
null.lift (Observable.java)
null.fromCallable (Observable.java)
null.observeOn (Observable.java)
null.subscribe (Observable.java)
null.unsafeSubscribe (Observable.java)
null.subscribe (Observable.java)
ru.yandex.money.android.PaymentActivity.getBuilder (PaymentActivity.java)
null.getCards (PaymentActivity.java)
null.showWeb (PaymentActivity.java)
null.showError (PaymentActivity.java)
null.showSuccess (PaymentActivity.java)
null.performPaymentOperation (PaymentActivity.java)
null.performOperation (PaymentActivity.java)
null.onExternalPaymentReceived (PaymentActivity.java)
null.onExternalPaymentProcessed (PaymentActivity.java)
null.replaceFragment (PaymentActivity.java)
null.lambda$initPaymentProcess$4 (PaymentActivity.java)
null.lambda$performOperation$2 (PaymentActivity.java)
null.lambda$performOperation$1 (PaymentActivity.java)
null.lambda$performPaymentOperation$0 (PaymentActivity.java)
null.access$000 (PaymentActivity.java)
null.access$lambda$0 (PaymentActivity.java)
null.access$lambda$1 (PaymentActivity.java)
null.access$lambda$2 (PaymentActivity.java)
null.access$lambda$3 (PaymentActivity.java)
null.access$lambda$4 (PaymentActivity.java)
ru.yandex.money.android.PaymentActivity.initPaymentProcess (PaymentActivity.java)
ru.yandex.money.android.PaymentActivity.onCreate (PaymentActivity.java)
android.app.Activity.performCreate (Activity.java:6092)
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1112)
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2481)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2608)
android.app.ActivityThread.access$800 (ActivityThread.java:178)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1470)
android.os.Handler.dispatchMessage (Handler.java:111)
android.os.Looper.loop (Looper.java:194)
android.app.ActivityThread.main (ActivityThread.java:5637)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:959)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:754)
arrow_drop_down
Caused by java.lang.NoSuchFieldException: producerIndex
java.lang.Class.getDeclaredField (Class.java:890)
rx.internal.util.unsafe.UnsafeAccess.isUnsafeAvailable (UnsafeAccess.java)
null.addressOf (UnsafeAccess.java)
rx.internal.util.unsafe.MpmcArrayQueueProducerField. (MpmcArrayQueueProducerField.java)
rx.internal.util.ObjectPool.returnObject (ObjectPool.java)
null.start (ObjectPool.java)
null.initialize (ObjectPool.java)
rx.internal.util.ObjectPool. (ObjectPool.java)
rx.internal.util.ObjectPool. (ObjectPool.java)
rx.internal.util.RxRingBuffer$1. (RxRingBuffer.java)
rx.internal.util.RxRingBuffer. (RxRingBuffer.java)
rx.Observable.create (Observable.java)
null.lift (Observable.java)
null.fromCallable (Observable.java)
null.observeOn (Observable.java)
null.subscribe (Observable.java)
null.unsafeSubscribe (Observable.java)
null.subscribe (Observable.java)
ru.yandex.money.android.PaymentActivity.getBuilder (PaymentActivity.java)
null.getCards (PaymentActivity.java)
null.showWeb (PaymentActivity.java)
null.showError (PaymentActivity.java)
null.showSuccess (PaymentActivity.java)
null.performPaymentOperation (PaymentActivity.java)
null.performOperation (PaymentActivity.java)
null.onExternalPaymentReceived (PaymentActivity.java)
null.onExternalPaymentProcessed (PaymentActivity.java)
null.replaceFragment (PaymentActivity.java)
null.lambda$initPaymentProcess$4 (PaymentActivity.java)
null.lambda$performOperation$2 (PaymentActivity.java)
null.lambda$performOperation$1 (PaymentActivity.java)
null.lambda$performPaymentOperation$0 (PaymentActivity.java)
null.access$000 (PaymentActivity.java)
null.access$lambda$0 (PaymentActivity.java)
null.access$lambda$1 (PaymentActivity.java)
null.access$lambda$2 (PaymentActivity.java)
null.access$lambda$3 (PaymentActivity.java)
null.access$lambda$4 (PaymentActivity.java)
ru.yandex.money.android.PaymentActivity.initPaymentProcess (PaymentActivity.java)
ru.yandex.money.android.PaymentActivity.onCreate (PaymentActivity.java)
android.app.Activity.performCreate (Activity.java:6092)
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1112)
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2481)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2608)
android.app.ActivityThread.access$800 (ActivityThread.java:178)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1470)
android.os.Handler.dispatchMessage (Handler.java:111)
android.os.Looper.loop (Looper.java:194)
android.app.ActivityThread.main (ActivityThread.java:5637)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:959)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:754)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question