We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
03-05 07:08:12.055: E/AndroidRuntime(12755): FATAL EXCEPTION: main 03-05 07:08:12.055: E/AndroidRuntime(12755): java.lang.NullPointerException 03-05 07:08:12.055: E/AndroidRuntime(12755): at com.codepath.caltraindating.fragments.ChatFragment.getUserImage(ChatFragment.java:379) 03-05 07:08:12.055: E/AndroidRuntime(12755): at com.codepath.caltraindating.fragments.ChatFragment.sendMessage(ChatFragment.java:247) 03-05 07:08:12.055: E/AndroidRuntime(12755): at com.codepath.caltraindating.fragments.ChatFragment.onClick(ChatFragment.java:226) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.view.View.performClick(View.java:4240) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.view.View$PerformClick.run(View.java:17721) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.os.Handler.handleCallback(Handler.java:730) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.os.Handler.dispatchMessage(Handler.java:92) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.os.Looper.loop(Looper.java:137) 03-05 07:08:12.055: E/AndroidRuntime(12755): at android.app.ActivityThread.main(ActivityThread.java:5103) 03-05 07:08:12.055: E/AndroidRuntime(12755): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 07:08:12.055: E/AndroidRuntime(12755): at java.lang.reflect.Method.invoke(Method.java:525) 03-05 07:08:12.055: E/AndroidRuntime(12755): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) 03-05 07:08:12.055: E/AndroidRuntime(12755): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 03-05 07:08:12.055: E/AndroidRuntime(12755): at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered:
The user is null here. This can happen before the user object gets retrieved from the network.
user
One fix is to make sure chat loads before allowing chat to be sent.
Sorry, something went wrong.
I can't actually reproduce this issue now.
No branches or pull requests
The text was updated successfully, but these errors were encountered: