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

java.lang.NullPointerException Using ChatView in Fragment #64

Closed
maherzaidoune opened this issue Nov 14, 2017 · 3 comments
Closed

java.lang.NullPointerException Using ChatView in Fragment #64

maherzaidoune opened this issue Nov 14, 2017 · 3 comments

Comments

@maherzaidoune
Copy link

i got NullPointer Exception when i try to write a 2nd message using Chat view on Fragment
this is my Logcat

FATAL EXCEPTION: main
Process: rrdl.crt, PID: 1636
java.lang.NullPointerException
at com.github.bassaer.chatmessageview.views.adapters.MessageAdapter.getView(MessageAdapter.java:350)
at android.widget.AbsListView.obtainView(AbsListView.java:2338)
at android.widget.ListView.makeAndAddView(ListView.java:1812)
at android.widget.ListView.fillDown(ListView.java:698)
at android.widget.ListView.fillGap(ListView.java:662)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5529)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4596)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
at android.view.Choreographer.doCallbacks(Choreographer.java:591)
at android.view.Choreographer.doFrame(Choreographer.java:559)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:831)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647)
at dalvik.system.NativeStart.main(Native Method)

@maherzaidoune
Copy link
Author

maherzaidoune commented Nov 14, 2017

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextSize(int, float)' on a null object reference

@bassaer bassaer mentioned this issue Nov 14, 2017
@bassaer
Copy link
Owner

bassaer commented Nov 14, 2017

@maherzaidoune
please update version 1.5.3
Thanks

@maherzaidoune
Copy link
Author

thank you it's working fine now

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