You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
at linc.com.amplituda.FileManager.(SourceFile:19)
at linc.com.amplituda.Amplituda.(SourceFile:6)
Describe the bug
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
at linc.com.amplituda.FileManager.(SourceFile:19)
at linc.com.amplituda.Amplituda.(SourceFile:6)
To Reproduce
This happens in some devices
FileManager(final Context context) {
resources = context.getResources();
cache = context.getExternalCacheDir()
.getPath() + File.separator;
}
context.getExternalCacheDir() returns
null
Expected behavior
no crash happens
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: