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

A frequent crash on API 29 #92

Closed
yujiangtao668 opened this issue Nov 24, 2020 · 4 comments
Closed

A frequent crash on API 29 #92

yujiangtao668 opened this issue Nov 24, 2020 · 4 comments

Comments

@yujiangtao668
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.BufferedWriter.write(java.lang.String)' on a null object reference at com.elvishew.xlog.printer.file.FilePrinter$Writer.null a(null)(FilePrinter.java:2) at com.elvishew.xlog.printer.file.FilePrinter.null b(null)(FilePrinter.java:143) at com.elvishew.xlog.printer.file.FilePrinter$Worker.null run(null)(FilePrinter.java:18) at java.lang.Thread.null run(null)(Thread.java:919)
image

@elvishew
Copy link
Owner

@yujiangtao668 Can you tell what path do you save the logs into? Maybe there is something different in android 29, but need some further investigation.

@yujiangtao668
Copy link
Author

@elvishew sdcard/Android/data/com.xx.xxx/files/log/xx.txt This is the internal storage address of the phone, there should be no problem, right?

@yujiangtao668
Copy link
Author

image

@elvishew
Copy link
Owner

Track in #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants