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

java.lang.IllegalAccessException #464

Open
dnvarun opened this issue Apr 25, 2023 · 14 comments
Open

java.lang.IllegalAccessException #464

dnvarun opened this issue Apr 25, 2023 · 14 comments
Labels
native sdk bug Bug originating from the native SDK and not the plugin itself Platform: Android

Comments

@dnvarun
Copy link

dnvarun commented Apr 25, 2023

Report

Plugin Version

6.9.4

On what Platform are you having the issue?

android

What did you do?

Called appsFlyer.logEvent

What did you expect to happen?

Event to be logged successfully

What happened instead?

logEvent failed and called error callback with the following stack trace

Fatal Exception: java.lang.Error: java.lang.IllegalAccessException: Class java.lang.Class<java.lang.reflect.Method> cannot access protected  method java.lang.Class com.appsflyer.internal.AFa1zSDK$$.loadClass(java.lang.String, boolean) of class java.lang.Class<com.appsflyer.internal.AFa1zSDK$$>
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1168)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

Caused by java.lang.IllegalAccessException: Class java.lang.Class<java.lang.reflect.Method> cannot access protected  method java.lang.Class com.appsflyer.internal.AFa1zSDK$$.loadClass(java.lang.String, boolean) of class java.lang.Class<com.appsflyer.internal.AFa1zSDK$$>
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1zSDK$$.valueOf(:100)
       at com.appsflyer.internal.AFa1zSDK$$.AFKeystoreWrapper(:20)
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1wSDK.values(:125)
       at com.appsflyer.internal.AFc1vSDK.AFKeystoreWrapper(:143)
       at com.appsflyer.internal.AFd1rSDK.AFKeystoreWrapper(:65)
       at com.appsflyer.internal.AFd1vSDK.values(:113)
       at com.appsflyer.internal.AFc1gSDK$1.run(:109)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

Please provide any other relevant information.

Till now noticed this issue on Android 8.1.0

@amit-kremer93 amit-kremer93 added native sdk bug Bug originating from the native SDK and not the plugin itself Platform: Android labels May 4, 2023
@amit-kremer93
Copy link
Contributor

@dnvarun do you still see this exception?

@renanbronchart
Copy link

I have the same error, 5% of my users.

@renanbronchart
Copy link

Capture d’écran 2023-06-05 à 22 52 57

@renanbronchart
Copy link

renanbronchart commented Jun 7, 2023

@dnvarun do you still see this exception?

Yes this exception is still present on production and it's a dealbreaker because it's a fatal error for my customers.
Please can you help us on this exception?

@dnvarun
Copy link
Author

dnvarun commented Jun 9, 2023

@amit-kremer93 yes we still see it

@sregg
Copy link

sregg commented Jun 9, 2023

We're seeing this too.

@dnvarun
Copy link
Author

dnvarun commented Jul 12, 2023

Any update on this?

@lhreska
Copy link

lhreska commented Jul 21, 2023

AppsFlyerSDK/appsflyer-android-app#20 (comment)
seems that the fix will come at the next week

@aditya-keri-betterhalf
Copy link

@lhreska
That fix will come to Android SDK first.
But this react-native-appsflyer package is still at 6.10.3. It's lagging behind by 5 versions.

Can someone from the dev team please respond regarding a tentative timeline for this fix for react native ?

@amit-kremer93
Copy link
Contributor

@aditya-keri-betterhalf new version is going to be released in the next few days

@aditya-keri-betterhalf
Copy link

@amit-kremer93
Could you please confirm if this new version is going to be 6.12.2 ?
Because that's the one containing the fix for this issue.

@amit-kremer93
Copy link
Contributor

No. it contains 6.12.1

@aditya-keri-betterhalf
Copy link

@amit-kremer93
Thank you for replying again.
Any tentative timeline on releasing 6.12.2 so that we can get rid of this issue ?

@DevenHurt
Copy link

I'm having this issue as well. It looks like I can't upgrade to 6.12.2 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native sdk bug Bug originating from the native SDK and not the plugin itself Platform: Android
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants