-
Notifications
You must be signed in to change notification settings - Fork 165
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 issue on version 4.2 #483
Comments
I strongly recommend to check |
I tried to find out more details about the error. I followed the next steps:
|
nothing changed here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue: I added the latest version: implementation 'com.github.matomo-org:matomo-sdk-android:4.2'
And when I go to the main activity I get this error:
FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at my.app..ui.MainActivity$$ExternalSyntheticLambda3.onChanged
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
at androidx.lifecycle.LiveData$1.run(LiveData.java:93)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
On an older version: 4.1.4 (works good), I don't get this error. What could be the problem? I looked in the code and I didn't find a problem of " 'int java.lang.Integer.intValue()' on a null object reference"
The text was updated successfully, but these errors were encountered: