Page MenuHomeGitPull.it

Fix crash on ActivityPrincipal.java:375 version 1.15.4
Closed, InvalidPublic

Description

Dear Developers,
Please triage this crash:

version code:
35

version name:
1.15.4

android version:
8.0.0

phone:
SM-G930F

brand:
samsung

stack:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.view.View.getResources()' on a null object reference
	at com.google.android.material.snackbar.Snackbar.make(Snackbar.java:262)
	at it.reyboz.bustorino.ActivityPrincipal.createDefaultSnackbar(ActivityPrincipal.java:375)
	at it.reyboz.bustorino.ActivityPrincipal.lambda$onCreate$0$ActivityPrincipal(ActivityPrincipal.java:201)
	at it.reyboz.bustorino.-$$Lambda$ActivityPrincipal$TdWUugMGicztTPuKtn3CSdW_2Ro.onChanged(Unknown Source:4)
	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.MutableLiveData.setValue(MutableLiveData.java:50)
	at androidx.lifecycle.LiveData$1.run(LiveData.java:93)
	at android.os.Handler.handleCallback(Handler.java:789)
	at android.os.Handler.dispatchMessage(Handler.java:98)
	at android.os.Looper.loop(Looper.java:164)
	at android.app.ActivityThread.main(ActivityThread.java:6944)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

Thank you! :)

By @fabio.mazza

asd

Generated with https://lab.reyboz.it/libre-busto/crash-report/ (P15)