Error in my Android studio


i need help please.

i got an error…


from that above line


The exception is being thrown in setFullname, and the offending line seems to be at line 191. I’m not sure why it’s line 191 in the editor and line 198 in logcat.

Apparently, the view with ID post_user_name is a LinearLayout, so casting it to a TextView is causing an exception. Check your XML and make sure that there is only one view with that ID, and that it is a TextView (or a subclass of TextView).