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

点击一个应用的日志,自己闪退 #1

Open
liyufan opened this issue Aug 16, 2017 · 0 comments
Open

点击一个应用的日志,自己闪退 #1

liyufan opened this issue Aug 16, 2017 · 0 comments

Comments

@liyufan
Copy link

liyufan commented Aug 16, 2017

FATAL EXCEPTION: main
 Process: com.alcatraz.fclogcat, PID: 27729
 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alcatraz.fclogcat/com.alcatraz.fclogcat.LogViewer}: java.lang.NullPointerException
 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2767)
 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2853)
 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1557)
 	at android.os.Handler.dispatchMessage(Handler.java:102)
 	at android.os.Looper.loop(Looper.java:154)
 	at android.app.ActivityThread.main(ActivityThread.java:6369)
 	at java.lang.reflect.Method.invoke(Native Method)
 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
 Caused by: java.lang.NullPointerException
 	at java.io.File.<init>(File.java:262)
 	at com.alcatraz.fclogcat.LogViewer.initViews(LogViewer.java:237)
 	at com.alcatraz.fclogcat.LogViewer.onCreate(LogViewer.java:59)
 	at android.app.Activity.performCreate(Activity.java:6760)
 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2720)
 	... 9 more
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

1 participant