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.NullPointerException #25

Open
vivian688 opened this issue Oct 20, 2023 · 2 comments
Open

java.lang.NullPointerException #25

vivian688 opened this issue Oct 20, 2023 · 2 comments
Labels
Support Please open a support ticket

Comments

@vivian688
Copy link

I saw a user using Android encounter this crash on the firebase console.
AppsFlyerSDK Version: 6.12.2
Rom: Infinix/X6826C-OP
Android Version: Android 12

1 java.lang.RuntimeException:java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
2 com.appsflyer.internal.AFa1wSDK.(:275)
3 ......
4 Caused by:
5 java.lang.NullPointerException:Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
6 java.io.DataInputStream.readFully(DataInputStream.java:203)
7 java.io.DataInputStream.readFully(DataInputStream.java:173)
8 java.lang.reflect.Method.invoke(Native Method)
9 com.appsflyer.internal.AFa1wSDK.(:2411)
10 com.appsflyer.internal.AFc1vSDK.AFKeystoreWrapper(:143)
11 com.appsflyer.internal.AFd1rSDK.AFKeystoreWrapper(:65)
12 com.appsflyer.internal.AFd1vSDK.values(:113)
13 com.appsflyer.internal.AFc1gSDK$1.run(:109)
14 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
15 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
16 java.lang.Thread.run(Thread.java:1012)

@pazlavi pazlavi added the Support Please open a support ticket label Oct 20, 2023
@github-actions
Copy link

👋 Hi @vivian688 and Thank you for reaching out to us.
In order for us to provide optimal support, please submit a ticket to our support team at [email protected].
When submitting the ticket, please specify:

  • ✅ your AppsFlyer sign-up (account) email
  • ✅ app ID
  • ✅ production steps
  • ✅ logs
  • ✅ code snippets
  • ✅ and any additional relevant information.

@vkomysh-vicman
Copy link

vkomysh-vicman commented Mar 11, 2024

Same crashes (from Crashlytics) on latest AppsFlyerSDK Version: 6.13.0 (on 6.12.4 worked fine)
All problem users have expired subscription.
I suppose the reason is the library com.appsflyer:purchase-connector:2.0.1

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
       at java.io.DataInputStream.readFully(DataInputStream.java:203)
       at java.io.DataInputStream.readFully(DataInputStream.java:173)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.appsflyer.internal.AFc1fSDK.<clinit>(:2189)
       at com.appsflyer.internal.AFg1zSDK.values(:170)
       at com.appsflyer.internal.AFf1pSDK.AFInAppEventType(:122)
       at com.appsflyer.internal.AFf1pSDK.valueOf(:82)
       at com.appsflyer.internal.AFf1tSDK.AFInAppEventParameterName(:25)
       at com.appsflyer.internal.AFe1dSDK$4.run(:111)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Please open a support ticket
Projects
None yet
Development

No branches or pull requests

3 participants