Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashing due to IllegalAccessError #163

Open
otto-25 opened this issue Dec 22, 2020 · 0 comments
Open

App crashing due to IllegalAccessError #163

otto-25 opened this issue Dec 22, 2020 · 0 comments
Labels

Comments

@otto-25
Copy link

otto-25 commented Dec 22, 2020

Note: The following crash is happening only when the app is downloaded from play store. If I generate a debug or release build (with proguard enabled/disabled) from my Android IDE, it works fine.
Seen this crash so far in Android 9 and 10.

I have implemented the OnSignedListener in a fragment. When I start signing, the app crashes with the following stack trace:

Fatal Exception: java.lang.IllegalAccessError: Illegal class access: 'com.github.gcacace.signaturepad.views.SignaturePad' attempting to access 'com.yulu.ops.yuzenapp.newYuzen.ui.prive.customerInfoPager.customerSignature.d' (declaration of 'com.github.gcacace.signaturepad.views.SignaturePad' appears in base.apk)
at com.github.gcacace.signaturepad.views.SignaturePad.onTouchEvent(SignaturePad.java:214)
at android.view.View.dispatchTouchEvent(View.java:14376)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3492)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:733)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1922)
at android.app.Activity.dispatchTouchEvent(Activity.java:4051)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:691)
at android.view.View.dispatchPointerEvent(View.java:14644)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6526)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6313)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5751)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5804)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5770)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5926)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5778)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5983)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5751)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5804)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5770)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5778)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5751)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8910)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8771)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8724)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9046)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:194)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:336)
at android.os.Looper.loop(Looper.java:197)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

@gcacace gcacace added the bug label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants